/// <summary> /// Get employee's earned annual leave hours /// </summary> /// <param name="employeeID">GUID of employee</param> /// <returns>Hours</returns> public int GetAnnualLeaveEarnedHours(string employeeID) { Log.Info(GlobalParams.StartGetAnnualLeaveEarnedHours); int result = 0; try { result = (int)LeaveBLL.GetAnnualLeaveEarnedHours(employeeID); } catch (Exception ex) { Log.Exception(ex.StackTrace); Log.Exception(ex.Message); throw ex; } Log.Info(GlobalParams.EndGetAnnaulLeaveEarnedHours); return(result); }