public HomeController(IWriter writer, IOptions <ControllerAndRoutesConfiguration> config, BookContext bookContext) { _writer = writer; _config = config.Value; _bookContext = bookContext; }
public Class1() { var config = new ControllerAndRoutesConfiguration(); }