예제 #1
0
        public async Task <IActionResult> AddItems(long userId, [FromBody] IEnumerable <BasketItemDto> items)
        {
            var basket = await _repository.AddItemsToBasket(userId, items);

            return(new ObjectResult(basket));
        }