示例#1
0
        public async Task <ActionResult <IEnumerable <string> > > ListVehicleImagesAsync(
            [FromHeader(Name = "x-api-key")] string apiKey,
            [FromRoute(Name = "plate")] string plate,
            CancellationToken cancellationToken)
        {
            var images = await _vehicleFacade.ListVehicleImagesAsync(plate, cancellationToken);

            if (images != null)
            {
                return(Ok(images));
            }
            return(NoContent());
        }