예제 #1
0
 public string EditNewsItemUrl( NewsItemSummary newsItemSummary)
 {
     return UrlHelper.RouteUrl(Routes.NEWSITEM_EDIT, new { id = newsItemSummary.ID });
 }
예제 #2
0
 public string ViewNewsItemUrl(NewsItemSummary newsItemSummary)
 {
     return UrlHelper.RouteUrl(Routes.NEWSITEM_VIEW, new { id = newsItemSummary.ID });
 }
예제 #3
0
 public static string EditNewsItemUrl(this HtmlHelper helper, NewsItemSummary newsItemSummary)
 {
     return IOCHelper.GetRouteHelpers().EditNewsItemUrl(newsItemSummary);
 }