ITripsUnitOfWork.cs
731 bytes
| 1 | using SplitApp.Modules.Trips.Domain.Entities; |
|---|---|
| 2 | using SplitApp.Shared.Kernel.Domain; |
| 3 | using SplitApp.Shared.Kernel.Persistence; |
| 4 | |
| 5 | namespace SplitApp.Modules.Trips.Application.Contracts; |
| 6 | |
| 7 | public interface ITripsUnitOfWork : IUnitOfWork |
| 8 | { |
| 9 | IBaseRepository<Trip> Trips { get; } |
| 10 | IBaseRepository<TripParticipant> Participants { get; } |
| 11 | IBaseRepository<TripInvitation> Invitations { get; } |
| 12 | IBaseRepository<BudgetCategory> BudgetCategories { get; } |
| 13 | IBaseRepository<TripPoll> Polls { get; } |
| 14 | IBaseRepository<TripPollOption> PollOptions { get; } |
| 15 | IBaseRepository<TripPollVote> PollVotes { get; } |
| 16 | IBaseRepository<TripWishlistItem> WishlistItems { get; } |
| 17 | IBaseRepository<TripWishlistVote> WishlistVotes { get; } |
| 18 | } |
| 19 | |