/// <summary> /// Get leave types /// </summary> /// <returns>List of leave types</returns> public List <LeaveType> GetLeaveTypes() { Log.Info(GlobalParams.StartGetLeaveTypes); List <LeaveType> leaveTypes = null; try { leaveTypes = LeaveBLL.GetLeaveTypes(); } catch (Exception ex) { Log.Exception(ex.StackTrace); Log.Exception(ex.Message); throw ex; } Log.Info(GlobalParams.EndGetLeaveTypes); return(leaveTypes); }