public ActionResult RegistrarSegundoRepresentante(RegistroRepresentanteLegalVM RepresentanteLegal) { return(View(new RegistroSegundoRepresentanteLegalVM { Tipos = new[] { new SelectListItem { Value = "1", Text = "Nacional" }, new SelectListItem { Value = "2", Text = "DIMEX" }, new SelectListItem { Value = "3", Text = "Pasaporte" } }, CorreoElectronicoPersonaJuridica = RepresentanteLegal.CorreoElectronicoPersonaJuridica, ContrasenaPersonaJuridica = RepresentanteLegal.ContrasenaPersonaJuridica, Documento = RepresentanteLegal.Documento, CorreoRep1 = RepresentanteLegal.Correo, IdentificacionRep1 = RepresentanteLegal.Identificacion, NombreRep1 = RepresentanteLegal.Nombre, TipoIdentificacionRep1 = RepresentanteLegal.TipoSeleccionado })); }
public ActionResult RegistrarPrimerRepresentante(RegistroRepresentanteLegalVM Representante) { if (ModelState.IsValid) { return(RedirectToAction("RegistrarSegundoRepresentante", "PersonaJuridica", Representante)); } Representante.Tipos = new[] { new SelectListItem { Value = "1", Text = "Nacional" }, new SelectListItem { Value = "2", Text = "DIMEX" }, new SelectListItem { Value = "3", Text = "Pasaporte" } }; return(View(Representante)); }