public MessageService(IProtectionRepository _protectionRepository, ICacheRepository _cacheRepository) { protectionRepository = _protectionRepository; cacheRepository = _cacheRepository; }
public XmlRepository(IProtectionRepository repository) { _repository = repository ?? throw new ArgumentNullException(nameof(repository)); }