public static IEnumerable <TrainingRouteVideo> TrainingRouteVideosByRouteId(string routeId)
 {
     return(TrainingRouteVideos.Where(x => x.Route == routeId));
 }
Esempio n. 2
0
 public static TrainingRouteVideo TrainingRouteVideoById(string videoId)
 {
     return(TrainingRouteVideos.Where(x => x.VideoID == videoId).Single());
 }