Example #1
0
        public BroadcastController(ISubscriptionRepository repository, ISendContent sendContent)
        {
            if (repository == null)
            {
                throw new ArgumentNullException(nameof(repository));
            }

            if (sendContent == null)
            {
                throw new ArgumentNullException(nameof(sendContent));
            }

            _repository  = repository;
            _sendContent = sendContent;
        }