Ejemplo n.º 1
0
        public void DeleteNewsRelation(string strId, int newsID)
        {
            string          restr           = strId.Remove(strId.LastIndexOf(",")).Replace(",", "','");
            NewsRelationDAO newsRelationDAO = new NewsRelationDAO();

            newsRelationDAO.DeleteNewsRelation(restr, newsID);
        }
Ejemplo n.º 2
0
        public DataTable GetNewsRelationAll()
        {
            NewsRelationDAO newsRelationDAO = new NewsRelationDAO();

            return(newsRelationDAO.GetNewsRelationAll());
        }
Ejemplo n.º 3
0
        public DataTable GetNewsRelationPaging(string lang, int newsID, PagingInfo _paging)
        {
            NewsRelationDAO newsRelationDAO = new NewsRelationDAO();

            return(newsRelationDAO.GetNewsRelationPaging(lang, newsID, _paging));
        }
Ejemplo n.º 4
0
        public NewsRelation GetNewsRelationByID(int newsGroupID, int newsID)
        {
            NewsRelationDAO newsRelationDAO = new NewsRelationDAO();

            return(newsRelationDAO.GetNewsRelationByID(newsGroupID, newsID));
        }
Ejemplo n.º 5
0
        public DataTable GetNewsRelationByNewsID(int newsID)
        {
            NewsRelationDAO newsRelationDAO = new NewsRelationDAO();

            return(newsRelationDAO.GetNewsRelationByNewsID(newsID));
        }
Ejemplo n.º 6
0
        public void DeleteNewsRelation(int Id)
        {
            NewsRelationDAO newsRelationDAO = new NewsRelationDAO();

            newsRelationDAO.DeleteNewsRelation(Id);
        }
Ejemplo n.º 7
0
        public void UpdateNewsRelation(NewsRelation newsRelation)
        {
            NewsRelationDAO newsRelationDAO = new NewsRelationDAO();

            newsRelationDAO.UpdateNewsRelation(newsRelation);
        }
Ejemplo n.º 8
0
        public int CreateNewsRelationGet(NewsRelation newsRelation)
        {
            NewsRelationDAO newsRelationDAO = new NewsRelationDAO();

            return(newsRelationDAO.CreateNewsRelationGet(newsRelation));
        }