public void ExecuteAction()
        {
            switch (warehouseAction)
            {
            case WarehouseAction.Add:
                warehouse.AddStoredProduct(storedProduct);
                IsCommandExecuted = true;
                break;

            case WarehouseAction.Remove:
                warehouse.RemoveStoredProduct(storedProduct);
                IsCommandExecuted = true;
                break;

            case WarehouseAction.Edit:
                warehouse.EditStoredProduct(oldStoredProduct, newStoredProduct);
                IsCommandExecuted = true;
                break;

            case WarehouseAction.Print:
                warehouse.PrintStoredProducts();
                IsCommandExecuted = true;
                break;

            case WarehouseAction.Increase:
                warehouse.IncreasePrice(storedProduct, amount);
                IsCommandExecuted = true;
                break;

            case WarehouseAction.Decrease:
                IsCommandExecuted = warehouse.DecreasePrice(storedProduct, amount);
                break;
            }
        }