public Response EditComment(string name, string ideaId, string commentId, string email, string author, bool commentType, long commentParentId, string userComments) { bool result = _iIdeaRepository.EditComment(ideaId, commentId, email, author, true, commentParentId, userComments); if (result) { return(new Response(result, "Comment has been edited successfully")); } else { return(new Response(result, "Edit comment failed")); } }