public IActionResult Index(String Nom, String User, String pass, int edad, String direcion) { ModelUser user = new ModelUser(); var validacion = user.Registro(Nom, User, pass, edad, direcion); if (validacion == true) { return(View()); } else { return(View()); } }