public IList <HolidayModel> GetHolidaysDetails(long UserId, Int32 holYear, ref bool previousYear, ref bool nextYear) { using (ILeaveHelper helper = new LeaveHelper()) { return(helper.GetHolidaysDetails(UserId, holYear, ref previousYear, ref nextYear)); } }