public List <Doctor> IsDoctorFreeToday(int day, int hour) { List <Doctor> availibityDoctors = new List <Doctor>(); try { if (ArgumentValidate(day, hour)) { foreach (var doctor in doctors) { WorkDay singleDay = doctor.GetSignleWorkDay(day); if (singleDay.IsFreeHour(hour)) { availibityDoctors.Add(doctor); } } } return(availibityDoctors); } catch (Exception ex) { Console.WriteLine(ex.Message); } return(null);//TODO: TEGO NIE MOZE BYC!!! GOD 23:27 NIE MAM SIL:) }