コード例 #1
0
        public async Task <IActionResult> Get()
        {
            Logger.Info("AUTKO");
            var vehicles = await _vehicleProvider.BrowseAsync();

            return(Json(vehicles));
        }
コード例 #2
0
        //endpoint in API that retunrs list of availabe of vehicles
        public async Task <IActionResult> Get()
        {
            var vehicles = await _provider.BrowseAsync();

            return(Json(vehicles));
        }