コード例 #1
0
        public IActionResult Get([FromQuery] string model)
        {
            var vehicle = _vehicleBusiness.FindByModel(model);

            if (vehicle == null)
            {
                return(NotFound());
            }
            return(Ok(vehicle));
        }