public T_HR_DEPARTMENTDICTIONARY GetDepartmentDictionaryById(string strid) { using (DepartmentDictionaryBLL bll = new DepartmentDictionaryBLL()) { return(bll.GetDepartmentDictionaryById(strid)); } }
public void DepartmentDictionaryUpdate(T_HR_DEPARTMENTDICTIONARY obj, ref string strMsg) { using (DepartmentDictionaryBLL bll = new DepartmentDictionaryBLL()) { bll.DepartmentDictionaryUpdate(obj, ref strMsg); } }
public List<T_HR_DEPARTMENTDICTIONARY> GetDepartmentDictionaryAll() { using (DepartmentDictionaryBLL bll = new DepartmentDictionaryBLL()) { IQueryable<T_HR_DEPARTMENTDICTIONARY> q = bll.GetDepartmentDictionaryAll(); return q.Count() > 0 ? q.ToList() : null; } }
public List <T_HR_DEPARTMENTDICTIONARY> GetDepartmentDictionaryAll() { using (DepartmentDictionaryBLL bll = new DepartmentDictionaryBLL()) { IQueryable <T_HR_DEPARTMENTDICTIONARY> q = bll.GetDepartmentDictionaryAll(); return(q.Count() > 0 ? q.ToList() : null); } }
public bool DepartmentDictionaryDelete(string[] strid, ref string strMsg) { using (DepartmentDictionaryBLL bll = new DepartmentDictionaryBLL()) { int rslt = bll.DepartmentDictionaryDelete(strid, ref strMsg); return(rslt > 0); } }
public List<T_HR_DEPARTMENTDICTIONARY> DepartmentDictionaryPaging(int pageIndex, int pageSize, string sort, string filterString, IList<object> paras, ref int pageCount, string userID, string Checkstate) { using (DepartmentDictionaryBLL bll = new DepartmentDictionaryBLL()) { IQueryable<T_HR_DEPARTMENTDICTIONARY> q = bll.DepartmentDictionaryPaging(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_DEPARTMENTDICTIONARY> DepartmentDictionaryPaging(int pageIndex, int pageSize, string sort, string filterString, IList <object> paras, ref int pageCount, string userID, string Checkstate) { using (DepartmentDictionaryBLL bll = new DepartmentDictionaryBLL()) { IQueryable <T_HR_DEPARTMENTDICTIONARY> q = bll.DepartmentDictionaryPaging(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_DEPARTMENTDICTIONARY GetDepartmentDictionaryById(string strid) { using (DepartmentDictionaryBLL bll = new DepartmentDictionaryBLL()) { return bll.GetDepartmentDictionaryById(strid); } }
public bool DepartmentDictionaryDelete(string[] strid, ref string strMsg) { using (DepartmentDictionaryBLL bll = new DepartmentDictionaryBLL()) { int rslt = bll.DepartmentDictionaryDelete(strid, ref strMsg); return (rslt > 0); } }
public void DepartmentDictionaryUpdate(T_HR_DEPARTMENTDICTIONARY obj, ref string strMsg) { using (DepartmentDictionaryBLL bll = new DepartmentDictionaryBLL()) { bll.DepartmentDictionaryUpdate(obj, ref strMsg); } }