コード例 #1
0
 public EmployeesService(EmployeeManagementMVCContext context, IConfiguration configuration)
 {
     _context          = context;
     Configuration     = configuration;
     EmployeeIQ        = _context.Employee;
     OrderByDictionary = InitOrderByDictionary(OrderByDictionary);
 }
コード例 #2
0
 public EmployeesController(EmployeeManagementMVCContext context, IConfiguration configuration)
 {
     _context         = context;
     Configuration    = configuration;
     EmployeeIQ       = _context.Employee;
     EmployeesService = new EmployeesService(_context, Configuration);
 }
コード例 #3
0
 public EmployeesLoginController(EmployeeManagementMVCContext context)
 {
     _context              = context;
     EmployeeIQ            = _context.Employee;
     EmployeesLoginService = new EmployeesLoginService(EmployeeIQ);
 }
コード例 #4
0
 public EmployeesVerifyController(EmployeeManagementMVCContext context)
 {
     _context = context;
 }