public IHttpActionResult Puttbl_FlightDetails(string id, proc_ShowFlight_Result flight)
        {
            if (!ModelState.IsValid)
            {
                return(BadRequest(ModelState));
            }

            if (id != flight.FlightId)
            {
                return(BadRequest());
            }
            db.proc_EditFlight(id, flight.FlightStatus);

            //db.Entry(flight).State = EntityState.Modified;


            db.SaveChanges();


            return(Ok(flight));
        }