コード例 #1
0
 /// <summary>
 /// Get Request of Create Action
 /// Returns a create view for Flight
 /// </summary>
 /// <returns></returns>
 public ActionResult Create()
 {
     ViewBag.AirlineId   = new SelectList(flightMgr.GetAllAirline(), "AirlineId", "AirlineName");
     ViewBag.TravelClass = flightMgr.GetAllTravelClass();
     return(View());
 }