public HomeController( // IBrowserConfigService browserConfigService, //#if NET461 // // The FeedService is not available for .NET Core because the System.ServiceModel.Syndication.SyndicationFeed // // type does not yet exist. See https://github.com/dotnet/wcf/issues/76. // IFeedService feedService, //#endif // IManifestService manifestService, // IOpenSearchService openSearchService, // IRobotsService robotsService, // IOptions<AppSettings> appSettings, ElenaDbContext db) { _db = db; // _appSettings = appSettings; // _browserConfigService = browserConfigService; //#if NET461 // // The FeedService is not available for .NET Core because the System.ServiceModel.Syndication.SyndicationFeed // // type does not yet exist. See https://github.com/dotnet/wcf/issues/76. // _feedService = feedService; //#endif // _manifestService = manifestService; // _openSearchService = openSearchService; // _robotsService = robotsService; }
public OrderController(ElenaDbContext db) { _db = db; }