示例#1
0
        public Response DeleteComment(string name, string ideaId, string commentId, string email, string author)
        {
            bool result = _iIdeaRepository.DeleteComment(ideaId, commentId, email, author);

            if (result)
            {
                return(new Response(result, "Comment has been deleted successfully"));
            }
            else
            {
                return(new Response(result, "Delete comment failed"));
            }
        }