public IEnumerable <Task> GetTasks()
 {
     return(_repository.GetAll());
 }
 public List <Timesheet> GetAllTimesheets()
 {
     return(_repository.GetAll().OrderByDescending(ts => ts.TimesheetDate).ToList());
 }
Beispiel #3
0
 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());
 }