Esempio n. 1
0
 public string EditTrackUrl(TrackSummary trackSummary)
 {
     return UrlHelper.RouteUrl(Routes.TRACK_EDIT, new { id = trackSummary.ID });
 }
Esempio n. 2
0
 public string ViewTrackUrl(TrackSummary trackSummary)
 {
     return UrlHelper.RouteUrl(Routes.ARTIST_TRACK, new { name = trackSummary.ArtistProfileAddress, id = trackSummary.ID });
 }
Esempio n. 3
0
 public static string ViewTrackUrl(this HtmlHelper helper, TrackSummary trackSummary)
 {
     return IOCHelper.GetRouteHelpers().ViewTrackUrl(trackSummary);
 }