private void Update(int id, int newqty)
    {
        ProcessUpdateShoppingCart processupdate = new ProcessUpdateShoppingCart();

        LittleItalyVineyard.Common.ShoppingCart shoppingcart = new LittleItalyVineyard.Common.ShoppingCart();
        shoppingcart.Quantity       = newqty;
        shoppingcart.ShoppingCartID = id;
        processupdate.ShoppingCart  = shoppingcart;

        processupdate.Invoke();
    }
    private void Update(int id, int newqty)
    {
        ProcessUpdateShoppingCart processupdate = new ProcessUpdateShoppingCart();

        LittleItalyVineyard.Common.ShoppingCart shoppingcart = new LittleItalyVineyard.Common.ShoppingCart();
        shoppingcart.Quantity       = newqty;
        shoppingcart.ShoppingCartID = id;
        processupdate.ShoppingCart  = shoppingcart;

        try
        {
            processupdate.Invoke();
        }
        catch
        {
            Response.Redirect("ErrorPage.aspx");
        }
    }