// GET: Checkout public ActionResult Index() { CheckoutMpService checkout = new CheckoutMpService(); ArticuloViewModel miArticulo = new ArticuloViewModel(); miArticulo.InitPoint = checkout.CrearPreferencia(miArticulo)?.InitPoint; return(View(miArticulo)); }
public IActionResult Compras() { CheckoutMpService checkout = new CheckoutMpService(); ArticuloViewModel articulo = new ArticuloViewModel() { }; articulo.Id = checkout.CrearPreferencia(articulo); return(View(articulo)); }