Exemplo n.º 1
0
        public IActionResult Mostrar(int id)
        {
            Telefone obj = _service.Select(id);

            if (obj == null)
            {
                return(NotFound("Objeto não encontrado."));
            }

            return(Ok(obj));
        }