Created
June 19, 2020 23:47
-
-
Save httpmurilo/005d181180b2e6e4450eb2bd7d05dc84 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[HttpGet("{id}")] | |
public IActionResult RetornarAutorPorId(int id) | |
{ | |
return Ok (_context.Autores.Where(x => x.Id == id)); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment