retun the model object

main
Paul Schneider 9 years ago
parent 9072e2416f
commit d430a9483e
1 changed files with 4 additions and 4 deletions

@ -715,10 +715,10 @@ namespace Yavsc.Controllers
ViewBag.GoogleSettings = _googleSettings;
return View(model);
}
public IActionResult PaymentInfo (string id)
public async Task<IActionResult> PaymentInfo (string id)
{
ViewData["id"] = id;
var info = PayPalHelpers.GetCheckoutInfo(_dbContext,id);
var info = await PayPalHelpers.GetCheckoutInfo(_dbContext,id);
return View(info);
}

Loading…