Building successfull urls

This commit is contained in:
Paul Schneider 2017-05-16 02:16:09 +02:00
commit 7bca9b1e50
10 changed files with 51 additions and 37 deletions

View file

@ -106,7 +106,9 @@ namespace Yavsc.Controllers
{
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);
}