public virtual void CanGetWeeklyTotalHours()
        {
            float hours = _timeEntryRepository.GetHoursForWeek(DateTime.Parse("12/11/2010"), 119);

            Console.WriteLine(hours);
            Assert.That(hours > 0);
        }
Beispiel #2
0
 public float GetHoursForWeek(DateTime weekEndingDate, int userId)
 {
     return(_timeEntryRepository.GetHoursForWeek(weekEndingDate, userId));
 }