IAppUnitOfWork.cs
793 bytes
| 1 | using Base.Contracts; |
|---|---|
| 2 | |
| 3 | namespace App.Domain.Contracts; |
| 4 | |
| 5 | public interface IAppUnitOfWork : IUnitOfWork |
| 6 | { |
| 7 | ITripRepository Trips { get; } |
| 8 | IExpenseRepository Expenses { get; } |
| 9 | ITripParticipantRepository TripParticipants { get; } |
| 10 | ITripInvitationRepository TripInvitations { get; } |
| 11 | ISettlementPlanRepository SettlementPlans { get; } |
| 12 | ISettlementPaymentRepository SettlementPayments { get; } |
| 13 | ITripPollRepository TripPolls { get; } |
| 14 | ITripWishlistItemRepository TripWishlistItems { get; } |
| 15 | ISplitPresetRepository SplitPresets { get; } |
| 16 | IBudgetCategoryRepository BudgetCategories { get; } |
| 17 | IRefreshTokenRepository RefreshTokens { get; } |
| 18 | IUserRepository Users { get; } |
| 19 | IBaseRepository<TEntity> GetRepository<TEntity>() where TEntity : class, IBaseEntity; |
| 20 | } |
| 21 | |