public CategoriesController(MasterChefContext context)
 {
     _context = context;
 }
 public ReceitaRepository(MasterChefContext context)
     : base(context)
 {
 }
 public CategoriaRepository(MasterChefContext context)
     : base(context)
 {
 }
Пример #4
0
 public RecipesController(MasterChefContext context)
 {
     _context = context;
 }
Пример #5
0
 public RepositoryBase(MasterChefContext context)
 {
     _context = context;
     DbSet    = context.Set <TEntity>();
 }