public List <V_EmployeeSurveyApp> GetEmployeeSurveyAppByCheckstateAndDate(int pageCount, int pageIndex, int pageSize, string checkstate, DateTime[] datetimes) { if (datetimes.Count() > 1) { IQueryable <V_EmployeeSurveyApp> returnList; using (EmployeeSurveyAppBll getBll = new EmployeeSurveyAppBll()) { returnList = getBll.GetEmployeeSurveyAppByCheckstateAndDate(pageCount, pageIndex, pageSize, checkstate, datetimes); return(returnList.Count() > 0 ? returnList.ToList() : null); } } return(null); }
public List<V_EmployeeSurveyApp> GetEmployeeSurveyAppByCheckstateAndDate(int pageCount, int pageIndex, int pageSize, string checkstate, DateTime[] datetimes) { if (datetimes.Count() > 1) { IQueryable<V_EmployeeSurveyApp> returnList; using (EmployeeSurveyAppBll getBll = new EmployeeSurveyAppBll()) { returnList = getBll.GetEmployeeSurveyAppByCheckstateAndDate(pageCount, pageIndex, pageSize, checkstate, datetimes); return returnList.Count() > 0 ? returnList.ToList() : null; } } return null; }