Example #1
0
        public DataTable GetCateNewsGroupAll(string _lang, string username)
        {
            CateNewsGroupDAO cateNewsGroupDAO = new CateNewsGroupDAO();

            return(cateNewsGroupDAO.GetCateNewsGroupAll(_lang, username));
        }
Example #2
0
        public DataTable GetCateNewsGroupViewAll(string _lang)
        {
            CateNewsGroupDAO cateNewsGroupDAO = new CateNewsGroupDAO();

            return(cateNewsGroupDAO.GetCateNewsGroupViewAll(_lang));
        }
Example #3
0
        public string GetSlugById(int Id)
        {
            CateNewsGroupDAO cateNewsGroupDAO = new CateNewsGroupDAO();

            return(cateNewsGroupDAO.GetSlugById(Id));
        }
Example #4
0
        public CateNewsGroup GetCateNewsGroupByGroupCate(int groupcate, string _lang)
        {
            CateNewsGroupDAO cateNewsGroupDAO = new CateNewsGroupDAO();

            return(cateNewsGroupDAO.GetCateNewsGroupByGroupCate(groupcate, _lang));
        }
Example #5
0
        public void DeleteCateNewsGroup(int Id)
        {
            CateNewsGroupDAO cateNewsGroupDAO = new CateNewsGroupDAO();

            cateNewsGroupDAO.DeleteCateNewsGroup(Id);
        }
Example #6
0
        public CateNewsGroup GetCateNewsGroupById(int Id)
        {
            CateNewsGroupDAO cateNewsGroupDAO = new CateNewsGroupDAO();

            return(cateNewsGroupDAO.GetCateNewsGroupById(Id));
        }
Example #7
0
        public void UpdateCateNewsGroup(CateNewsGroup cateNewsGroup)
        {
            CateNewsGroupDAO cateNewsGroupDAO = new CateNewsGroupDAO();

            cateNewsGroupDAO.UpdateCateNewsGroup(cateNewsGroup);
        }
Example #8
0
        /// <summary>
        /// Thay doi gia tri Menu
        /// </summary>
        /// <param name="cId"></param>
        /// <param name="cOrder"></param>
        public void CateNewsGroupUpMenu(int cId, int _menu)
        {
            CateNewsGroupDAO catenewsGroupDAO = new CateNewsGroupDAO();

            catenewsGroupDAO.CateNewsGroupUpMenu(cId, _menu);
        }
Example #9
0
        /// <summary>
        /// Thay doi thu tu Danh muc
        /// </summary>
        /// <param name="cId"></param>
        /// <param name="cOrder"></param>
        public void CateNewsGroupUpOrder(int cId, int cOrder)
        {
            CateNewsGroupDAO catenewsGroupDAO = new CateNewsGroupDAO();

            catenewsGroupDAO.CateNewsGroupUpOrder(cId, cOrder);
        }
Example #10
0
        public DataTable GetCateNewsGroupByMenu(int _menu, string _lang)
        {
            CateNewsGroupDAO cateNewsGroupDAO = new CateNewsGroupDAO();

            return(cateNewsGroupDAO.GetCateNewsGroupByMenu(_menu, _lang));
        }
Example #11
0
        public int CreateCateNewsGroup(CateNewsGroup cateNewsGroup)
        {
            CateNewsGroupDAO cateNewsGroupDAO = new CateNewsGroupDAO();

            return(cateNewsGroupDAO.CreateCateNewsGroup(cateNewsGroup));
        }