public IEnumerable <Task> GetTasks() { return(_repository.GetAll()); }
public List <Timesheet> GetAllTimesheets() { return(_repository.GetAll().OrderByDescending(ts => ts.TimesheetDate).ToList()); }
public IEnumerable <Timesheet> GetAll() { return(_mapper.Map <IEnumerable <Timesheet> >(_timesheetRepository.GetAll())); }
public IActionResult GetAll() { return(Ok(repostitory.GetAll())); }
public IEnumerable <Timesheet> GetAll() { return(_timesheetRepository.GetAll()); }