Initial commit

This commit is contained in:
2026-04-23 21:38:24 -04:00
commit 63e12a9636
1762 changed files with 1672620 additions and 0 deletions
@@ -0,0 +1,31 @@
using Microsoft.AspNetCore.Http;
namespace PowderCoating.Application.Interfaces;
public interface ICompanyLogoService
{
/// <summary>
/// Save company logo to filesystem
/// </summary>
Task<(bool Success, string FilePath, string ErrorMessage)> SaveCompanyLogoAsync(IFormFile file, int companyId);
/// <summary>
/// Delete company logo from filesystem
/// </summary>
Task<(bool Success, string ErrorMessage)> DeleteCompanyLogoAsync(string filePath);
/// <summary>
/// Get company logo from filesystem
/// </summary>
Task<(bool Success, byte[] FileContent, string ContentType, string ErrorMessage)> GetCompanyLogoAsync(string filePath);
/// <summary>
/// Check if company logo exists
/// </summary>
Task<bool> CompanyLogoExistsAsync(string filePath);
/// <summary>
/// Get the expected logo path for a company
/// </summary>
string GetCompanyLogoPath(int companyId, string extension);
}