proposal-system/api/src/ProposalSystem.Application/Interfaces/ILineItemService.cs

12 lines
593 B
C#
Raw Normal View History

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);
}