public UnitOfWork(CedroContext context)
 {
     _context = context;
 }
Exemple #2
0
 public RestaurantRepository(CedroContext context) : base(context)
 {
 }
Exemple #3
0
 public MenuRepository(CedroContext context) : base(context)
 {
 }
Exemple #4
0
 public ReviewRepository(CedroContext context) : base(context)
 {
 }
 public RestauranteRepository(CedroContext db) : base(db)
 {
 }
Exemple #6
0
 public Repository(CedroContext context)
 {
     _context = context;
     _dbSet   = _context.Set <TEntity>();
 }
Exemple #7
0
 public Repository(CedroContext db)
 {
     Db    = db;
     DbSet = Db.Set <TEntity>();
 }
 public PratoRepository(CedroContext db) : base(db)
 {
 }