Beispiel #1
0
 public IActionResult ArchiveFilter(AllFlightsViewModel model)
 {
     FlightFilteringAndPaging.ClearFilter();
     FlightFilteringAndPaging.FilterType = model.FilterType;
     FlightFilteringAndPaging.Filter     = model.Filter;
     return(View("FlightsArchive", GetFlightsArchive()));
 }
Beispiel #2
0
 public IActionResult FlightsFilter(AllFlightsViewModel model)
 {
     FlightFilteringAndPaging.ClearFilter();
     FlightFilteringAndPaging.FilterType = model.FilterType;
     FlightFilteringAndPaging.Filter     = model.Filter;
     return(View("Flights", GetAllUpcomingFlights()));
 }
Beispiel #3
0
 public IActionResult ClearArchiveFilter()
 {
     FlightFilteringAndPaging.ClearFilter();
     return(View("FlightsArchive", GetFlightsArchive()));
 }
Beispiel #4
0
 public IActionResult ClearFlightsFilter()
 {
     FlightFilteringAndPaging.ClearFilter();
     return(View("Flights", GetAllUpcomingFlights()));
 }