internal Customer(CustomerType type, string note, string name, IDataAccessFacade dataAccessFacade) { validateName(name); this.dataAccessFacade = dataAccessFacade; _customerEntity = dataAccessFacade.CreateCustomer(type, note, name); initializeParty(_customerEntity); }
internal Customer(CustomerType type, string note, string name, IDataAccessFacade dataAccessFacade) { validateName(name); this.dataAccessFacade = dataAccessFacade; _customerEntity = dataAccessFacade.CreateCustomer(type, note, name); initializeParty(_customerEntity); }