示例#1
0
        public Response CommentIdea(string name, string ideaId, string email, string author, bool commentType, long commentParentId, string userComments)
        {
            InviteeList inviteeList = _iIdeaRepository.CommentIdea(ideaId, email, author, commentType, commentParentId, userComments);

            if (inviteeList.IsSuccess)
            {
                _email = email; _author = author;
                SendNotifications(inviteeList, NotificationType.CommentIdea, name, userComments, ideaId);
            }
            return(new Response(inviteeList.IsSuccess, inviteeList.Message));
        }