コード例 #1
0
 public ActionResult UpdateRecord(string PnrNumber, BookingFlight Userdata)
 {
     try
     {
         flight.UpdateRecord(PnrNumber, Userdata);
         return(Ok("data is successfully updated"));
     }
     catch (Exception)
     {
         return(BadRequest("Error Is Occured"));
     }
 }