public ShopAuditValueProvider(
     IRepository <AuditFlow, Guid> auditFlowRepository,
     ICurrentShop currentShop
     ) : base(auditFlowRepository)
 {
     _currentShop = currentShop;
 }
Exemplo n.º 2
0
 public AuditCrudAppService(
     IRepository <TEntity, TPrimaryKey> repository,
     IServiceProvider serviceProvider
     ) : base(repository)
 {
     _currentShop   = serviceProvider.GetRequiredService <ICurrentShop>();
     _auditProvider = serviceProvider.GetRequiredService <IAuditProvider>();
     _auditManager  = serviceProvider.GetRequiredService <AuditManager>();
 }