public UnitOfWork(IAppDbContext dbContext, IUserRepository userRepository, ITimeLogRepository timeLogRepository) { _dbContext = dbContext; Users = userRepository; TimeLogs = timeLogRepository; }
public RequestTimeInConsumer(ITimeLogRepository repo) { _repo = repo; }
public TimesheetService(ITimeLogRepository timeLogRepository, IEmployeeRepository employeeRepository) { _timeLogRepository = timeLogRepository; _employeeRepository = employeeRepository; }
public UnitOfWork() { _context = new ApplicationDbContext(); TimeLogs = new TimeLogRepository(_context); }
public TimeLogBusinessLayer() { this._timelogRepository = new TimeLogRepository(); }
public TimeLogsController(ITimeLogRepository repository) { _repository = repository; }