shoc-backend/SeaHaven.Services/Interfaces/IWorkOrderMediaService.cs

15 lines
627 B
C#
Raw Normal View History

using Data.SeaHavenIndustries.Enums;
using SeaHaven.Services.DTOs;
namespace SeaHaven.Services.Interfaces
{
public interface IWorkOrderMediaService
{
Task<IReadOnlyList<WorkOrderMediaFileDto>?> GetMediaAsync(int workOrderId);
Task EnsureCanAddMediaAsync(int workOrderId, WorkOrderMediaCategory category);
Task<WorkOrderMediaFileDto> AddMediaAsync(int workOrderId, WorkOrderMediaCategory category, string fileUrl, string? actorId);
Task DeleteMediaAsync(int workOrderId, int mediaId, string? actorId);
Task<string?> GetMediaStoredPathAsync(int workOrderId, int mediaId);
}
}