Example #1
0
 public ItemsService(IItemsRepository itemRepo, IGendersRepository gendersContext, IFeaturesRepository featuresContext, ICategoriesRepository categoryContext)
 {
     _itemRepo        = itemRepo;
     _gendersContext  = gendersContext;
     _featuresContext = featuresContext;
     _categoryContext = categoryContext;
 }
Example #2
0
 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());
        }
Example #4
0
        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;
        }
Example #5
0
		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;
 }
Example #7
0
 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;
 }
Example #8
0
 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;
 }
Example #9
0
        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;
        }
Example #10
0
 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;
 }
Example #11
0
 public FeatureService(IFeaturesRepository featuresRepository)
 {
     _featuresRepository = featuresRepository;
 }
Example #12
0
 public FeaturesService(IFeaturesRepository featRepo)
 {
     _featRepo = featRepo;
 }
Example #13
0
 // GET: Features
 public FeaturesController(IFeaturesRepository featuresRepository)
 {
     this.featuresRepository = featuresRepository;
 }
Example #14
0
		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;
 }
Example #17
0
 public FeaturesController(IFeaturesRepository repository, IMapper mapper, IUnitOfWork unitOfWork)
 {
     this._mapper     = mapper;
     _unitOfWork      = unitOfWork;
     this._repository = repository;
 }
Example #18
0
 public FeaturesController(IFeaturesRepository featuresRepo)
 {
     _rep = featuresRepo;
 }
Example #19
0
 public UnitOfWork(ISpeakerRepository speakers, IFeaturesRepository features)
 {
     Speakers = speakers;
     Features = features;
 }
 public LicenseSetsRepository(ScutexEntities db, IFeaturesRepository featuresRepository)
 {
     this.db             = db;
     _featuresRepository = featuresRepository;
 }
Example #21
0
		public FeaturesService(IFeaturesRepository featuresRepository)
		{
			_featuresRepository = featuresRepository;
		}
Example #22
0
        public void Setup()
        {
            IFeaturesRepository mock = MockServiceGenerator.CreateFeaturesRepositoryMock();

            featureService = new FeatureService(mock);
        }
Example #23
0
 public ProductsRepository(ScutexEntities db, IFeaturesRepository featuresRepository)
 {
     this.db             = db;
     _featuresRepository = featuresRepository;
 }