public CacheRepositoryDecorator(IEmployeeGetRepository repo)
        {
            if (_cache is null)
            {
                _cache = new Dictionary <int, Employee>();
            }

            _repo = repo;
        }
 public PayrollService(ITimesheetGetRepository timesheetRepository, IEmployeeGetRepository employeeRepository)
 {
     _timesheetRepository = timesheetRepository;
     _employeeRepository  = employeeRepository;
 }
 public PaystubModel()
 {
     _timesheetRepo = new TimesheetRepository();
     _employeeRepo  = new EmployeeRepository();
 }