Esempio n. 1
0
        public IActionResult AtualizarStatusPorId([FromRoute] int id, string status)
        {
            _chamadoService.AtualizarStatusPorId(id, status);

            if (!_chamadoService.IsSuccessStatus())
            {
                return(NotFound(_chamadoService.GetMessage()));
            }

            return(Ok(_chamadoService.GetMessage()));
        }