Exemple #1
0
        public async Task Create(Domain.Basket basket)
        {
            var baskets = await _fakeDB.BasketsAsync();

            if (basket.CustomerGuid == Guid.Empty)
            {
                basket.CustomerGuid = Guid.NewGuid();
            }
            baskets.Add(basket);
        }