Example #1
0
        public IActionResult Post([FromBody] BancoViewModel bancoViewModel)
        {
            if (!ModelStateValida())
            {
                return(Response());
            }

            bancoViewModel = _bancoAppService.Adicionar(bancoViewModel);
            return(Response(bancoViewModel));
        }