mirror of
https://github.com/Sea-Haven-Industries/proposal-system.git
synced 2026-09-30 21:43:14 +00:00
12 lines
593 B
C#
12 lines
593 B
C#
|
|
using ProposalSystem.Application.DTOs;
|
||
|
|
|
||
|
|
namespace ProposalSystem.Application.Interfaces;
|
||
|
|
|
||
|
|
public interface ILineItemService
|
||
|
|
{
|
||
|
|
Task<IReadOnlyList<LineItemResponse>> GetByProposalIdAsync(Guid proposalId, CancellationToken ct = default);
|
||
|
|
Task<LineItemResponse> CreateAsync(Guid proposalId, CreateLineItemRequest request, CancellationToken ct = default);
|
||
|
|
Task<IReadOnlyList<LineItemResponse>> BulkUpdateAsync(Guid proposalId, BulkUpdateLineItemsRequest request, CancellationToken ct = default);
|
||
|
|
Task DeleteAsync(Guid proposalId, Guid lineItemId, CancellationToken ct = default);
|
||
|
|
}
|