Exemplo n.º 1
0
 public void Test_DoctorClient_GetDoctorBySpecializationOnDate()
 {
     var doctorClient = new DoctorClient();
     doctorClient.Open();
     var doctors = doctorClient.GetDoctorsWithSpecializationOnDate(1, DateTime.Now);
     Assert.AreEqual(doctors[0].Name,"Test");
 }
Exemplo n.º 2
0
 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);
     }
 }