public ActionResult LoadCurrentDestinations(string c, int o) { if (Session["LoggedUserID"] is null) { return(RedirectToAction("Index", "Login")); } DataAbstractionLayer dal = new DataAbstractionLayer(); Console.Write(Request.Form); List <Destination> destinations = dal.GetDestinationsFromCountry(c, o); ViewData["CurrentDestinations"] = destinations; ViewData["Country"] = c; ViewData["Offset"] = o; return(View("BrowseView")); }