// 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: Operador public ActionResult Index() { return(View(_businessOperador.GetAll())); }