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 }); }
public void Remove(Wp_comment entity) { _repository.Delete(entity); }
public void Update(Wp_comment comment) { _repository.Update(comment); }