private static StoreTaxJurisdictionViewModel[] GetAvailableTaxJurisdictions(StoreViewModel parentVM, IStoreRepository repository) { var result = new StoreTaxJurisdictionViewModel[] { new StoreTaxJurisdictionViewModel( new StoreTaxJurisdiction() { StoreId = parentVM.InnerItem.StoreId, TaxJurisdiction = "China" }, repository), new StoreTaxJurisdictionViewModel( new StoreTaxJurisdiction() { StoreId = parentVM.InnerItem.StoreId, TaxJurisdiction = "Canada" }, repository), new StoreTaxJurisdictionViewModel( new StoreTaxJurisdiction() { StoreId = parentVM.InnerItem.StoreId, TaxJurisdiction = "USA" }, repository) }; return(result); }
private static StoreTaxJurisdictionViewModel[] GetAvailableTaxJurisdictions(StoreViewModel parentVM, IStoreRepository repository) { var result = new StoreTaxJurisdictionViewModel[] { new StoreTaxJurisdictionViewModel( new StoreTaxJurisdiction() {StoreId = parentVM.InnerItem.StoreId, TaxJurisdiction = "China"}, repository), new StoreTaxJurisdictionViewModel( new StoreTaxJurisdiction() {StoreId = parentVM.InnerItem.StoreId, TaxJurisdiction = "Canada"}, repository), new StoreTaxJurisdictionViewModel( new StoreTaxJurisdiction() {StoreId = parentVM.InnerItem.StoreId, TaxJurisdiction = "USA"}, repository) }; return result; }