public ItemsService(IItemsRepository itemRepo, IGendersRepository gendersContext, IFeaturesRepository featuresContext, ICategoriesRepository categoryContext) { _itemRepo = itemRepo; _gendersContext = gendersContext; _featuresContext = featuresContext; _categoryContext = categoryContext; }
public HomeController(IFeaturesRepository featuresRepository, INewsRepository newsRepository, ICareersRepository careersRepository, IProgrammingLanguagesRepository programmingLanguagesRepository) { this.featuresRepository = featuresRepository; this.newsRepository = newsRepository; this.careersRepository = careersRepository; this.programmingLanguagesRepository = programmingLanguagesRepository; }
public IActionResult Index([FromServices] ExecutionContext executionContext, [FromServices] IFeaturesRepository featuresRepository) { var features = featuresRepository.Get(); if (executionContext.Exists) { return(RedirectToAction("Index", "Dashboard")); } return(View()); }
public LicensesRepository(ScutexEntities db, IFeaturesRepository featuresRepository, IProductsRepository productsRepository, ILicenseSetsRepository licenseSetsRepository, ITrialSettingsRepository trialSettingsRepository, IServicesRepository servicesRepository) { this.db = db; _featuresRepository = featuresRepository; _productsRepository = productsRepository; _licenseSetsRepository = licenseSetsRepository; _trialSettingsRepository = trialSettingsRepository; _servicesRepository = servicesRepository; }
public FeaturesListViewModel( IFeaturesRepository featuresRepository, IEventAggregator eventAggregator) { Features = new ObservableCollection <IFeatureViewModel>(); _eventAggregator = eventAggregator; _featuresRepository = featuresRepository; // Background Process _backgroundWorker = new BackgroundWorker(); _backgroundWorker.DoWork += backgroundWorker_DoWorkGetFeatureDefinitions; _backgroundWorker.RunWorkerCompleted += backgroundWorker_RunWorkerCompletedFeatures; }
public CartsController(CartContext context, ItemsContext Goodcontext, UserManager <IdentityUser> userManager, ApplicationDbContext context7, ICategoriesRepository categoryContext, IGendersRepository gendersContext, IFeaturesRepository featuresContext, ItemsContext contextIt) { _itemcontext = Goodcontext; _context = context; _context7 = context7; this.userManager = userManager; _categoryContext = categoryContext; _gendersContext = gendersContext; _featuresContext = featuresContext; _contextIt = contextIt; }
public ItemsController(ItemsContext context, ItemsService contextSearch, ICategoriesRepository categoryContext, IWebHostEnvironment hostEnvironment, IGendersRepository gendersContext, IFeaturesRepository featuresContext, ICommentsRepository commentsContext, CommentsContext comContext, UserManager <IdentityUser> userManager) { _categoryContext = categoryContext; _context = context; //_context2 = context2; _commentsContext = commentsContext; _gendersContext = gendersContext; _featuresContext = featuresContext; webHostEnvironment = hostEnvironment; _comContext = comContext; _contextSearch = contextSearch; this.userManager = userManager; }
public FeaturesService(IFeaturesRepository featuresRepository, IFeatureLicenseHelper licenseHelper, IAsyncCache cache) { if (featuresRepository == null) { throw new ArgumentNullException(nameof(featuresRepository)); } _featuresRepository = featuresRepository; if (licenseHelper == null) { throw new ArgumentNullException(nameof(licenseHelper)); } _licenseHelper = licenseHelper; if (cache == null) { throw new ArgumentNullException(nameof(cache)); } _cache = cache; }
public UnitOfWork(IColorRepository colorRepository, IFeaturesRepository featuresRepository, ILowerDeckRepository lowerDeckRepository, INumberOfFretsRepository numberOfFretsRepository, INumberOfStringsRepository numberOfStringsRepository, IOrderProductRepository orderProductRepository, IOrderRepository orderRepository, IOverlayFingerboardRepository overlayFingerboardRepository, IPegsRepository pegsRepository, IProducerRepository producerRepository, IProducingCountryRepository producingCountryRepository, IProductRepository productRepository, ISidePanelRepository sidePanelRepository, ISizeRepository sizeRepository, IGuitarTypeRepository guitarTypeRepository, IUpperDeckRepository upperDeckRepository, UserManager <User> userManager, SignInManager <User> signInManager) { this.colorRepository = colorRepository; this.featuresRepository = featuresRepository; this.lowerDeckRepository = lowerDeckRepository; this.numberOfFretsRepository = numberOfFretsRepository; this.numberOfStringsRepository = numberOfStringsRepository; this.orderProductRepository = orderProductRepository; this.orderRepository = orderRepository; this.overlayFingerboardRepository = overlayFingerboardRepository; this.pegsRepository = pegsRepository; this.producerRepository = producerRepository; this.producingCountryRepository = producingCountryRepository; this.productRepository = productRepository; this.sidePanelRepository = sidePanelRepository; this.sizeRepository = sizeRepository; this.guitarTypeRepository = guitarTypeRepository; this.upperDeckRepository = upperDeckRepository; UserManager = userManager; SignInManager = signInManager; }
public FeatureService(IFeaturesRepository featuresRepository) { _featuresRepository = featuresRepository; }
public FeaturesService(IFeaturesRepository featRepo) { _featRepo = featRepo; }
// GET: Features public FeaturesController(IFeaturesRepository featuresRepository) { this.featuresRepository = featuresRepository; }
public ProductsRepository(ScutexEntities db, IFeaturesRepository featuresRepository) { this.db = db; _featuresRepository = featuresRepository; }
public LicenseSetsRepository(ScutexEntities db, IFeaturesRepository featuresRepository) { this.db = db; _featuresRepository = featuresRepository; }
public UnitOfWork(IFeaturesRepository FeaturesRepository) { _FeaturesRepository = FeaturesRepository; }
public FeaturesController(IFeaturesRepository repository, IMapper mapper, IUnitOfWork unitOfWork) { this._mapper = mapper; _unitOfWork = unitOfWork; this._repository = repository; }
public FeaturesController(IFeaturesRepository featuresRepo) { _rep = featuresRepo; }
public UnitOfWork(ISpeakerRepository speakers, IFeaturesRepository features) { Speakers = speakers; Features = features; }
public FeaturesService(IFeaturesRepository featuresRepository) { _featuresRepository = featuresRepository; }
public void Setup() { IFeaturesRepository mock = MockServiceGenerator.CreateFeaturesRepositoryMock(); featureService = new FeatureService(mock); }