public bool SaveBookAppointment(int appointmentId, AspxCommonInfo aspxCommonObj, BookAnAppointmentInfo obj) { try { ServiceItemController objService = new ServiceItemController(); bool isSave = objService.SaveBookAppointment(appointmentId, aspxCommonObj, obj); return(isSave); } catch (Exception) { return(false); } }
public bool SaveBookAppointment(int appointmentId, AspxCommonInfo aspxCommonObj, BookAnAppointmentInfo obj) { bool flag; try { flag = (new ServiceItemController()).SaveBookAppointment(appointmentId, aspxCommonObj, obj); } catch (Exception exception) { flag = false; } return(flag); }