Beispiel #1
0
        public Response UpdateIdea(string name, Idea idea, string email, string author)
        {
            InviteeList inviteeList = _iIdeaRepository.UpdateIdea(idea, email, author);

            if (inviteeList.IsSuccess)
            {
                _email = email; _author = author;
                SendNotifications(inviteeList, NotificationType.UpdateIdea, name, "", idea.Title);
            }
            return(new Response(inviteeList.IsSuccess, inviteeList.Message));
        }