public bool AddSatisfactionApp(V_Satisfactions addView) { if (!string.IsNullOrEmpty(addView.Satisfactionmasterid)) { using (SatisfactionAppBll appBll = new SatisfactionAppBll()) { return appBll.AddSatisfactionApp(addView); } } return false; }
public List <V_Satisfactions> GetSatisfactionAppChild(string appId) { if (!string.IsNullOrEmpty(appId)) { using (SatisfactionAppBll getAppBll = new SatisfactionAppBll()) { return(null); } } return(null); }
public bool UpdSatisfactionApp(V_Satisfactions updView) { if (!string.IsNullOrEmpty(updView.Satisfactionmasterid) && !string.IsNullOrEmpty(updView.Satisfactionrequireid)) { using (SatisfactionAppBll updBll = new SatisfactionAppBll()) { return(updBll.UpdSatisfactionApp(updView)); } } return(false); }
public bool AddSatisfactionApp(V_Satisfactions addView) { if (!string.IsNullOrEmpty(addView.Satisfactionmasterid)) { using (SatisfactionAppBll appBll = new SatisfactionAppBll()) { return(appBll.AddSatisfactionApp(addView)); } } return(false); }
public bool UpdSatisfactionApp(V_Satisfactions updView) { if (!string.IsNullOrEmpty(updView.Satisfactionmasterid) && !string.IsNullOrEmpty(updView.Satisfactionrequireid)) { using (SatisfactionAppBll updBll = new SatisfactionAppBll()) { return updBll.UpdSatisfactionApp(updView); } } return false; }
public List <V_Satisfactions> GetRequireByCheckstateAndDate(int pageCount, int pageIndex, int pageSize, string checkstate, DateTime[] dateTimes) { if (!string.IsNullOrEmpty(checkstate) && (dateTimes.Count() >= 2)) { using (SatisfactionAppBll appBll = new SatisfactionAppBll()) { IQueryable <V_Satisfactions> dataList = appBll.GetRequireByCheckstateAndDate(pageCount, pageIndex, pageSize, checkstate, dateTimes); return(dataList != null && dataList.Count() > 0 ? dataList.ToList() : null); } } return(null); }
public List<V_Satisfactions> GetRequireByCheckstateAndDate(int pageCount, int pageIndex, int pageSize, string checkstate, DateTime[] dateTimes) { if (!string.IsNullOrEmpty(checkstate) && (dateTimes.Count() >= 2)) { using (SatisfactionAppBll appBll = new SatisfactionAppBll()) { IQueryable<V_Satisfactions> dataList = appBll.GetRequireByCheckstateAndDate(pageCount, pageIndex, pageSize, checkstate, dateTimes); return dataList != null && dataList.Count() > 0 ? dataList.ToList() : null; } } return null; }
public List<V_Satisfactions> GetSatisfactionAppChild(string appId) { if (!string.IsNullOrEmpty(appId)) { using (SatisfactionAppBll getAppBll = new SatisfactionAppBll()) { return null; } } return null; }