public UnitOfWork(CedroContext context) { _context = context; }
public RestaurantRepository(CedroContext context) : base(context) { }
public MenuRepository(CedroContext context) : base(context) { }
public ReviewRepository(CedroContext context) : base(context) { }
public RestauranteRepository(CedroContext db) : base(db) { }
public Repository(CedroContext context) { _context = context; _dbSet = _context.Set <TEntity>(); }
public Repository(CedroContext db) { Db = db; DbSet = Db.Set <TEntity>(); }
public PratoRepository(CedroContext db) : base(db) { }