protected void AgregarAlCarrito(string IdArticulo, string cant) { try { Articulo articuloParaAgregar = new Articulo(); articuloParaAgregar = lista.Find(articulo => articulo.ID_Articulo == Convert.ToInt32(IdArticulo)); carrito.AgregarArticulos(articuloParaAgregar, Convert.ToInt32(cant)); } catch (Exception) { throw; } }