Exemplo n.º 1
0
 public V_EmployeeSurveyApp GetRequireData(string requireKey)
 {
     using (EmployeeSurveyAppBll getBll = new EmployeeSurveyAppBll())
     {
         V_EmployeeSurveyApp data = getBll.GetRequireData(requireKey);
         return data!=null ? data : null;
     }
 }
Exemplo n.º 2
0
 public bool UpdRequire(V_EmployeeSurveyApp updApp)
 {
     if (!(string.IsNullOrEmpty(updApp.MasterId)))
     {
         using (EmployeeSurveyAppBll updBll = new EmployeeSurveyAppBll())
         {
             return updBll.UpdRequire(updApp);
         }
     }
     return false;
 }
Exemplo n.º 3
0
        public bool AddRequire(V_EmployeeSurveyApp addApp)
        {

            if (!string.IsNullOrEmpty(addApp.MasterId))
            {
                using (EmployeeSurveyAppBll addBll = new EmployeeSurveyAppBll())
                {
                    return addBll.AddRequire(addApp);
                }
            }
            return false;
        }
Exemplo n.º 4
0
 public List<V_EmployeeSurveyApp> GetEmployeeSurveyAppByCheckstateAndDate(int pageCount, int pageIndex, int pageSize, string checkstate, DateTime[] datetimes)
 {
     if (datetimes.Count() > 1)
     {
         IQueryable<V_EmployeeSurveyApp> returnList;
         using (EmployeeSurveyAppBll getBll = new EmployeeSurveyAppBll())
         {
             
             returnList = getBll.GetEmployeeSurveyAppByCheckstateAndDate(pageCount, pageIndex, pageSize, checkstate, datetimes);
             return returnList.Count() > 0 ? returnList.ToList() : null;
         }
     }
     return null;
 }