public DesignTimeSupplierSelectionViewModel()
        {
            ViewData = new SupplierSelectionViewData();
            var suppliers = new ObservableCollection<SupplierListItemViewData>();

            suppliers.Add(new SupplierListItemViewData()
            {
                SupplierID = 1,
                SupplierName = "John Doe",
                City = "Odense",
                CompanyAddress = "we know ya momma",
                Email = "*****@*****.**",
                Fax = "nop fax",
                TelephoneNumber = "No number",
                ZipCode = "5200"
            });

            ((SupplierSelectionViewData)ViewData).Suppliers = suppliers;
        }
        public SupplierSelectionViewData GetSupplierSelectionViewData(string cityFilter)
        {
            SupplierSelectionViewData vd = new SupplierSelectionViewData();
            vd.Suppliers = new ObservableCollection<SupplierListItemViewData>();

            foreach (var supplier in supRep.GetListOfSuppliers(cityFilter))
            {
                vd.Suppliers.Add(new SupplierListItemViewData()
                {
                    SupplierID = supplier.SupplierID,
                    SupplierName = supplier.SupplierName,
                    City = supplier.City,
                    CompanyAddress = supplier.CompanyAddress,
                    Email = supplier.Email,
                    Fax = supplier.Fax,
                    TelephoneNumber = supplier.TelephoneNumber,
                    ZipCode = supplier.ZipCode
                });
            }
            return vd;
        }