public EventCertificatesController(
            IEventInfoRetrievalService eventInfoRetrievalService,
            ICertificateRenderer certificateRenderer,
            ICertificateIssuingService certificateIssuingService,
            ICertificateDeliveryService certificateDeliveryService,
            IEventInfoAccessControlService eventInfoAccessControlService,
            ICertificateRetrievalService certificateRetrievalService)
        {
            _eventInfoRetrievalService = eventInfoRetrievalService ?? throw
                                             new ArgumentNullException(nameof(eventInfoRetrievalService));

            _certificateRenderer = certificateRenderer ?? throw
                                       new ArgumentNullException(nameof(certificateRenderer));

            _certificateIssuingService = certificateIssuingService ?? throw
                                             new ArgumentNullException(nameof(certificateIssuingService));

            _certificateDeliveryService = certificateDeliveryService ?? throw
                                              new ArgumentNullException(nameof(certificateDeliveryService));

            _eventInfoAccessControlService = eventInfoAccessControlService ?? throw
                                                 new ArgumentNullException(nameof(eventInfoAccessControlService));

            _certificateRetrievalService = certificateRetrievalService ?? throw
                                               new ArgumentNullException(nameof(certificateRetrievalService));
        }
 public CertificatesController(
     ICertificateIssuingService certificateIssuingService,
     ICertificateDeliveryService certificateDeliveryService,
     IEventInfoRetrievalService eventInfoRetrievalService)
 {
     _certificateIssuingService  = certificateIssuingService;
     _certificateDeliveryService = certificateDeliveryService;
     _eventInfoRetrievalService  = eventInfoRetrievalService;
 }