public void Update(StoreEditableInfo info, bool isLocked) { info.CheckNotNull(nameof(info)); ApplyEvent(new StoreUpdatedEvent(info)); if (isLocked) { ApplyEvent(new StoreLockedEvent()); } else { ApplyEvent(new StoreUnLockedEvent()); } }
public void Update(StoreEditableInfo info) { ApplyEvent(new StoreUpdatedEvent(info)); }