Example #1
0
 public List <T_OA_REQUIRERESULT> GetResultByCultivateForID(string requireID, string onwerID)
 {
     if (!(string.IsNullOrEmpty(requireID) && (string.IsNullOrEmpty(onwerID))))
     {
         using (EmployeeSurveyBll getBll = new EmployeeSurveyBll())
         {
             IQueryable <T_OA_REQUIRERESULT> handerList = null;
             handerList = getBll.GetResultByCultivateForID(requireID, onwerID);
             return(handerList.Count() > 0 ? handerList.ToList() : null);
         }
     }
     return(null);
 }
Example #2
0
 public List<T_OA_REQUIRERESULT> GetResultByCultivateForID(string requireID,string onwerID)
 {
     if (!(string.IsNullOrEmpty(requireID)&&(string.IsNullOrEmpty(onwerID))))
     {
         using (EmployeeSurveyBll getBll = new EmployeeSurveyBll())
         {
             IQueryable<T_OA_REQUIRERESULT> handerList = null;
             handerList = getBll.GetResultByCultivateForID(requireID, onwerID);
             return handerList.Count()>0 ? handerList.ToList() : null;
         }
     }
     return null;
 }