mirror of
https://github.com/Sea-Haven-Industries/shoc-backend.git
synced 2026-10-07 16:19:07 +00:00
Add PATCH comment for author/Admin, return authorName, and resolve AssignTo audit values to user display names.
17 lines
615 B
C#
17 lines
615 B
C#
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);
|
|
Task<WorkOrderCommentDto> UpdateCommentAsync(
|
|
int workOrderId,
|
|
int commentId,
|
|
WorkOrderCommentCreateDto request,
|
|
string? actorId,
|
|
bool isAdmin);
|
|
}
|
|
}
|