示例#1
0
        public IActionResult AddAndReturnData(Car car)
        {
            var result = _carService.AddAndReturnData(car);

            if (result.Success)
            {
                return(Ok(result));
            }
            return(BadRequest(result));
        }