예제 #1
0
 public IEnumerable<Articles> GetAllArticlesByCategory(int ID)
 {
     blogDataOperate Operate = new blogDataOperate();
     return Operate.getAllArticlesByCategory(ID);
     //blogDataOperate Operate = new blogDataOperate();
     //return Operate.loadArticlesBywriterID(categoryID);
 }
예제 #2
0
 public bool GetdeleteArticle(int ID)
 {
     blogDataOperate Operate = new blogDataOperate();
     return Operate.deleteArticle(ID);
 }
예제 #3
0
 public Articles GetArticleByArticleID(int ID)
 {
     blogDataOperate Operate = new blogDataOperate();
     return Operate.loadArticleByArticleID(ID);
 }
예제 #4
0
 public IEnumerable<Messages> GetAllMessagesByUser(int ID)
 {
     blogDataOperate Operate = new blogDataOperate();
     return Operate.getAllMessagesByUser(ID);
 }
예제 #5
0
 public IEnumerable<Comments> GetAllCommentsByArticleID(int ID)
 {
     blogDataOperate Operate = new blogDataOperate();
     return Operate.getAllCommentsByArticleID(ID);
 }
예제 #6
0
 public IEnumerable<Collection> GetAllCollectionsByHostID(int ID)
 {
     blogDataOperate Operate = new blogDataOperate();
     return Operate.getAllCollectionsByHostID(ID);
 }
예제 #7
0
 public IEnumerable<Articles> GetAllArticlesBywriterID(int ID)
 {
     blogDataOperate Operate = new blogDataOperate();
     return Operate.loadArticlesBywriterID(ID);
 }
예제 #8
0
 public Info GetUserInfoByUser(int ID)
 {
     blogDataOperate Operate = new blogDataOperate();
     return Operate.loadUserInfoByUser(ID);
 }
예제 #9
0
 public bool deleteMessage(int ID)
 {
     blogDataOperate Operate = new blogDataOperate();
     return Operate.deleteMessage(ID);
 }
예제 #10
0
 public userBasic GettryLogIn(string username, string userpwd)
 {
     blogDataOperate Operate = new blogDataOperate();
     return Operate.tryLogIn(username, userpwd);
 }
예제 #11
0
 public string GetSenderName(int ID)
 {
     blogDataOperate Operate = new blogDataOperate();
     return Operate.Getsendername(ID);
 }
예제 #12
0
 public Messages GetMessagesByUser(int ID)
 {
     blogDataOperate Operate = new blogDataOperate();
     return Operate.loadMessagesByUser(ID);
 }
예제 #13
0
 public HeadImg GetHeadImgByUser(int ID)
 {
     blogDataOperate Operate = new blogDataOperate();
     return Operate.loadHeadImgByUser(ID);
 }
예제 #14
0
 public bool GetdeleteCollection(int ID)
 {
     blogDataOperate Operate = new blogDataOperate();
     return Operate.deleteCollection(ID);
 }