Beispiel #1
0
 public async Task <IActionResult> Index()
 {
     return(View(await _carroRepositorio.PegarTodos().ToListAsync()));
 }
 public async Task <IActionResult> Index()
 {
     _logger.LogInformation("Listando todos os carros");
     return(View(await _carroRepositorio.PegarTodos().ToListAsync()));
 }