Building successfull urls

This commit is contained in:
2017-05-16 02:16:09 +02:00
parent 3ea7f3e933
commit 60c81070c0
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);
}