proposal-system/api/src/ProposalSystem.Application/Interfaces/IProposalRepository.cs
Adam Moussa 0b055b3ad9 Initial scaffold: monorepo structure, CDK stacks, CI/CD, domain model
Phase 0 of proposal-system: complete project setup including:
- CDK infrastructure (3 stacks: foundation, compute, frontend)
- .NET 8 solution with Clean Architecture (Domain, Application, Infrastructure, Api)
- EF Core data model (PostgreSQL) with all entities
- Python Lambda placeholders (pdf-extract, pdf-generate, library-ingest)
- React 19 web frontend scaffold (Vite + MUI)
- React Native mobile placeholder
- Shared TypeScript API contracts
- GitHub Actions CI/CD (ci.yaml + deploy.yaml)
- OIDC deploy role (githubdeploy-proposal-system)
- Dependabot configuration
- Cognito User Pool with Google OAuth, PKCE clients, groups
2026-05-16 18:40:46 -04:00

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