public IntimidatorIntimidationsCacheService(IntimidatorIntimidationsCacheChannel _intimidatorIntimidationsCacheChannel , IServiceScopeFactory _serviceScopeFactory , IDistributedCache _distributedCache) { this._intimidatorIntimidationsCacheChannel = _intimidatorIntimidationsCacheChannel ?? throw new ArgumentNullException(nameof(_intimidatorIntimidationsCacheChannel)); this._serviceScopeFactory = _serviceScopeFactory ?? throw new ArgumentNullException(nameof(_serviceScopeFactory)); this._distributedCache = _distributedCache ?? throw new ArgumentNullException(nameof(_distributedCache)); }
public IntimidatorsIntimidationController(IintimidationRepository _intimidationRepository , IntimidatorIntimidationsCacheChannel _intimidatorIntimidationsCacheChannel , IintimidatorRepository _intimidatorRepository) { this._intimidationRepository = _intimidationRepository ?? throw new ArgumentNullException(nameof(_intimidationRepository)); this._intimidatorIntimidationsCacheChannel = _intimidatorIntimidationsCacheChannel ?? throw new ArgumentNullException(nameof(_intimidatorIntimidationsCacheChannel)); this._intimidatorRepository = _intimidatorRepository ?? throw new ArgumentNullException(nameof(_intimidatorRepository)); }