public static void UpdateItem(ShoppingCartItemVM shoppingCartItemVm) { ShoppingCartMapper shoppingCartMapper = new ShoppingCartMapper(); ShoppingCartItem shoppingCartItem = new ShoppingCartItem(shoppingCartItemVm.IdProduct, shoppingCartItemVm.Quantity); shoppingCartMapper.UpdateShoppingCartItem(shoppingCartItem); }