Exemple #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));
 }
 /// <summary>
 /// Haal trams op met locatie.
 /// </summary>
 /// <param name="location"></param>
 /// <returns></returns>
 public List <Tram> GetAllTramsWithLocation(TramLocation location)
 {
     return(TramContext.GetAllTramsWithLocation(location));
 }