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