public List <LeaveTypeSettings> GetLeaveTypeSettingsList(string searchText = null, bool showDeleted = false) { try { return(LeaveTypeSettingIntegration.GetLeaveTypeSettingsList(searchText, showDeleted)); } catch (Exception ex) { throw (new Exception(MethodBase.GetCurrentMethod().DeclaringType.ToString() + "." + (new System.Diagnostics.StackFrame()).GetMethod().Name, ex)); } }
public LeaveTypeSettings GetLeaveTypeSettingsByLeaveTypeSettingId(int LeaveTypeSettingID) { try { return(LeaveTypeSettingIntegration.GetLeaveTypeSettingsByLeaveTypeSettingID(LeaveTypeSettingID)); } catch (Exception ex) { throw (new Exception(MethodBase.GetCurrentMethod().DeclaringType.ToString() + "." + (new System.Diagnostics.StackFrame()).GetMethod().Name, ex)); } }
public int UpdateLeaveTypeSettings(LeaveTypeSettings _LeaveTypeSettings) { try { return(LeaveTypeSettingIntegration.UpdateLeaveTypeSettings(_LeaveTypeSettings)); } catch (Exception ex) { throw (new Exception(MethodBase.GetCurrentMethod().DeclaringType.ToString() + "." + (new System.Diagnostics.StackFrame()).GetMethod().Name, ex)); } }