示例#1
0
        public Response PickIdeaAccept(string name, string ideaId, string email, string author, string userComments)
        {
            InviteeList inviteeList = _iIdeaRepository.PickIdeaAccept(ideaId, email, author, userComments);

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