Exemple #1
0
 public AdminController(IEmployeeRepository context, IWebHostEnvironment hostingEnvironment, IInfoRepository infoRepository, IAppDataRepository appRepository)
 {
     _context            = context;
     _hostingEnvironment = hostingEnvironment;
     _infoRepository     = infoRepository;
     _appRepository      = appRepository;
 }
 public ClientsController(ILogger <ClientsController> logger, IClientRepository repository, IMapper mapper, IInfoRepository infoRepository)
 {
     _logger         = logger;
     _repository     = repository;
     _mapper         = mapper;
     _infoRepository = infoRepository;
 }
 public InfoController(IMemberRepository memberRepository, IMongoConnectionHandler mongoConnectionHandler, 
     ICommentRepository commentRepository, IInfoRepository infoRepository)
 {
     _memberRepo = memberRepository;
     _commentRepo = commentRepository;
     _infoRepo = infoRepository;
     _mongoConnectionHandler = mongoConnectionHandler;
 }
        public int viewCallBackItemsInPages = 20; // Callback items count in CallBackList page

        public AdminController(IUnitOfWork unitOfWork, IWebHostEnvironment hostingEnvironment, IInfoRepository infoRepository,
                               IAppAddressRepository addressRepository, IAppDataRepository appRepository)
        {
            _unitOfWork         = unitOfWork;
            _hostingEnvironment = hostingEnvironment;
            _infoRepository     = infoRepository;
            _addressRepository  = addressRepository;
            _appRepository      = appRepository;
        }
Exemple #5
0
        public InfoService()
        {
            try
            {
                string typeStr1 = ConfigurationManager.AppSettings["infoRepository"];
                Type type1 = Type.GetType(typeStr1);
                repo = (IInfoRepository)Activator.CreateInstance(type1);

                repo.SourcePath = System.Web.Hosting.HostingEnvironment.MapPath("~/App_data/info.xml");
            }
            catch (Exception ex) { }
        }
Exemple #6
0
        public HomeController()
        {
            var context = new VITVContext();

            _videoCategoryRepository   = new VideoCategoryRepository(context);
            _articleCategoryRepository = new ArticleCategoryRepository(context);
            _videoRepository           = new VideoRepository(context);
            _articleRepository         = new ArticleRepository(context);
            _infoRepository            = new InfoRepository(context);
            _vndExchangeRateRepository = new VNDExchangeRateRepository(context);
            _videoCatGroupRepository   = new VideoCatGroupRepository(context);
            _partnerRepository         = new PartnerRepository(context);
            _specialEventRepository    = new SpecialEventRepository(context);
            _holidayRepository         = new HolidayRepository(context);
        }
Exemple #7
0
 public AppNameViewComponent(IInfoRepository infoRepository)
 {
     _infoRepository = infoRepository;
 }
 public InfoService(IInfoRepository infoRepository)
 {
     _infoRepository = infoRepository;
 }
Exemple #9
0
 public AppAddressViewComponent(IInfoRepository infoRepository)
 {
     _infoRepository = infoRepository;
 }
Exemple #10
0
 public AppPhoneSecondViewComponent(IInfoRepository infoRepository)
 {
     _infoRepository = infoRepository;
 }
 public UsersController(ILogger <UsersController> logger, IUserRepository repository, IMapper mapper, IInfoRepository infoRepository)
 {
     _logger     = logger;
     _repository = repository;
 }
Exemple #12
0
 public InfoService(IInfoRepository repository) : base(repository)
 {
     _repository = repository;
 }
 public InfoBackgroundViewComponent(IInfoRepository infoRepository)
 {
     _infoRepository = infoRepository;
 }
Exemple #14
0
 public InfoController(IInfoRepository infoRepository, IQueryLogicResolverFactory queryLogicResolverFactory, ILogger logger)
 {
     _infoRepository            = infoRepository;
     _queryLogicResolverFactory = queryLogicResolverFactory;
     _logger = logger;
 }
Exemple #15
0
 public InfoDomain(IInfoRepository repository, IConfiguration _configuration)
 {
     _Repository   = repository;
     Configuration = _configuration;
 }
Exemple #16
0
 public InfoController(IInfoRepository repo)
 {
     this.repo = repo;
 }
 public DeleteModel(IInfoRepository infoRepository)
 {
     this._infoRepository = infoRepository;
 }
 public HomeController(ILogger <HomeController> logger, IInfoRepository context)
 {
     _logger  = logger;
     _context = context;
 }
 public DatabaseUpdater(IInfoRepository infoRepository, IBricklinkApiService colourService, IBricklinkService service)
 {
     _infoRepository = infoRepository;
     _colourService  = colourService;
     _service        = service;
 }
Exemple #20
0
 public InfoServices(IInfoRepository dal)
 {
     this._dal    = dal;
     base.BaseDal = dal;
 }
Exemple #21
0
 public AppDescriptionViewComponent(IInfoRepository infoRepository)
 {
     _infoRepository = infoRepository;
 }
 public InfoLogoViewComponent(IInfoRepository infoRepository)
 {
     _infoRepository = infoRepository;
 }
 public AppHomeImageSecondViewComponent(IInfoRepository infoRepository)
 {
     _infoRepository = infoRepository;
 }
 public InfoPhoneViewComponent(IInfoRepository infoRepository)
 {
     _infoRepository = infoRepository;
 }
 public AdministrationService(IInfoRepository infoRepository)
 {
     _infoRepository = infoRepository;
 }
 public IndexModel(IInfoRepository infoRepository)
 {
     this._infoRepository = infoRepository;
 }
 public InfoController(IInfoRepository infoRepository)
 {
     _infoRepository = infoRepository;
 }
 public DetailsModel(IInfoRepository infoRepository)
 {
     this._infoRepository = infoRepository;
 }
 public EditModel(IInfoRepository infoRepository)
 {
     this._infoRepository = infoRepository;
 }
 public CreateModel(IInfoRepository infoRepository)
 {
     this._infoRepository = infoRepository;
 }
 public CarouselImage1ViewComponent(IInfoRepository infoRepository)
 {
     _infoRepository = infoRepository;
 }
Exemple #32
0
 public AppHomeSlideText3ViewComponent(IInfoRepository infoRepository)
 {
     _infoRepository = infoRepository;
 }
Exemple #33
0
 public AppHomeImageFirstViewComponent(IInfoRepository infoRepository)
 {
     _infoRepository = infoRepository;
 }