예제 #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");
 }
예제 #2
0
 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);
     }
 }
예제 #3
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);
     }
 }
예제 #4
0
 public void Test_DoctorClient_Connection()
 {
     var doctorClient = new DoctorClient();
     doctorClient.Open();
 }