Ejemplo n.º 1
0
        public ActionResult indexPartial(string platform)
        {
            if (Session["platformKey"] == null)
            {
                platform = "ps4";
            }
            else
            {
                platform = Session["platformKey"].ToString();
            }

            model.makeModel();

            var newModel = model.smsList.ToList().Where(w => w.platform == platform);

            return(PartialView("indexPartial", newModel));
        }