public static void RemoveAppoiment(int appointmentId) { RemoveAppointmentReq req = new RemoveAppointmentReq(); req.BusinessData.AppointmentId = appointmentId; if (frmBase_TabForm.IndentityUserInfo != null) { req.ContextInformation.UserId = frmBase_TabForm.IndentityUserInfo.ProviderId.ToString(); } RemoveAppointmentRes res = req.ExecuteService <RemoveAppointmentReq, RemoveAppointmentRes>(req); if (res.Error != null) { throw Fwk.Exceptions.ExceptionHelper.ProcessException(res.Error); } }
public static void RemoveAppoiment(int appointmentId) { RemoveAppointmentReq req = new RemoveAppointmentReq(); req.BusinessData.AppointmentId = appointmentId; if (frmBase_TabForm.IndentityUserInfo != null) req.ContextInformation.UserId = frmBase_TabForm.IndentityUserInfo.ProviderId.ToString(); RemoveAppointmentRes res = req.ExecuteService<RemoveAppointmentReq, RemoveAppointmentRes>(req); if (res.Error != null) throw Fwk.Exceptions.ExceptionHelper.ProcessException(res.Error); }