Using the CQRS pattern