Пример #1
0
 /*获取待去的预约记录*/
 public AllAppointment GetMyFutureAppointment(string userID, string password) {
     UserService userService = new UserService();
     UserInfo userInfo = userService.Login(userID, password);
     if (userInfo.ErrorMessage == null) {
         return userService.GetMyFutureAppointment();
     }
     else {
         AllAppointment allAppointment = new AllAppointment();
         allAppointment.ErrorMessage = userInfo.ErrorMessage;
         return allAppointment;
     }
 }