public DougResponse AcceptInvite(Party party, User user) { if (party.Users.Count >= 3) { return(new DougResponse(DougMessages.PartyFull)); } if (_partyRepository.GetPartyByUser(user.Id) != null) { return(new DougResponse(DougMessages.UserHasParty)); } _partyRepository.AddUserToParty(party.Id, user.Id); return(new DougResponse(DougMessages.JoinedParty)); }