コード例 #1
0
        public async Task <ActionResult <CustomerBasket> > GetBasketById(string id)
        {
            var basket = await _basketRepo.GetBacketAsync(id);

            return(Ok(basket ?? new CustomerBasket(id)));
        }