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