// GET: ControlesInOut/Create public IActionResult Create() { ViewData["ClienteID"] = new SelectList(clienteRepo.GetClientes(), "Id", "Nome"); ViewData["LocadorID"] = new SelectList(locadorRepo.GetLocadores(), "Id", "Nome"); return(View()); }
// GET: Clientes public async Task <IActionResult> Index() { return(View(clienteRepo.GetClientes())); }