示例#1
0
 public int DeleteComment(int id)
 {
     return(Comment_Repo.Delete(id));
 }
示例#2
0
 public Comment GetCommentById(int id)
 {
     return(Comment_Repo.GetCommentById(id));
 }
示例#3
0
 // Manage Comments //
 public int CreateComment(Comment comment)
 {
     return(Comment_Repo.Create(comment));
 }