示例#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));
 }