public void PayForOrder(int originalVersion) { //can only update the current version of an aggregate ValidateVersion(originalVersion); ApplyEvent(new OrderPaidFor(Id)); }