// GET: RegistroDeFluxo/Create public ActionResult Create() { ViewBag.CarroId = new SelectList(_businessCarro.GetAll(), "Id", "Placa"); ViewBag.FaturamentoId = new SelectList(_businessFaturamento.GetAll(), "Id", "Id"); ViewBag.OperadorId = new SelectList(_businessOperador.GetAll(), "Id", "Nome"); return(View()); }
// GET: Carro public ActionResult Index() { return(View(_businessCarro.GetAll())); }