public ActionResult BuscarClienteExcursion(ViewModels.ViewModelBuscarExcursionXCi NuevaBusqueada)
        {
            List <Excursion> ExcursionesPorCI = db.Excursiones.Where(m => m.Cliente.Ci == NuevaBusqueada.Ci).ToList();

            if (ExcursionesPorCI.Count() == 0)
            {
                return(RedirectToAction("BuscarClienteExcursion", "Excursiones"));
            }
            NuevaBusqueada.Excursiones = ExcursionesPorCI;
            return(View(NuevaBusqueada));
        }
        public ActionResult BuscarClienteExcursion()
        {
            if (System.Web.HttpContext.Current.Session["ingreso"] != null)
            {
                if ((Boolean)Session["ingreso"] == true)
                {
                    var model = new ViewModels.ViewModelBuscarExcursionXCi()
                    {
                        Excursiones = new List <Excursion>(),
                        Ci          = 0
                    };
                    return(View(model));
                }
            }

            return(RedirectToAction("Login", "Home"));
        }