public async Task <IActionResult> Get(int id)
        {
            try
            {
                var noticia = await _repo.GetById(id);

                var results = _mapper.Map <NoticiaDto>(noticia);
                return(Ok(results));
            }
            catch (Exception)
            {
                return(this.StatusCode(StatusCodes.Status500InternalServerError, "Falha ao retornar dados"));
            }
        }