Exemplo n.º 1
0
        public async Task <IActionResult> Get()
        {
            Logger.Info("AUTKO");
            var vehicles = await _vehicleProvider.BrowseAsync();

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

            return(Json(vehicles));
        }