Exemplo n.º 1
0
 public GenericRepository(HotelsContext context)
 {
     this.context = context;
     this.dbSet   = context.Set <TEntity>();
 }
 public SqlHotelsRepo(HotelsContext context)
 {
     _context = context;
 }
Exemplo n.º 3
0
 public HotelRepository(HotelsContext context)
 {
     this.context = context;
 }