Esempio n. 1
0
        public async Task <IActionResult> GetCars()
        {
            var cars = await _shippingrepo.GetCars();

            if (cars == null)
            {
                return(BadRequest("No cars yet"));
            }

            return(Ok(cars));
        }