public Response RejectIdea(string name, String ideaId, string email, string author, string userComments) { InviteeList inviteeList = _iIdeaRepository.RejectIdea(ideaId, email, author, userComments); if (inviteeList.IsSuccess) { _email = email; _author = author; SendNotifications(inviteeList, NotificationType.RejectIdea, name, userComments, ideaId); } return(new Response(inviteeList.IsSuccess, inviteeList.Message)); }