コード例 #1
0
        public IActionResult DeleteBasket(string consumerId,
                                          string basketId)
        {
            _deleteBasketCommand.Do(new BasketId(basketId, consumerId));

            return(Accepted());
        }
コード例 #2
0
        private void DeleteBasket()
        {
            DeleteBasketCommand command = new DeleteBasketCommand(_basketRepository);

            command.Do(new BasketId(_basketId, _consumerId));
        }