Exemplo n.º 1
0
        public IEnumerable <Doctor> GetActiveDoctors()
        {
            var          doctors = _doctorRepository.GetAllEager();
            TimeInterval time    = new TimeInterval(DateTime.Now, DateTime.Now.AddMinutes(10)); // Note (Gergo) : Gets doctors who are going to be at work in the next 10 minutes

            return(GetWorkingDoctors(doctors, time));
        }