public virtual void CanGetWeeklyEntries()
        {
            IList <TimeEntryDto> entries = _timeEntryRepository.GetWeeklyEntries(DateTime.Parse("04/17/2010"), 119);

            foreach (var timeEntryDto in entries)
            {
                Console.WriteLine(timeEntryDto.ToString());
            }
            Assert.That(entries.Count > 0);
        }
 public IList <TimeEntryDto> GetWeeklyEntries(DateTime weekEndingDate, string userName)
 {
     return(_timeEntryRepository.GetWeeklyEntries(weekEndingDate,
                                                  _personManagementService.GetByUserName(userName).Id));
 }