public ActionResult <Livro> Create(Livro livro) { _livroService.Create(livro); return(CreatedAtRoute("GetLivro", new { id = livro.Id.ToString() }, livro)); }