Esempio n. 1
0
 public ReservationRepository(TouristDbContext context)
 {
     Context = context;
     DbSet   = context.Set <Reservation>();
 }
 public EventRepository(TouristDbContext context)
 {
     Context = context;
     DbSet   = context.Set <Event>();
 }
Esempio n. 3
0
 public PriceRepository(TouristDbContext context)
 {
     Context = context;
     DbSet   = context.Set <Price>();
 }