public IndexModel(ILogger <IndexModel> logger, KGNGPEmployeesContext context, IConfiguration config) { _logger = logger; _context = context; _config = config; greeting = "Введите проверочный код: "; }
public EmployeesController(KGNGPEmployeesContext context, IConfiguration config) { _context = context; _config = config; }
public DepartmentsController(KGNGPEmployeesContext context, ILogger <DepartmentsController> logger, IConfiguration config) { _context = context; _logger = logger; _config = config; }
//private readonly UserManager<IdentityUser> _userManager; public ManageModel(ILogger <ManageModel> logger, KGNGPEmployeesContext context /*, UserManager<IdentityUser> userManager*/) { _logger = logger; _context = context; //_userManager = userManager; }
public ImportController(KGNGPEmployeesContext context) { _context = context; }
public ExportController(KGNGPEmployeesContext context, IWebHostEnvironment hostingEnvironment) { _context = context; _hostingEnvironment = hostingEnvironment; }