public IEnumerable<Articles> GetAllArticlesByCategory(int ID) { blogDataOperate Operate = new blogDataOperate(); return Operate.getAllArticlesByCategory(ID); //blogDataOperate Operate = new blogDataOperate(); //return Operate.loadArticlesBywriterID(categoryID); }
public bool GetdeleteArticle(int ID) { blogDataOperate Operate = new blogDataOperate(); return Operate.deleteArticle(ID); }
public Articles GetArticleByArticleID(int ID) { blogDataOperate Operate = new blogDataOperate(); return Operate.loadArticleByArticleID(ID); }
public IEnumerable<Messages> GetAllMessagesByUser(int ID) { blogDataOperate Operate = new blogDataOperate(); return Operate.getAllMessagesByUser(ID); }
public IEnumerable<Comments> GetAllCommentsByArticleID(int ID) { blogDataOperate Operate = new blogDataOperate(); return Operate.getAllCommentsByArticleID(ID); }
public IEnumerable<Collection> GetAllCollectionsByHostID(int ID) { blogDataOperate Operate = new blogDataOperate(); return Operate.getAllCollectionsByHostID(ID); }
public IEnumerable<Articles> GetAllArticlesBywriterID(int ID) { blogDataOperate Operate = new blogDataOperate(); return Operate.loadArticlesBywriterID(ID); }
public Info GetUserInfoByUser(int ID) { blogDataOperate Operate = new blogDataOperate(); return Operate.loadUserInfoByUser(ID); }
public bool deleteMessage(int ID) { blogDataOperate Operate = new blogDataOperate(); return Operate.deleteMessage(ID); }
public userBasic GettryLogIn(string username, string userpwd) { blogDataOperate Operate = new blogDataOperate(); return Operate.tryLogIn(username, userpwd); }
public string GetSenderName(int ID) { blogDataOperate Operate = new blogDataOperate(); return Operate.Getsendername(ID); }
public Messages GetMessagesByUser(int ID) { blogDataOperate Operate = new blogDataOperate(); return Operate.loadMessagesByUser(ID); }
public HeadImg GetHeadImgByUser(int ID) { blogDataOperate Operate = new blogDataOperate(); return Operate.loadHeadImgByUser(ID); }
public bool GetdeleteCollection(int ID) { blogDataOperate Operate = new blogDataOperate(); return Operate.deleteCollection(ID); }