// GET: Productos public ActionResult Index() { this.SessionOnline(); var productos = ProductosService.ObtenerLista(null); if (TempData.ContainsKey("msg")) { ViewData["msg"] = TempData["msg"].ToString(); } return(View(productos)); }