コード例 #1
0
        public IActionResult Get(long id)
        {
            var vehicle = _vehicleBusiness.FindById(id);

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