public static AccountDomainModel CreateNewInstance(
                Guid id,
                Guid customerId,
                int version,
                string currency,
                State accountState)
            {
                var @event = new AccountAddedEvent
                {
                    AggregateId  = id,
                    CustomerId   = customerId,
                    Version      = version,
                    Currency     = currency,
                    AccountState = accountState
                };
                var account = new AccountDomainModel();

                account.ApplyChange(@event);
                return(account);
            }
 public static AccountDomainModel CreateNewInstance(
     Guid id,
     Guid customerId,
     int version,
     string currency,
     State accountState)
 {
     var @event = new AccountAddedEvent
     {
         AggregateId         = id,
         CustomerId          = customerId,
         Version             = version,
         Currency            = currency,
         AccountState        = accountState
     };
     var account = new AccountDomainModel();
     account.ApplyChange(@event);
     return account;
 }