Ejemplo n.º 1
0
        // 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));
 }