public void AcceptTeamMemberInvite(CompanyTeamMemberInvite invite) { if (invite.ResultantUserId != null) { _companyRepository.AcceptTeamMemberInvite(invite.ResultantUserId.Value, invite.UniqueId.ToString()); } }