예제 #1
0
 /// <summary>
 ///     Haal trams op met locatie.
 /// </summary>
 /// <param name="location"></param>
 /// <returns></returns>
 public List <Tram> GetAllTramsWithLocation(TramLocation location)
 {
     return(ObjectCreator.GenerateListWithFunction(_tramContext.GetAllTramsWithLocation(location),
                                                   _objectCreator.CreateTram));
 }
예제 #2
0
 /// <summary>
 /// Haal trams op met locatie.
 /// </summary>
 /// <param name="location"></param>
 /// <returns></returns>
 public List <Tram> GetAllTramsWithLocation(TramLocation location)
 {
     return(TramContext.GetAllTramsWithLocation(location));
 }