Exemplo n.º 1
0
 // GET: Livro/Create
 public IActionResult Create()
 {
     ViewData["AutorID"] = new SelectList(_autorDapperRepository.GetAll(), "ID", "Nome");
     return(View());
 }
Exemplo n.º 2
0
 // GET: Autor
 public IActionResult Index() =>
 View(_autorDapperRepository.GetAll());