// GET: Passengers public ActionResult Index() { return(View("/Views/Passengers/Index.cshtml", _passengers.GetPassengers())); }
public IEnumerable <PassengerDetails> Get() { return(_repo.GetPassengers()); }
// GET: Passengers public ActionResult Index() { return(View("/Views/Passengers/Index.cshtml", _passengers.GetPassengers())); }
public IEnumerable <PassengerDetails> Get() { return(_repo.GetPassengers()); }