Example #1
0
        private EventData CreateBankEvent(int version)
        {
            var accountObject = BankAccountEventFactory.CreateAccountObject(version);
            var @event        = BankAccountEvent.FromEvent(accountObject);

            return(@event);
        }
        private IEvent CreateBankEvent(int version)
        {
            var accountObject = BankAccountEventFactory.CreateAccountObject(version);
            var @event        = new BankAccountEvent(accountObject);

            return(@event);
        }