Building successfull urls
This commit is contained in:
@ -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);
|
||||
}
|
||||
|
||||
|
@ -76,11 +76,7 @@ namespace Yavsc.Controllers
|
||||
.Include(a=>a.Forms).Include(a=>a.Children)
|
||||
.Where(a=>!a.Hidden)
|
||||
.Where(a=> a.ParentCode==id).OrderByDescending(a=>a.Rate));
|
||||
|
||||
}
|
||||
|
||||
|
||||
|
||||
}
|
||||
public IActionResult About()
|
||||
{
|
||||
|
Reference in New Issue
Block a user