public ActionResult Data(int location) { // get locations this user has access to var locations = new LinqMetaData().Location.WithPermissions().ToList(); Location = locations.ElementAt(Math.Abs(location % locations.Count())); Response.Cache.SetCacheability(HttpCacheability.NoCache); Response.Cache.SetNoStore(); return(View(this)); }