Exemplo n.º 1
0
        public IActionResult DeleteBasket(string consumerId,
                                          string basketId)
        {
            _deleteBasketCommand.Do(new BasketId(basketId, consumerId));

            return(Accepted());
        }
Exemplo n.º 2
0
        private void DeleteBasket()
        {
            DeleteBasketCommand command = new DeleteBasketCommand(_basketRepository);

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