// add comment public string AddComment(Comment comment) { int rowsAffected = commentGateway.AddComment(comment); if (rowsAffected > 0) { return("Added Comment Successfully"); } else { return("Failed to Add Comment"); } }
public int AddComment(CommentAdd comment) { return(commentGateway.AddComment(comment)); }