public IActionResult ArchiveFilter(AllFlightsViewModel model) { FlightFilteringAndPaging.ClearFilter(); FlightFilteringAndPaging.FilterType = model.FilterType; FlightFilteringAndPaging.Filter = model.Filter; return(View("FlightsArchive", GetFlightsArchive())); }
public IActionResult FlightsFilter(AllFlightsViewModel model) { FlightFilteringAndPaging.ClearFilter(); FlightFilteringAndPaging.FilterType = model.FilterType; FlightFilteringAndPaging.Filter = model.Filter; return(View("Flights", GetAllUpcomingFlights())); }
public IActionResult ClearArchiveFilter() { FlightFilteringAndPaging.ClearFilter(); return(View("FlightsArchive", GetFlightsArchive())); }
public IActionResult ClearFlightsFilter() { FlightFilteringAndPaging.ClearFilter(); return(View("Flights", GetAllUpcomingFlights())); }