示例#1
0
 public IQueryable <V_Satisfaction> GetSurvey(string key)
 {
     using (SatisfactionBll satBll = new SatisfactionBll())
     {
         IQueryable <V_Satisfaction> satList = satBll.Get_SSurvey(key);
         if (satList == null)
         {
             return(null);
         }
         else
         {
             return(satList);
         }
     }
 }
示例#2
0
 public V_Satisfaction Get_SSurvey(string requireMasterID)
 {
     using (SatisfactionBll satBll = new SatisfactionBll())
     {
         IQueryable <V_Satisfaction> lst = satBll.Get_SSurvey(requireMasterID);
         if (lst != null)
         {
             return(lst.ToList()[0]);
         }
         else
         {
             return(null);
         }
     }
 }
示例#3
0
        public IQueryable<V_Satisfaction> GetSurvey(string key)
        {
            using (SatisfactionBll satBll = new SatisfactionBll())
            {
               IQueryable<V_Satisfaction> satList = satBll.Get_SSurvey(key);
               if (satList == null)
               {
                   return null;
               }
               else
               {
                   return satList;
 
               }
            }
        }
示例#4
0
 public V_Satisfaction Get_SSurvey(string requireMasterID)
 {
     using (SatisfactionBll satBll = new SatisfactionBll())
     {
         IQueryable<V_Satisfaction> lst = satBll.Get_SSurvey(requireMasterID);
         if (lst != null)
             return lst.ToList()[0];
         else
             return null;
     }
 }