retun the model object
This commit is contained in:
parent
ccb97c219c
commit
01a7154f85
1 changed files with 4 additions and 4 deletions
|
|
@ -715,11 +715,11 @@ 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);
|
||||
return View(info);
|
||||
ViewData["id"] = id;
|
||||
var info = await PayPalHelpers.GetCheckoutInfo(_dbContext,id);
|
||||
return View(info);
|
||||
}
|
||||
|
||||
public IActionResult PaymentError (string id, string error)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue