public void DeleteNewsRelation(string strId, int newsID) { string restr = strId.Remove(strId.LastIndexOf(",")).Replace(",", "','"); NewsRelationDAO newsRelationDAO = new NewsRelationDAO(); newsRelationDAO.DeleteNewsRelation(restr, newsID); }
public DataTable GetNewsRelationAll() { NewsRelationDAO newsRelationDAO = new NewsRelationDAO(); return(newsRelationDAO.GetNewsRelationAll()); }
public DataTable GetNewsRelationPaging(string lang, int newsID, PagingInfo _paging) { NewsRelationDAO newsRelationDAO = new NewsRelationDAO(); return(newsRelationDAO.GetNewsRelationPaging(lang, newsID, _paging)); }
public NewsRelation GetNewsRelationByID(int newsGroupID, int newsID) { NewsRelationDAO newsRelationDAO = new NewsRelationDAO(); return(newsRelationDAO.GetNewsRelationByID(newsGroupID, newsID)); }
public DataTable GetNewsRelationByNewsID(int newsID) { NewsRelationDAO newsRelationDAO = new NewsRelationDAO(); return(newsRelationDAO.GetNewsRelationByNewsID(newsID)); }
public void DeleteNewsRelation(int Id) { NewsRelationDAO newsRelationDAO = new NewsRelationDAO(); newsRelationDAO.DeleteNewsRelation(Id); }
public void UpdateNewsRelation(NewsRelation newsRelation) { NewsRelationDAO newsRelationDAO = new NewsRelationDAO(); newsRelationDAO.UpdateNewsRelation(newsRelation); }
public int CreateNewsRelationGet(NewsRelation newsRelation) { NewsRelationDAO newsRelationDAO = new NewsRelationDAO(); return(newsRelationDAO.CreateNewsRelationGet(newsRelation)); }