Beispiel #1
0
        public async Task RegisterAsync(string subscriberId)
        {
            await _subscriptions.AddSubscriberAsync(subscriberId);

            await _connections.AddAsync(subscriberId, new User
            {
                Name = subscriberId, Guid = Guid.NewGuid()
            });
        }