Esempio n. 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;
 }
Esempio n. 2
0
 public ShiftsService(IEmpDBContext shiftDBContext)
 {
     _dataService = shiftDBContext;
 }
Esempio n. 3
0
 public WorkingdaysService(IEmpDBContext workingdayDBContext)
 {
     _dataService = workingdayDBContext;
 }
Esempio n. 4
0
 public JobService(IEmpDBContext jobDBContext)
 {
     _dataService = jobDBContext;
 }
Esempio n. 5
0
 public DepartmentService(IEmpDBContext departmentDBContext)
 {
     _dataService = departmentDBContext;
 }
Esempio n. 6
0
 public CityService(IEmpDBContext CityDBContext)
 {
     _dataService = CityDBContext;
 }
Esempio n. 7
0
 //to initialize the database connection, using the ctor
 public EmployeeService(IEmpDBContext empDBContext)
 {
     _dataService = empDBContext;
 }
Esempio n. 8
0
 public StateService(IEmpDBContext StateDBContext)
 {
     _dataservice = StateDBContext;
 }