public async void ListInit() { Types.Clear(); var collection = await service.GetPlaneTypesAsync(); foreach (var item in collection) { Types.Add(item); } Type = new PlaneType() { Id = Types.Count }; NotifyPropertyChanged(() => Type); }
public async void ListInit() { Types.Clear(); var collection = await service.GetPlaneTypesAsync(); foreach (var item in collection) { Types.Add(item); } Type = new PlaneType() { Id = Types.Count }; NotifyPropertyChanged(() => Type); }