コード例 #1
0
 public JobsController(
     ICurrentEmployeeService currentEmployeeService
     , JobSchedulerDbContext dbContext)
 {
     this.currentEmployeeService = currentEmployeeService;
     this.dbContext = dbContext;
 }
コード例 #2
0
 public GarageController(IGarageService garageService,
                         ICurrentEmployeeService currentEmployeeService,
                         ICurrentUserService currentUserService)
 {
     this.garageService          = garageService;
     this.currentEmployeeService = currentEmployeeService;
     this.currentUserService     = currentUserService;
 }
コード例 #3
0
 public DepartmentController(
     IDepartmentService departmentService,
     ICurrentEmployeeService currentEmployeeService,
     GarageDbContext dbContext)
 {
     this.departmentServcie      = departmentService;
     this.currentEmployeeService = currentEmployeeService;
     this.dbContext = dbContext;
 }
コード例 #4
0
 public JobController(
     IGarageService garageService,
     IJobScheduler jobSchedulerService,
     ICurrentEmployeeService currentEmployeeService,
     ICurrentUserService currentUserService)
 {
     this.garageService          = garageService;
     this.jobSchedulerService    = jobSchedulerService;
     this.currentEmployeeService = currentEmployeeService;
     this.currentUserService     = currentUserService;
 }
コード例 #5
0
 public VehicleController(GarageDbContext carServiceDbContext,
                          ICurrentEmployeeService currentEmployeeService)
 {
     this.dbContext = carServiceDbContext;
     this.currentEmployeeService = currentEmployeeService;
 }
コード例 #6
0
 public AdminRequiredHandler(ICurrentEmployeeService currentEmployeeSerivce)
 {
     this.currentEmployeeSerivce = currentEmployeeSerivce;
 }