public async Task <IActionResult> Get(int id)
        {
            PlaneDTO temp = await planeService.GetPlaneById(id);

            if (temp != null)
            {
                return(Ok(temp));
            }
            else
            {
                return(BadRequest());
            }
        }
        public PlaneDTO Get(int id)
        {
            PlaneDTO temp = planeService.GetPlaneById(id);

            if (temp != null)
            {
                Response.StatusCode = 200;
            }
            else
            {
                Response.StatusCode = 404;
            }

            return(temp);
        }