public bool UpdSatisfactionMaster(T_OA_SATISFACTIONMASTER updMasterEntity) { using (SatisfactionSurveyBll updBll = new SatisfactionSurveyBll()) { return updBll.UpdSatisfactionMaster(updMasterEntity); } }
public bool UpdSatisfactionMaster(T_OA_SATISFACTIONMASTER updMasterEntity) { using (SatisfactionSurveyBll updBll = new SatisfactionSurveyBll()) { return(updBll.UpdSatisfactionMaster(updMasterEntity)); } }
public bool AddSatisfactionMaster(T_OA_SATISFACTIONMASTER addMasterEntity) { using (SatisfactionSurveyBll addBll = new SatisfactionSurveyBll()) { return addBll.AddSatisfactionMaster(addMasterEntity); } }
public bool AddSatisfactionMaster(T_OA_SATISFACTIONMASTER addMasterEntity) { using (SatisfactionSurveyBll addBll = new SatisfactionSurveyBll()) { return(addBll.AddSatisfactionMaster(addMasterEntity)); } }
public T_OA_SATISFACTIONMASTER GetSatisfactionMasterChild(string masterId) { if (!string.IsNullOrEmpty(masterId)) { using (SatisfactionSurveyBll getBll = new SatisfactionSurveyBll()) { T_OA_SATISFACTIONMASTER masterEntity=getBll.GetSatisfactionMasterChild(masterId); return masterEntity != null ? masterEntity : null; } } return null; }
public List<V_Satisfactions> GetMasterByCheckstateAndDate(int pageCount, int pageIndex, int pageSize, string checkstate, DateTime[] dateTimes) { if(!string.IsNullOrEmpty(checkstate)&&dateTimes.Count()>=2) { using (SatisfactionSurveyBll masterBll = new SatisfactionSurveyBll()) { IQueryable<V_Satisfactions> dataList= masterBll.GetMasterByCheckstateAndDate(pageCount, pageIndex, pageSize, checkstate, dateTimes); return dataList != null && dataList.Count() > 0 ? dataList.ToList() : null; } } return null; }
public T_OA_SATISFACTIONMASTER GetSatisfactionMasterChild(string masterId) { if (!string.IsNullOrEmpty(masterId)) { using (SatisfactionSurveyBll getBll = new SatisfactionSurveyBll()) { T_OA_SATISFACTIONMASTER masterEntity = getBll.GetSatisfactionMasterChild(masterId); return(masterEntity != null ? masterEntity : null); } } return(null); }
public List <V_Satisfactions> GetMasterByCheckstateAndDate(int pageCount, int pageIndex, int pageSize, string checkstate, DateTime[] dateTimes) { if (!string.IsNullOrEmpty(checkstate) && dateTimes.Count() >= 2) { using (SatisfactionSurveyBll masterBll = new SatisfactionSurveyBll()) { IQueryable <V_Satisfactions> dataList = masterBll.GetMasterByCheckstateAndDate(pageCount, pageIndex, pageSize, checkstate, dateTimes); return(dataList != null && dataList.Count() > 0 ? dataList.ToList() : null); } } return(null); }
public bool AddSatisfactionMaster(T_OA_SATISFACTIONMASTER AddEntity) { bool flag = false; if (AddEntity != null) { using (SatisfactionSurveyBll bll = new SatisfactionSurveyBll()) { flag = bll.AddSatisfactionMaster(AddEntity); } } else { flag = false; } return flag; }
public IQueryable <T_OA_SATISFACTIONMASTER> GetMasterInfo(string primaryKey) { IQueryable <T_OA_SATISFACTIONMASTER> masterInfo = null; if (!string.IsNullOrEmpty(primaryKey)) { using (SatisfactionSurveyBll bll = new SatisfactionSurveyBll()) { masterInfo = bll.GetMasterInfo(primaryKey); } } else { masterInfo = null; } return(masterInfo = masterInfo != null && masterInfo.Count() > 0 ? masterInfo : null); }
public bool UpdSatisfactionMaster(T_OA_SATISFACTIONMASTER UpdEntity) { bool flag = false; if (UpdEntity != null) { using (SatisfactionSurveyBll bll = new SatisfactionSurveyBll()) { flag = bll.UpdSatisfactionMaster(UpdEntity); } } else { flag = false; } return(flag); }
public IQueryable<T_OA_SATISFACTIONMASTER> GetMasterInfo(string primaryKey) { IQueryable<T_OA_SATISFACTIONMASTER> masterInfo = null; if (!string.IsNullOrEmpty(primaryKey)) { using (SatisfactionSurveyBll bll = new SatisfactionSurveyBll()) { masterInfo = bll.GetMasterInfo(primaryKey); } } else { masterInfo = null; } return masterInfo = masterInfo != null && masterInfo.Count() > 0 ? masterInfo : null; }