public async Task <IActionResult> Get()
        {
            try
            {
                var noticias = await _repo.GetByQtd(10);

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