Ejemplo n.º 1
0
        public ActionResult Create(ClienteEnderecoViewModel clienteEnderecoViewModel)
        {
            if (ModelState.IsValid)
            {
                _clienteAppService.Adicionar(clienteEnderecoViewModel);
                return(RedirectToAction("Index"));
            }

            return(View(clienteEnderecoViewModel));
        }