Browse Source

Rename `IProductRepository ` to `IRepository<Product, Guid>`.

pull/21687/head
maliming 2 years ago
committed by GitHub
parent
commit
05d9b6d2f0
No known key found for this signature in database GPG Key ID: B5690EEEBB952194
  1. 4
      docs/en/tutorials/modular-crm/part-07.md

4
docs/en/tutorials/modular-crm/part-07.md

@ -184,9 +184,9 @@ namespace ModularCrm.Products.Orders
IDistributedEventHandler<OrderPlacedEto>, IDistributedEventHandler<OrderPlacedEto>,
ITransientDependency ITransientDependency
{ {
private readonly IProductRepository _productRepository; private readonly IRepository<Product, Guid> _productRepository;
public OrderEventHandler(IProductRepository productRepository) public OrderEventHandler(IRepository<Product, Guid> productRepository)
{ {
_productRepository = productRepository; _productRepository = productRepository;
} }

Loading…
Cancel
Save