public List <Holiday> GetAllHolidaysByCalenderYear(int CalenderYear, string searchText = "", bool showDeleted = false) { try { return(HolidayIntegration.GetAllHolidaysByCalenderYear(CalenderYear, searchText, showDeleted)); } catch (Exception ex) { throw (new Exception(MethodBase.GetCurrentMethod().DeclaringType.ToString() + "." + (new System.Diagnostics.StackFrame()).GetMethod().Name, ex)); } }
public int DeleteHoliday(int HolidayID) { try { return(HolidayIntegration.DeleteHoliday(HolidayID)); } catch (Exception ex) { throw (new Exception(MethodBase.GetCurrentMethod().DeclaringType.ToString() + "." + (new System.Diagnostics.StackFrame()).GetMethod().Name, ex)); } }