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-31 11:58:22 -03:00
|
|
|
Task<WorkOrderMediaFileDto> AddMediaAsync(
|
|
|
|
|
int workOrderId,
|
|
|
|
|
WorkOrderMediaCategory? category,
|
|
|
|
|
string fileUrl,
|
|
|
|
|
string? actorId);
|
|
|
|
|
Task<WorkOrderMediaFileDto> UpdateMediaCategoryAsync(
|
|
|
|
|
int workOrderId,
|
|
|
|
|
int mediaId,
|
|
|
|
|
WorkOrderMediaCategory category,
|
|
|
|
|
string? actorId);
|
2026-07-13 13:13:00 -03:00
|
|
|
Task DeleteMediaAsync(int workOrderId, int mediaId, string? actorId);
|
|
|
|
|
}
|
|
|
|
|
}
|