public Task To <TActionResult>(Expression <Func <TController, TActionResult> > action) { return(MvcApplication.Instance.Open(UrlGenerator.GenerateUrl(action))); }
public string To <TActionResult>(Expression <Func <TController, TActionResult> > action) { return(UrlGenerator.GenerateUrl(action)); }
public void To <TActionResult>(Expression <Func <TController, TActionResult> > action, Action continuation) { MvcApplication.Instance.Open(UrlGenerator.GenerateUrl(action), continuation); }