public EventHandlerResult OnEvent(EventHandlerContext context)
        {
            dynamic state = new ExpandoObject();
            state.id = context.State.id;
            state.owner = context.Event.owner;
            state.balance = context.State.balance + context.Event.amount;

            return new EventHandlerResult(state, context.StateName);
        }
        public EventHandlerResult OnEvent(EventHandlerContext context)
        {
            dynamic state = new ExpandoObject();
            state.id = context.State.id;
            state.owner = context.Event.owner;
            state.balance = 0.0;

            return new EventHandlerResult(state, AccountStates.Open);
        }