public PushWebhookController(IHostingEnvironment environment, IOptions <GithubPushConfig> options) { _environment = environment; _config = options.Value; }
public GithubPushProcessor(string wwwrootPath, GithubPushConfig config) { this._files = new FileStore(wwwrootPath); this._config = config; }