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