public IEnumerable<dynamic> Handle(CommandHandlerContext context) { dynamic closed = new ExpandoObject(); closed.id = context.State.id; yield return closed; }
public IEnumerable<dynamic> Handle(CommandHandlerContext context) { dynamic deposited = new ExpandoObject(); deposited.id = context.State.id; deposited.amount = context.Command.amount; yield return deposited; }
public IEnumerable<dynamic> Handle(CommandHandlerContext context) { dynamic withdrawn = new ExpandoObject(); withdrawn.id = context.State.id; withdrawn.amount = context.Command.amount; yield return withdrawn; }
public IEnumerable<dynamic> Handle(CommandHandlerContext context) { dynamic created = new ExpandoObject(); created.id = context.State.id; created.owner = context.Command.owner; yield return created; }