Thursday, 22 May 2014

ASP.NET MVC + T4MVC: How to generate url

If you need to generate a URL link in ASP.NET MVC within your view or controller logic with help of T4MVC, just use the following syntax:
Url.Action(MVC.Offer.Edit(offer.Id))