// GET: api/AddFlight public List <proc_ShowFlight_Result> Gettbl_FlightDetails() { List <proc_ShowFlight_Result> flight = new List <proc_ShowFlight_Result>(); foreach (var item in db.proc_ShowFlight()) { flight.Add(item); } return(flight); }