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