コード例 #1
0
ファイル: Index.cshtml.cs プロジェクト: genixg/RemoteControl
 public IndexModel(ILogger <IndexModel> logger, KGNGPEmployeesContext context, IConfiguration config)
 {
     _logger  = logger;
     _context = context;
     _config  = config;
     greeting = "Введите проверочный код: ";
 }
コード例 #2
0
 public EmployeesController(KGNGPEmployeesContext context, IConfiguration config)
 {
     _context = context;
     _config  = config;
 }
コード例 #3
0
 public DepartmentsController(KGNGPEmployeesContext context, ILogger <DepartmentsController> logger, IConfiguration config)
 {
     _context = context;
     _logger  = logger;
     _config  = config;
 }
コード例 #4
0
        //private readonly UserManager<IdentityUser> _userManager;

        public ManageModel(ILogger <ManageModel> logger, KGNGPEmployeesContext context /*, UserManager<IdentityUser> userManager*/)
        {
            _logger  = logger;
            _context = context;
            //_userManager = userManager;
        }
コード例 #5
0
 public ImportController(KGNGPEmployeesContext context)
 {
     _context = context;
 }
コード例 #6
0
 public ExportController(KGNGPEmployeesContext context, IWebHostEnvironment hostingEnvironment)
 {
     _context            = context;
     _hostingEnvironment = hostingEnvironment;
 }