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); } } }
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); } } }
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; } } }
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; } }