public CreateCompanyCustomerCommand( CompanyCustomer companyCustomer, CompanyCustomerCatalog companyCustomerCatalog, CompanyCustomerItemViewModel ivm) { _companyCustomer = companyCustomer; _companyCustomerCatalog = companyCustomerCatalog; _ivm = ivm; }
public DomainModel() { _companyCustomerCatalog = new CompanyCustomerCatalog(); _housingAssociationCustomerCatalog = new HousingAssociationCustomerCatalog(); _privateCustomerCatalog = new PrivateCustomerCatalog(); _customers = new ObservableCollection <CustomerBase>(); _zipCatalog = new ZipCatalog(); _puttyCatalog = new PuttyCatalog(); _toolCatalog = new ToolCatalog(); _coverCatalog = new CoverCatalog(); _wallCoverCatalog = new WallCoverCatalog(); _paintCatalog = new PaintCatalog(); _products = new ObservableCollection <ProductBase>(); }
public CompanyCustomerItemViewModel() { _companyCustomer = new CompanyCustomer(); _companyCustomerCatalog = new CompanyCustomerCatalog(); _createCompanyCustomerCommand = new CreateCompanyCustomerCommand(_companyCustomer, _companyCustomerCatalog, this); }