public void Post([FromBody] PlaneDTO plane)
 {
     if (ModelState.IsValid)
     {
         Response.StatusCode = 200;
         planeService.CreatePlane(plane);
     }
     else
     {
         Response.StatusCode = 400;
     }
 }
        public async Task <IActionResult> Post([FromBody] InputPlaneDTO plane)
        {
            if (ModelState.IsValid)
            {
                //Response.StatusCode = 200;
                await planeService.CreatePlane(plane);

                return(Ok(plane));
            }
            else
            {
                return(BadRequest());
            }
        }