Esempio n. 1
0
        private async Task HandleCommonStuff(OrderBase order)
        {
            var id = await _identityGenerator.GenerateNewIdAsync();

            order.Id         = id;
            order.Status     = OrderStatus.Registered;
            order.Registered = DateTime.UtcNow;
        }