public async Task <ApiResponse <Invite> > Handle(InviteMemberCommand request, CancellationToken cancellationToken) { var invite = new Invite(request.MemberId, request.GuildId); return(new ApiResponse <Invite>(await _inviteRepository.InsertAsync(invite, cancellationToken))); }