Exemplo n.º 1
0
        public IActionResult PostBasket(string consumerId)
        {
            string basketId = _createBasketCommand.Do(consumerId);

            return(GetBasket(consumerId, basketId));
        }
Exemplo n.º 2
0
        private void CreateBasket()
        {
            CreateBasketCommand command = new CreateBasketCommand(_basketRepository);

            _commandResult = command.Do(_consumerId);
        }