public async Task <IActionResult> DeletarAutor([FromQuery] int idAutor) { var response = _autorRepository.DeleteAutor(idAutor); return(Ok(response)); }