Exemple #1
0
 public FormTag(TModel model)
     : base(UrlRoute.For(model))
 {
 }
Exemple #2
0
 public FormTag()
     : base(UrlRoute.For <TModel>())
 {
 }
 public string UrlFor <TModel>()
 {
     return(UrlRoute.For <TModel>());
 }
 public string UrlFor <TModel>(TModel model)
 {
     return(UrlRoute.For(model));
 }
Exemple #5
0
 public static string For <TModel, TRouteModel>(this UrlHelpers <TModel> helper, TRouteModel routeModel)
 {
     return(UrlRoute.For(routeModel));
 }