public Task Handle(FeeCreatedEvent message) { _repository.Save(new FeeReadModel { Cost = message.Cost, EntityId = message.FeeId, Tag = message.Tag, AggregateId = message.Id }); return(Task.CompletedTask); }
public Task Handle(FeeCreatedEvent message) { _repository.Save(new FeeReadModel { Cost = message.Cost, EntityId = message.FeeId, Tag = message.Tag, AggregateId = message.Id }); return(Task.CompletedTask); }