Fixes the client cancel

This commit is contained in:
Paul Schneider 2017-05-16 02:27:05 +02:00
commit 893d5a5ecf

View file

@ -61,6 +61,10 @@ namespace Yavsc.Controllers
{ {
return HttpNotFound(); return HttpNotFound();
} }
ViewBag.CreatePaymentUrl = Request.ToAbsolute("api/haircut/createpayment/"+id);
ViewBag.ExecutePaymentUrl = Request.ToAbsolute("api/payment/execute");
ViewBag.Urls=Request.GetPaymentUrls("HairCutCommand",id.ToString());
return View (command); return View (command);
} }
public async Task<IActionResult> ClientCancelConfirm(long id) public async Task<IActionResult> ClientCancelConfirm(long id)