Example #1
0
        public IActionResult Post([FromBody] PerfilViewModel perfil)
        {
            if (!ModelState.IsValid)
            {
                NotifyModelStateErrors();
                Response(perfil);
            }

            _perfilAppService.Register(perfil);
            return(Response(perfil));
        }