public AccidentStatisticsService(ITransportForLondonClient transportForLondonClient) { this._transportForLondonClient = transportForLondonClient; _sortOptions = new Dictionary <string, SortOptions <AccidentStatistic> >(StringComparer.InvariantCultureIgnoreCase) { { "DateAscending", ByDateAscending }, { "LocationAscending", ByLocationAscending }, { "DateDescending", ByDateDescending }, { "LocationDescending", ByLocationDescending }, }; }
public ApplicationCommand(ITransportForLondonClient transportForLondonClient, ILogger logger) { this._transportForLondonClient = transportForLondonClient; this._logger = logger; }