public static void UpdateAppoimentStatus(AppointmentList appointments) { UpdateAppointmentStatusReq req = new UpdateAppointmentStatusReq(); req.BusinessData = appointments; req.ContextInformation.UserId = frmBase_TabForm.IndentityUserInfo.ProviderId.ToString(); req.ContextInformation.AppId = Controller.CurrentHealthInstitution.HealthInstitutionId.ToString(); UpdateAppointmentStatusRes res = req.ExecuteService <UpdateAppointmentStatusReq, UpdateAppointmentStatusRes>(req); if (res.Error != null) { throw Fwk.Exceptions.ExceptionHelper.ProcessException(res.Error); } }
public static void UpdateAppoimentStatus(AppointmentList appointments) { UpdateAppointmentStatusReq req = new UpdateAppointmentStatusReq(); req.BusinessData = appointments; req.ContextInformation.UserId = frmBase_TabForm.IndentityUserInfo.ProviderId.ToString(); req.ContextInformation.AppId = Controller.CurrentHealthInstitution.HealthInstitutionId.ToString(); UpdateAppointmentStatusRes res = req.ExecuteService<UpdateAppointmentStatusReq, UpdateAppointmentStatusRes>(req); if (res.Error != null) throw Fwk.Exceptions.ExceptionHelper.ProcessException(res.Error); }