Browse Source

Merge pull request #5944 from abpframework/yekalkan-patch-1

Dist. Event Docs: match event object names
pull/5975/head
Halil İbrahim Kalkan 6 years ago
committed by GitHub
parent
commit
0dcee712cd
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
  1. 4
      docs/en/Distributed-Event-Bus.md

4
docs/en/Distributed-Event-Bus.md

@ -45,7 +45,7 @@ namespace AbpDemo
public virtual async Task ChangeStockCountAsync(Guid productId, int newCount)
{
await _distributedEventBus.PublishAsync(
new StockCountChangedEvent
new StockCountChangedEto
{
ProductId = productId,
NewCount = newCount
@ -301,4 +301,4 @@ namespace AbpDemo
}
````
This example uses the `AutoMap` attribute of the AutoMapper to configure the mapping. You could create a profile class instead. Please refer to the AutoMapper document for more options.
This example uses the `AutoMap` attribute of the AutoMapper to configure the mapping. You could create a profile class instead. Please refer to the AutoMapper document for more options.

Loading…
Cancel
Save