public List <DoctorDiary> GetAllAppointments(int DoctorId) { return(_repos.GetAllAppointments(DoctorId)); }