public IActionResult DeleteBasket(string consumerId, string basketId) { _deleteBasketCommand.Do(new BasketId(basketId, consumerId)); return(Accepted()); }
private void DeleteBasket() { DeleteBasketCommand command = new DeleteBasketCommand(_basketRepository); command.Do(new BasketId(_basketId, _consumerId)); }