Пример #1
0
 public ReservationRepository(TouristDbContext context)
 {
     Context = context;
     DbSet   = context.Set <Reservation>();
 }
 public EventRepository(TouristDbContext context)
 {
     Context = context;
     DbSet   = context.Set <Event>();
 }
Пример #3
0
 public PriceRepository(TouristDbContext context)
 {
     Context = context;
     DbSet   = context.Set <Price>();
 }