mirror of
https://github.com/Sea-Haven-Industries/shoc-backend.git
synced 2026-10-02 16:43:20 +00:00
15 lines
767 B
C#
15 lines
767 B
C#
|
|
using System.Security.Claims;
|
||
|
|
using SeaHaven.Services.DTOs;
|
||
|
|
|
||
|
|
namespace SeaHaven.Services.Interfaces
|
||
|
|
{
|
||
|
|
public interface IUpliftService
|
||
|
|
{
|
||
|
|
Task<UpliftListResultDTO> ListAsync(ClaimsPrincipal user, string? status, int? tier, int page, int pageSize, CancellationToken cancellationToken);
|
||
|
|
Task<IEnumerable<UpliftForDispatchDTO>> ListForDispatchAsync(ClaimsPrincipal user, int dispatchId, CancellationToken cancellationToken);
|
||
|
|
Task<UpliftApproveResultDTO> ApproveAsync(ClaimsPrincipal user, int id, string? note, CancellationToken cancellationToken);
|
||
|
|
Task<UpliftDenyResultDTO> DenyAsync(ClaimsPrincipal user, int id, string? note, CancellationToken cancellationToken);
|
||
|
|
bool CanApprove(ClaimsPrincipal user, int tier);
|
||
|
|
}
|
||
|
|
}
|