コード例 #1
0
        public IActionResult Create2(int?id)
        {
            VehiculoETL vehiculo = _vehiculoBLL.ConsultarVehiculo((int)id);

            ViewData["Vehiculo"]   = vehiculo;
            ViewData["IdServicio"] = new SelectList(_servicioBLL.ObtenerListaDeServicios((int)id), "IdServicio", "Descripcion");
            return(View());
        }