2026-07-13 13:13:00 -03:00
|
|
|
using Data.SeaHavenIndustries.Enums;
|
|
|
|
|
using SeaHaven.Services.DTOs;
|
|
|
|
|
|
|
|
|
|
namespace SeaHaven.Services.Interfaces
|
|
|
|
|
{
|
|
|
|
|
public interface IWorkOrderMediaService
|
|
|
|
|
{
|
|
|
|
|
Task<IReadOnlyList<WorkOrderMediaFileDto>?> GetMediaAsync(int workOrderId);
|
2026-07-21 09:25:33 -03:00
|
|
|
Task EnsureCanAddMediaAsync(int workOrderId, WorkOrderMediaCategory category);
|
2026-07-13 13:13:00 -03:00
|
|
|
Task<WorkOrderMediaFileDto> AddMediaAsync(int workOrderId, WorkOrderMediaCategory category, string fileUrl, string? actorId);
|
|
|
|
|
Task DeleteMediaAsync(int workOrderId, int mediaId, string? actorId);
|
2026-07-21 09:25:33 -03:00
|
|
|
Task<string?> GetMediaStoredPathAsync(int workOrderId, int mediaId);
|
2026-07-13 13:13:00 -03:00
|
|
|
}
|
|
|
|
|
}
|