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"; }
public ConductoresViewModel() { _webApiClient = new DGTApiClient(); GetConductores(); }
public VehiculosViewModel() { _webApiClient = new DGTApiClient(); GetVehiculos(); }