public IList <TimeEntryDto> GetWeeklyEntries(DateTime weekEndingDate, string userName)
 {
     return(_timeEntryRepository.GetWeeklyEntries(weekEndingDate,
                                                  _personManagementService.GetByUserName(userName).Id));
 }
Beispiel #2
0
 public Person GetCurrentUser()
 {
     return(_personManagementService.GetByUserName(_authenticationProvider.GetLoggedInUser()));
 }