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