public ActsController(InventoryAccountingContext context) { _acts = new ActsRepository(context); }
public TmcTypesController(InventoryAccountingContext context) { _types = new TmcTypesRepository(context); }
public CompaniesController(InventoryAccountingContext context) { _companies = new CompaniesRepository(context); }
public PersonsController(InventoryAccountingContext context) { _persons = new PersonsRepository(context); }
public HomeController(InventoryAccountingContext context) { db = context; }
public RoomsController(InventoryAccountingContext context) { _rooms = new RoomsRepository(context); }
public ValidateEntityExistsAttribute(InventoryAccountingContext context) { _context = context; }
//private readonly InventoryAccountingContext _context; public TmcController(InventoryAccountingContext context, IHostingEnvironment environment) { _tmcs = new TmcRepository(context); _environment = environment; }