Exemple #1
0
        public IActionResult Create(UsuarioViewModel user)
        {
            var response = repo.createUser(user.convertToUser());

            if (response)
            {
                return(RedirectToAction(nameof(Index)));
            }
            return(View());
        }