public Store(StoreId id, string name, bool isDeleted, IEnumerable <IStoreSection> sections) { Id = id; Name = name; IsDeleted = isDeleted; this.sections = new StoreSections(sections); }
public void UpdateStores(IEnumerable <IStoreSection> storeSections) { sections = new StoreSections(storeSections); }