示例#1
0
        public RegistrarInfraccion(VehiculoDTO v)
        {
            InitializeComponent();

            _v                                = v;
            _webApiClient                     = new DGTApiClient();;
            labelConductor.Content            = v.Dni;
            labelMatricula.Content            = v.Matricula;
            comboInfraccion.ItemsSource       = _webApiClient.GetInfracciones();
            comboInfraccion.DisplayMemberPath = "Descripcion";
        }
示例#2
0
 public ConductoresViewModel()
 {
     _webApiClient = new DGTApiClient();
     GetConductores();
 }
示例#3
0
 public VehiculosViewModel()
 {
     _webApiClient = new DGTApiClient();
     GetVehiculos();
 }