/// <summary> /// Initializes a new instance of the EditingViewModel class. /// </summary> public EditingViewModel() { DealerRepository dealerrep = new DealerRepository(); this.dealerInformation = dealerrep.GetDealerDetails(100); this.CustomerNames = dealerrep.Customers.ToObservableCollection(); }
/// <summary> /// Initializes a new instance of the EditingViewModel class. /// </summary> public EditingViewModel() { DealerRepository dealerrep = new DealerRepository(); this.dealerInformation = dealerrep.GetDealerDetails(100); this.CustomerNames = dealerrep.Customers.ToObservableCollection(); this.ShipCities = dealerrep.ShipCity; this.CountryList = new List <string>(this.ShipCities.Keys); }
/// <summary> /// Initializes a new instance of the GridColumnsViewModel class. /// </summary> public GridColumnsViewModel() { DealerRepository dealerrep = new DealerRepository(); this.dealerInformation = dealerrep.GetDealerDetails(100); }