public async Task <IActionResult> AlterarAsync(Guid aggregateId, [FromBody] LivroDto dto)
        {
            await _livroService.AlterarAsync(aggregateId, dto.Titulo, dto.Sinopse, dto.Paginas, dto.Capa, dto.AutorId, dto.GeneroId);

            await UnitOfWork.CommitAsyc();

            return(Ok(aggregateId));
        }