public ActionResult Index(int?numeroPropuesta, string fecha, string dni, string nombre)
        {
            //string vFecha = "2015/02/03";

            var propuestaSolucion = new PropuestaSolucionBusiness().ListarPropuestaSolucion(
                numeroPropuesta, fecha, dni, nombre).ToList();

            ViewBag.ParamCodigo = numeroPropuesta;
            ViewBag.ParamFecha  = fecha;
            ViewBag.ParamDni    = dni;
            ViewBag.ParamNombre = nombre;

            var propuestaVm = propuestaSolucion.ConvertAll(p => new PropuestaSolucionViewModel
            {
                Codigo          = p.Cod_Prop_Sol,
                DNIProspecto    = p.Prospecto.Num_DNI,
                NombreProspecto = p.Prospecto.Txt_Pros,
                FechaNacimiento = p.Fec_Nac.ToShortDateString(),
                FechaRegistro   = p.Fec_Crea.ToShortDateString(),
                MontoAsegurado  = p.Ss_Mon_Aseg,
                MontoPrima      = p.Ss_Mon_Prim,
                MontoRetorno    = p.Ss_Mon_Ret
            });

            return(View("Index", propuestaVm));
        }
        public ActionResult Index()
        {
            var propuestaSolucion = new PropuestaSolucionBusiness().ListarPropuestaSolucion().ToList();
            var propuestaVm       = propuestaSolucion.ConvertAll(p => new PropuestaSolucionViewModel
            {
                Codigo          = p.Cod_Prop_Sol,
                DNIProspecto    = p.Prospecto.Num_DNI,
                NombreProspecto = p.Prospecto.Txt_Pros,
                FechaNacimiento = p.Fec_Nac.ToShortDateString(),
                FechaRegistro   = p.Fec_Crea.ToShortDateString(),
                MontoAsegurado  = p.Ss_Mon_Aseg,
                MontoPrima      = p.Ss_Mon_Prim,
                MontoRetorno    = p.Ss_Mon_Ret
            });

            return(View(propuestaVm));
        }