예제 #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());
     }
 }
예제 #2
0
 public void Update(StoreEditableInfo info)
 {
     ApplyEvent(new StoreUpdatedEvent(info));
 }