Exemplo n.º 1
0
        public void GetAllAvailableShiftsByDepartmentTest()
        {
            List <ScheduleShift> availableScheduleShifts = _scheduleShiftRepository.GetAllAvailableShiftsByDepartmentId(1).ToList();

            Assert.IsNotNull(availableScheduleShifts);
            Assert.AreEqual(2, availableScheduleShifts.Count);
        }
Exemplo n.º 2
0
 public IEnumerable <ScheduleShift> GetAllAvailableShiftsByDepartmentId(int departmentId)
 {
     return(_scheduleShiftRepository.GetAllAvailableShiftsByDepartmentId(departmentId));
 }