Exemplo n.º 1
0
 // POST: api/FlightDetails
 public IEnumerable <SearchFlight2_Result> Post([FromBody] FlightSearch value)
 {
     return(db.SearchFlight2(value.deptCityName, value.arrivalCityName, value.deptdate.Date, value.returndate.Date, value.Passenger));
 }