Ejemplo n.º 1
0
        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;
        }
Ejemplo n.º 2
0
 public OrderController(ElenaDbContext db)
 {
     _db = db;
 }