public Task <string> GetTimeZoneJsonFromLatLonAsync(string lat, string lon)
        {
            var rootPath = MockBusLocator.GetTestProjectRootFolder();
            var json     = LoadJson(Path.Combine(rootPath, "Location.json"));

            return(Task.FromResult(json));
        }
Beispiel #2
0
        public Task <string> GetJsonForStopsFromLatLongAsync(string lat, string lon)
        {
            var rootPath = MockBusLocator.GetTestProjectRootFolder();
            var json     = LoadJson(Path.Combine(rootPath, "StopsForLoc.json"));

            return(Task.FromResult(json));
        }
Beispiel #3
0
        public Task <string> GetJsonForStopsAsync()
        {
            var rootPath = MockBusLocator.GetTestProjectRootFolder();
            var json     = LoadJson(Path.Combine(rootPath, "routes.json"));

            return(Task.FromResult(json));
        }
Beispiel #4
0
        public Task <string> GetJsonForArrivals(string stopId)
        {
            var rootPath = MockBusLocator.GetTestProjectRootFolder();
            var json     = LoadJson(Path.Combine(rootPath, "Arrivals.json"));

            return(Task.FromResult(json));
        }