Beispiel #1
0
 private CommentResponse ChangeToResopnse(Wp_comment entity)
 {
     return(new CommentResponse()
     {
         Id = entity.comment_ID,
         Author = entity.comment_author,
         AuthorEmail = entity.comment_author_email,
         IP = entity.comment_author_IP,
         CommentDate = entity.comment_date,
         Content = entity.comment_content
     });
 }
Beispiel #2
0
 public void Remove(Wp_comment entity)
 {
     _repository.Delete(entity);
 }
Beispiel #3
0
 public void Update(Wp_comment comment)
 {
     _repository.Update(comment);
 }