Exemple #1
0
        private void Initialize()
        {
            _producers = new ObservableCollection <IProducer>(_blc.GetProducers());
            if (_motorbike.Id == 0)
            {
            }

            Name             = _motorbike.Name;
            ProductionYear   = _motorbike.ProductionYear;
            SelectedProducer = _motorbike.Producer;
            TransmissionType = _motorbike.Transmission;
        }
Exemple #2
0
 private void LoadCollection()
 {
     Producers  = new ObservableCollection <IProducer>(_blc.GetProducers());
     Motorbikes = new ObservableCollection <IMotorbike>(_blc.GetMotorbike());
 }