mirror of
https://github.com/Sea-Haven-Industries/proposal-system.git
synced 2026-10-01 01:13:14 +00:00
17 lines
1,004 B
C#
17 lines
1,004 B
C#
|
|
using ProposalSystem.Application.DTOs;
|
||
|
|
|
||
|
|
namespace ProposalSystem.Application.Interfaces;
|
||
|
|
|
||
|
|
public interface IProposalService
|
||
|
|
{
|
||
|
|
Task<ProposalResponse> CreateAsync(CreateProposalRequest request, CancellationToken ct = default);
|
||
|
|
Task<ProposalResponse?> GetByIdAsync(Guid id, CancellationToken ct = default);
|
||
|
|
Task<PagedResponse<ProposalListResponse>> GetAllAsync(ProposalFilterRequest filter, CancellationToken ct = default);
|
||
|
|
Task<ProposalResponse> UpdateAsync(Guid id, UpdateProposalRequest request, CancellationToken ct = default);
|
||
|
|
Task<ProposalResponse> ApproveAsync(Guid id, CancellationToken ct = default);
|
||
|
|
Task<ProposalResponse> MarkSentAsync(Guid id, CancellationToken ct = default);
|
||
|
|
Task<ProposalResponse> ReviseAsync(Guid id, CancellationToken ct = default);
|
||
|
|
Task<IReadOnlyList<ProposalResponse>> GetRevisionHistoryAsync(Guid id, CancellationToken ct = default);
|
||
|
|
Task<IReadOnlyList<AuditLogResponse>> GetAuditTrailAsync(Guid id, CancellationToken ct = default);
|
||
|
|
}
|