Exemple #1
0
        private void LoadData()
        {
            var vehiclesCollection = Controller.GetAllVehicles().ToList();

            Vehicles = new ObservableCollection <Entities.Vehicle>(vehiclesCollection);

            VehiclesMakes = new ObservableCollection <VehicleMake>(Controller.GetAllVehicleMake());
            VehiclesTypes = new ObservableCollection <VehicleType>(Controller.GetAllVehicleType());
        }