Пример #1
0
 public void SetSaveLocalBlindspotsAction <TController>(Expression <Action <TController> > action)
     where TController : Controller
 {
     this.SetOption("actionSaveLocal", urlHelper.ActionFor(action));
 }
Пример #2
0
        public void SetSource <TController>(Expression <Action <TController> > source, UrlHelper urlHelper) where TController : Controller
        {
            var url = urlHelper.ActionFor(source);

            SetOption("source", url);
        }