public P2PDownloadMethod(ILogger <P2PDownloadMethod> logger, IOptions <NetpipsSettings> settings, IAria2CService aria2CService, ITorrentDaemonService torrentDaemonService)
 {
     this.torrentDaemonService = torrentDaemonService;
     this.logger        = logger;
     this.aria2CService = aria2CService;
     this.settings      = settings.Value;
 }
 public TorrentDoneController(ILogger <TorrentDoneController> logger,
                              IDownloadItemRepository repository,
                              IAuthorizationService authorizationService,
                              ITorrentDaemonService torrentDaemonService,
                              IDispatcher dispatcher)
 {
     this.logger = logger;
     this.authorizationService = authorizationService;
     this.torrentDaemonService = torrentDaemonService;
     this.repository           = repository;
     this.dispatcher           = dispatcher;
 }