Ejemplo n.º 1
0
        public ActionResult PasgoTv(int?city)
        {
            if (city == null)
            {
                return(RedirectToAction("Index", "Home"));
            }
            var            video  = db.PasgotvSP(city);
            List <PasgoTV> result = new List <PasgoTV>();

            foreach (var rs in video.ToList())
            {
                result.Add(rs);
            }
            return(PartialView("PasgoTv", result.ToArray()));
        }