public List <HolidayServiceModel> GetHolidayList(string Empid) { var responseList = _iLeaveRequestRepository.GetHolidayList(Empid).Select(s => new HolidayServiceModel { HolidayDate = s.HolidayDate.ToString(), HolidayName = s.HolidayName.ToString(), Text = s.Text.ToString(), Text1 = s.Text1.ToString() }).ToList(); return(responseList); }