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

            await UnitOfWork.CommitAsyc();

            return(Ok(aggregateId));
        }