public static bool SaveBookAppointment(int appointmentId, AspxCommonInfo aspxCommonObj, BookAppointmentInfo obj) { var isSuccess = false; try { AspxServiceProvider.SaveBookAppointment(appointmentId, aspxCommonObj, obj); isSuccess = true; } catch (Exception) { isSuccess = false; } return(isSuccess); }
public bool SaveBookAppointment(int appointmentId, AspxCommonInfo aspxCommonObj, BookAnAppointmentCoreInfo obj) { var isSuccess = false; try { AspxServiceProvider objService = new AspxServiceProvider(); objService.SaveBookAppointment(appointmentId, aspxCommonObj, obj); isSuccess = true; } catch (Exception) { isSuccess = false; } return isSuccess; }