자주 사용되는 메소드들
자주 사용되는 메소드들
자주 사용되는 메소드들
자주 사용되는 메소드들
public void Handle(UpdateMyThing command) { MyThing t = _repo.GetAggregate(command.Id); t.ApplyEvent(new MyThingUpdated(t.AggregateId, command.Title)); _repo.SaveAggregate(t); }