public ShiftController(IEmployeeShiftDataRepository employeeShiftData, IEmployeeDataRepository employeeData, IShiftDataRepository shiftData, IConfiguration configuration)
 {
     _employeeShiftData = employeeShiftData;
     _employeeRepo      = employeeData;
     _shiftData         = shiftData;
     _configuration     = configuration;
 }
Example #2
0
 public HomeController(ILogger <HomeController> logger, IWebHostEnvironment hostEnvironment, IEmployeeDataRepository emRepo, ApplicationDbContext ctx, ITask tk)
 {
     _logger          = logger;
     employeeRepo     = emRepo;
     context          = ctx;
     _hostEnvironment = hostEnvironment;
     task             = tk;
 }
Example #3
0
 public EmployeeService(IEmployeeDataRepository employeeDataRepository)
 {
     this.employeeDataRepository = employeeDataRepository;
 }
Example #4
0
 public EmployeeController(IEmployeeDataRepository data) => _data = data;
 public EmployeeController(IEmployeeDataRepository <Employee> dataRepository)
 {
     _dataRepository = dataRepository;
 }
 public MockTimesheetDataRepository(IEmployeeDataRepository employeeData)
 {
     _employeeData = employeeData;
 }