public T_HR_POSTDICTIONARY GetPostDictionaryById(string strid) { using (PostDictionaryBLL bll = new PostDictionaryBLL()) { return(bll.GetPostDictionaryById(strid)); } }
public void PostDictionaryUpdate(T_HR_POSTDICTIONARY obj, ref string strMsg) { using (PostDictionaryBLL bll = new PostDictionaryBLL()) { bll.PostDictionaryUpdate(obj, ref strMsg); } }
public bool PostDictionaryDelete(string[] strid, ref string strMsg) { using (PostDictionaryBLL bll = new PostDictionaryBLL()) { int rslt = bll.PostDictionaryDelete(strid, ref strMsg); return(rslt > 0); } }
public List <T_HR_POSTDICTIONARY> GetPostDictionaryAll() { using (PostDictionaryBLL bll = new PostDictionaryBLL()) { IQueryable <T_HR_POSTDICTIONARY> q = bll.GetPostDictionaryAll(); return(q.Count() > 0 ? q.ToList() : null); } }
public List <T_HR_POSTDICTIONARY> GetPostDictionaryByDepartmentDictionayID(string departmentDictioanryID) { using (PostDictionaryBLL bll = new PostDictionaryBLL()) { IQueryable <T_HR_POSTDICTIONARY> q = bll.GetPostDictionaryByDepartmentDictionayID(departmentDictioanryID); if (q != null) { return(q.Count() > 0 ? q.ToList() : null); } else { return(null); } } }
public List <T_HR_POSTDICTIONARY> PostDictionaryPaging(int pageIndex, int pageSize, string sort, string filterString, IList <object> paras, ref int pageCount, string userID, string Checkstate) { using (PostDictionaryBLL bll = new PostDictionaryBLL()) { IQueryable <T_HR_POSTDICTIONARY> q = bll.PostDictionaryPaging(pageIndex, pageSize, sort, filterString, paras, ref pageCount, userID, Checkstate); if (q != null) { return(q.Count() > 0 ? q.ToList() : null); } else { return(null); } } }
public T_HR_POSTDICTIONARY GetPostDictionaryById(string strid) { using (PostDictionaryBLL bll = new PostDictionaryBLL()) { return bll.GetPostDictionaryById(strid); } }
public bool PostDictionaryDelete(string[] strid, ref string strMsg) { using (PostDictionaryBLL bll = new PostDictionaryBLL()) { int rslt = bll.PostDictionaryDelete(strid, ref strMsg); return (rslt > 0); } }
public List<T_HR_POSTDICTIONARY> GetPostDictionaryByDepartmentDictionayID(string departmentDictioanryID) { using (PostDictionaryBLL bll = new PostDictionaryBLL()) { IQueryable<T_HR_POSTDICTIONARY> q = bll.GetPostDictionaryByDepartmentDictionayID(departmentDictioanryID); if (q != null) { return q.Count() > 0 ? q.ToList() : null; } else { return null; } } }
public List<T_HR_POSTDICTIONARY> PostDictionaryPaging(int pageIndex, int pageSize, string sort, string filterString, IList<object> paras, ref int pageCount, string userID, string Checkstate) { using (PostDictionaryBLL bll = new PostDictionaryBLL()) { IQueryable<T_HR_POSTDICTIONARY> q = bll.PostDictionaryPaging(pageIndex, pageSize, sort, filterString, paras, ref pageCount, userID, Checkstate); if (q != null) { return q.Count() > 0 ? q.ToList() : null; } else { return null; } } }
public List<T_HR_POSTDICTIONARY> GetPostDictionaryAll() { using (PostDictionaryBLL bll = new PostDictionaryBLL()) { IQueryable<T_HR_POSTDICTIONARY> q = bll.GetPostDictionaryAll(); return q.Count() > 0 ? q.ToList() : null; } }