public BulkImportResource(IReadOnlyRepository <BulkImport> importRepository, ITenantSecurity tenantSecurity, IBulkImportMapper mapper) { if (importRepository == null) { throw new ArgumentNullException(nameof(importRepository)); } if (tenantSecurity == null) { throw new ArgumentNullException(nameof(tenantSecurity)); } if (mapper == null) { throw new ArgumentNullException(nameof(mapper)); } this.importRepository = importRepository; this.tenantSecurity = tenantSecurity; this.mapper = mapper; }
public AnimalSearchModel(ITenantSecurity securityClient) { _securityClient = securityClient; }