Пример #1
0
 public ActsController(InventoryAccountingContext context)
 {
     _acts = new ActsRepository(context);
 }
 public TmcTypesController(InventoryAccountingContext context)
 {
     _types = new TmcTypesRepository(context);
 }
Пример #3
0
 public CompaniesController(InventoryAccountingContext context)
 {
     _companies = new CompaniesRepository(context);
 }
 public PersonsController(InventoryAccountingContext context)
 {
     _persons = new PersonsRepository(context);
 }
Пример #5
0
 public HomeController(InventoryAccountingContext context)
 {
     db = context;
 }
Пример #6
0
 public RoomsController(InventoryAccountingContext context)
 {
     _rooms = new RoomsRepository(context);
 }
Пример #7
0
 public ValidateEntityExistsAttribute(InventoryAccountingContext context)
 {
     _context = context;
 }
 //private readonly InventoryAccountingContext _context;
 public TmcController(InventoryAccountingContext context, IHostingEnvironment environment)
 {
     _tmcs        = new TmcRepository(context);
     _environment = environment;
 }