public ItemRegController( ItemRegContext context, InvManufacturerContext contextManuf, InvLocationContext contextLoc, InvTypeContext contextType, InvUnitContext contextUnit, EmailContext contextEmail, IToastNotification toastNotification) { _context = context; _contextManuf = contextManuf; _contextLoc = contextLoc; _contextType = contextType; _contextUnit = contextUnit; _contextEmail = contextEmail; _toastNotification = toastNotification; }
//private readonly IHostingEnvironment _hostingEnvironment; public ReportController(ItemRegContext context /*, IHostingEnvironment hostingEnvironment*/) { _context = context; //_hostingEnvironment = hostingEnvironment; }