Esempio n. 1
0
 public bool UpdSatisfactionMaster(T_OA_SATISFACTIONMASTER updMasterEntity)
 {
     using (SatisfactionSurveyBll updBll = new SatisfactionSurveyBll())
     {
         return updBll.UpdSatisfactionMaster(updMasterEntity);
     }
 }
Esempio n. 2
0
 public bool UpdSatisfactionMaster(T_OA_SATISFACTIONMASTER updMasterEntity)
 {
     using (SatisfactionSurveyBll updBll = new SatisfactionSurveyBll())
     {
         return(updBll.UpdSatisfactionMaster(updMasterEntity));
     }
 }
Esempio n. 3
0
 public bool AddSatisfactionMaster(T_OA_SATISFACTIONMASTER addMasterEntity)
 {
     using (SatisfactionSurveyBll addBll = new SatisfactionSurveyBll())
     {
         return addBll.AddSatisfactionMaster(addMasterEntity);
     }
 }
Esempio n. 4
0
 public bool AddSatisfactionMaster(T_OA_SATISFACTIONMASTER addMasterEntity)
 {
     using (SatisfactionSurveyBll addBll = new SatisfactionSurveyBll())
     {
         return(addBll.AddSatisfactionMaster(addMasterEntity));
     }
 }
Esempio n. 5
0
 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;
 }
Esempio n. 6
0
 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;
  }
Esempio n. 7
0
 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);
 }
Esempio n. 8
0
 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);
 }
Esempio n. 9
0
 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;
 }
Esempio n. 10
0
        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);
        }
Esempio n. 11
0
        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);
        }
Esempio n. 12
0
 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;
 }