コード例 #1
0
 public EmployeeController(IEmpDBContext empDBContext, IEmployeeService empService, ICityService cityService, IStateService stateService, IJobService jobService, IDepartmentService departmentService, IWorkingDayService workingdaysService, IShiftService shiftsService)
 {
     db = empDBContext;
     _empService = empService;
     _stateService = stateService;
     _cityService = cityService;
     _jobService = jobService;
     _departmentService = departmentService;
     _workingdayService = workingdaysService;
     _shiftService = shiftsService;
 }
コード例 #2
0
ファイル: ShiftsService.cs プロジェクト: MVC3/AllControls
 public ShiftsService(IEmpDBContext shiftDBContext)
 {
     _dataService = shiftDBContext;
 }
コード例 #3
0
 public WorkingdaysService(IEmpDBContext workingdayDBContext)
 {
     _dataService = workingdayDBContext;
 }
コード例 #4
0
ファイル: JobService.cs プロジェクト: MVC3/AllControls
 public JobService(IEmpDBContext jobDBContext)
 {
     _dataService = jobDBContext;
 }
コード例 #5
0
ファイル: DepartmentService.cs プロジェクト: MVC3/AllControls
 public DepartmentService(IEmpDBContext departmentDBContext)
 {
     _dataService = departmentDBContext;
 }
コード例 #6
0
ファイル: CityService.cs プロジェクト: MVC3/AllControls
 public CityService(IEmpDBContext CityDBContext)
 {
     _dataService = CityDBContext;
 }
コード例 #7
0
ファイル: EmployeeService.cs プロジェクト: MVC3/AllControls
 //to initialize the database connection, using the ctor
 public EmployeeService(IEmpDBContext empDBContext)
 {
     _dataService = empDBContext;
 }
コード例 #8
0
ファイル: StateService.cs プロジェクト: MVC3/AllControls
 public StateService(IEmpDBContext StateDBContext)
 {
     _dataservice = StateDBContext;
 }