2026-07-13 13:13:00 -03:00
|
|
|
using Data.SeaHavenIndustries.Enums;
|
|
|
|
|
using SeaHaven.Services.DTOs;
|
|
|
|
|
|
|
|
|
|
namespace SeaHaven.Services.Interfaces
|
|
|
|
|
{
|
|
|
|
|
public interface IWorkOrderCommentService
|
|
|
|
|
{
|
|
|
|
|
Task<IReadOnlyList<WorkOrderCommentDto>?> GetCommentsAsync(int workOrderId);
|
|
|
|
|
Task<WorkOrderCommentDto> AddCommentAsync(int workOrderId, WorkOrderCommentCreateDto request, string? actorId, string? documentUrl = null);
|
2026-07-17 10:37:25 -03:00
|
|
|
Task<WorkOrderCommentDto> UpdateCommentAsync(
|
|
|
|
|
int workOrderId,
|
|
|
|
|
int commentId,
|
|
|
|
|
WorkOrderCommentCreateDto request,
|
|
|
|
|
string? actorId,
|
|
|
|
|
bool isAdmin);
|
2026-07-13 13:13:00 -03:00
|
|
|
}
|
|
|
|
|
}
|