mirror of
https://github.com/Sea-Haven-Industries/proposal-system.git
synced 2026-10-07 16:18:57 +00:00
12 lines
440 B
C#
12 lines
440 B
C#
|
|
using ProposalSystem.Domain.Entities;
|
||
|
|
|
||
|
|
namespace ProposalSystem.Application.Interfaces;
|
||
|
|
|
||
|
|
public interface IProposalRepository
|
||
|
|
{
|
||
|
|
Task<Proposal?> GetByIdAsync(Guid id, CancellationToken ct = default);
|
||
|
|
Task<IReadOnlyList<Proposal>> GetAllAsync(CancellationToken ct = default);
|
||
|
|
Task<Proposal> CreateAsync(Proposal proposal, CancellationToken ct = default);
|
||
|
|
Task UpdateAsync(Proposal proposal, CancellationToken ct = default);
|
||
|
|
}
|