public Server() { // Allow all SSL.. sucks I know but mono on linux is having problems without it.. ServicePointManager.ServerCertificateValidationCallback += (sender, cert, chain, sslPolicyErrors) => true; LoadApiKey(); indexerManager = new IndexerManager(); sonarrApi = new SonarrApi(); webApi = new WebApi(indexerManager, sonarrApi); }
public WebApi(IndexerManager indexerManager, SonarrApi sonarrApi) { this.indexerManager = indexerManager; this.sonarrApi = sonarrApi; }