using Microsoft.AspNetCore.Http;
namespace PowderCoating.Application.Interfaces;
public interface IEquipmentManualService
{
///
/// Save equipment manual to filesystem
///
Task<(bool Success, string FilePath, string ErrorMessage)> SaveEquipmentManualAsync(IFormFile file, int companyId, int equipmentId);
///
/// Delete equipment manual from filesystem
///
Task<(bool Success, string ErrorMessage)> DeleteEquipmentManualAsync(string filePath);
///
/// Get equipment manual from filesystem
///
Task<(bool Success, byte[] FileContent, string ContentType, string ErrorMessage)> GetEquipmentManualAsync(string filePath);
///
/// Check if equipment manual exists
///
Task EquipmentManualExistsAsync(string filePath);
}