// Constructor public Fetcher(MoveyRootConfig config) { Config = config; }
public MoveyController(IOptions <MoveyRootConfig> config) { Config = config.Value; Fetcher = new Fetcher(Config); }
// Constructor public Fetcher(MoveyRootConfig config) { Config = config; }
public MoveyController(IOptions <MoveyRootConfig> config) { Config = config.Value; Fetcher = new Fetcher(Config); }