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