mirror of
https://github.com/Sea-Haven-Industries/proposal-system.git
synced 2026-10-07 06:58:57 +00:00
16 lines
764 B
C#
16 lines
764 B
C#
|
|
using ProposalSystem.Application.DTOs;
|
||
|
|
|
||
|
|
namespace ProposalSystem.Application.Interfaces;
|
||
|
|
|
||
|
|
/// <summary>
|
||
|
|
/// PR5: Service interface for Pricing Library CRUD operations.
|
||
|
|
/// </summary>
|
||
|
|
public interface IPricingLibraryService
|
||
|
|
{
|
||
|
|
Task<PagedResponse<PricingLibraryItemResponse>> ListAsync(int page, int pageSize, CancellationToken ct = default);
|
||
|
|
Task<PricingLibraryItemResponse?> GetByIdAsync(Guid id, CancellationToken ct = default);
|
||
|
|
Task<PricingLibraryItemResponse> CreateAsync(CreatePricingLibraryItemRequest request, CancellationToken ct = default);
|
||
|
|
Task<PricingLibraryItemResponse?> UpdateAsync(Guid id, UpdatePricingLibraryItemRequest request, CancellationToken ct = default);
|
||
|
|
Task<bool> DeleteAsync(Guid id, CancellationToken ct = default);
|
||
|
|
}
|