public ProductRepository(TripAdvisorForEducationDbContext context)
     : base(context)
 {
 }
 public CompanyUserRepository(TripAdvisorForEducationDbContext context)
     : base(context)
 {
 }
 public AcademicsUserRepository(TripAdvisorForEducationDbContext context)
     : base(context)
 {
 }
Пример #4
0
 public CategoryRepository(TripAdvisorForEducationDbContext context)
     : base(context)
 {
 }
Пример #5
0
 public GenericRepository(TripAdvisorForEducationDbContext context)
 {
     Context = context ?? throw new ArgumentException("An instance of DbContext is required to use this repository.", nameof(context));
     DbSet   = Context.Set <T>();
 }