public void Test_DoctorClient_GetDoctorBySpecializationOnDate() { var doctorClient = new DoctorClient(); doctorClient.Open(); var doctors = doctorClient.GetDoctorsWithSpecializationOnDate(1, DateTime.Now); Assert.AreEqual(doctors[0].Name,"Test"); }
private static void GetMedicalSpecialization() { var doctorClient = new DoctorClient(); doctorClient.Open(); var specializations = doctorClient.GetMedicalSpecializations(); foreach (var specialization in specializations) { Console.WriteLine(specialization.Id + " " + specialization.Specialization); } }
private static void GetDocotor() { var doctorClient = new DoctorClient(); doctorClient.Open(); var doctors = doctorClient.GetDoctorsWithSpecializationOnDate(1, DateTime.Now); foreach (var doctor in doctors) { Console.WriteLine(doctor.Id + " " + doctor.Name); } }
public void Test_DoctorClient_Connection() { var doctorClient = new DoctorClient(); doctorClient.Open(); }