Esempio n. 1
0
 public FaqService(ILogRepository logRepository,
                   IUnitOfWork unitOfWork,
                   IFaqRepository faqRepository) : base(logRepository,
                                                        unitOfWork)
 {
     _faqRepository = faqRepository;
 }
Esempio n. 2
0
 public FaqService(IFaqRepository faqRepository,
                   IFaqTranslationRepository faqTranslationRepository,
                   IFaqGroupRepository faqGroupRepository,
                   IResourceService <SharedResource> sharedResourceService,
                   IResourceService <GhmWebsiteResource> websiteResourceService
                   )
 {
     _faqRepository            = faqRepository;
     _faqTranslationRepository = faqTranslationRepository;
     _faqGroupRepository       = faqGroupRepository;
     _sharedResourceService    = sharedResourceService;
     _websiteResourceService   = websiteResourceService;
 }
        public AppUnitOfWork(
            IValidationService validationService,
            IDomainEventBus domainEventBus,
            AppContext appContext,
            IAuthorRepository authorRepository,
            IBlogPostRepository blogPostRepository,
            ICategoryRepository categoryRepository,
            ILocationRepository locationRepository,
            ITagRepository tagRepository,
            ICarouselItemRepository carouselItemRepository,
            IContentHtmlRepository contentHtmlRepository,
            IContentTextRepository contentTextRepository,
            IFaqRepository faqRepository,
            IMailingListRepository mailingListRepository,
            IProjectRepository projectRepository,
            ITestimonialRepository testimonialRepository
            )
            : base(true, validationService, domainEventBus, appContext)
        {
            AuthorRepository   = authorRepository;
            BlogPostRepository = blogPostRepository;
            CategoryRepository = categoryRepository;
            LocationRepository = locationRepository;
            TagRepository      = tagRepository;

            AddRepository(AuthorRepository);
            AddRepository(BlogPostRepository);
            AddRepository(CategoryRepository);
            AddRepository(LocationRepository);
            AddRepository(TagRepository);

            CarouselItemRepository = carouselItemRepository;
            ContentHtmlRepository  = contentHtmlRepository;
            ContentTextRepository  = contentTextRepository;
            FaqRepository          = faqRepository;
            MailingListRepository  = mailingListRepository;
            ProjectRepository      = projectRepository;
            TestimonialRepository  = testimonialRepository;

            AddRepository(CarouselItemRepository);
            AddRepository(ContentHtmlRepository);
            AddRepository(ContentTextRepository);
            AddRepository(FaqRepository);
            AddRepository(MailingListRepository);
            AddRepository(ProjectRepository);
            AddRepository(TestimonialRepository);
        }
Esempio n. 4
0
 public FaqService(IMapper mapper, IRequestData requestData, IFaqRepository faqRepository)
     : base(mapper, requestData)
 {
     this.faqRepository = faqRepository;
 }
 public FaqController(IFaqRepository faqRepository, IMapper mapper)
 {
     _mapper        = mapper;
     _faqRepository = faqRepository;
 }
 public WebsiteController(IParagraphRepository pr, IFaqRepository fr)
 {
     _repository    = pr;
     _faqRepository = fr;
 }
Esempio n. 7
0
 public FaqsController(IFaqRepository repo, IMapper mapper)
 {
     _repo   = repo;
     _mapper = mapper;
 }
 public FaqViewComponent(IMapper mapper, IFaqRepository faqRepository)
 {
     _mapper        = mapper;
     _faqRepository = faqRepository;
 }
Esempio n. 9
0
 public FaqController(IFaqRepository db, ILogger <FaqController> log)
 {
     _db  = db;
     _log = log;
 }
Esempio n. 10
0
        static DalFactory()
        {
            //Define Ninject Dependency Injection Bindings
            Kernel.Bind <IGeneralCodeRepository>().To <GeneralCodeRepository>();
            Kernel.Bind <ISubCodeRepository>().To <SubCodeRepository>();
            Kernel.Bind <IOpportunityRepository>().To <OpportunityRepository>();
            Kernel.Bind <IindividualDetailsRepository>().To <IndividualDetailsRepository>();
            Kernel.Bind <IEventRepository>().To <EventRepository>();
            Kernel.Bind <IJobRepository>().To <JobRepository>();
            Kernel.Bind <ITrainingRepository>().To <TrainingRepository>();
            Kernel.Bind <IDataServiceRepository>().To <DataServiceRepository>();
            Kernel.Bind <IOrganizationContactInfoRepository>().To <OrganizationContactInfoRepository>();
            Kernel.Bind <IOrganizationRepository>().To <OrganizationRepository>();
            Kernel.Bind <IRequestLogRepository>().To <RequestLogRepository>();
            Kernel.Bind <IPortalUsersRepository>().To <PortalUsersRepository>();
            Kernel.Bind <INewsRepository>().To <NewsRepository>();
            Kernel.Bind <IConfigCenterRepository>().To <ConfigCenterRepository>();
            Kernel.Bind <IIndividualRepository>().To <IndividualRepository>();
            Kernel.Bind <IIndRepository>().To <IndRepository>();
            Kernel.Bind <IOrgRepository>().To <OrgRepository>();
            Kernel.Bind <IChatLogRepository>().To <ChatLogRepository>();
            Kernel.Bind <IConceptNonFormalTrainingRepository>().To <ConceptNonFormalTrainingRepository>();
            Kernel.Bind <ILmisReportsRepository>().To <LmisReportsRepository>();
            Kernel.Bind <IObsceneWordsRepository>().To <ObsceneWordsRepository>();
            Kernel.Bind <IListOfEmailsRepository>().To <ListOfEmailsRepository>();
            Kernel.Bind <IHelpfulLinkRepository>().To <HelpfulLinkRepository>();
            Kernel.Bind <IQualificationsRepository>().To <QualificationsRepository>();
            Kernel.Bind <IOfficeRepository>().To <OfficeRepository>();
            Kernel.Bind <IUnionRepository>().To <UnionRepository>();
            Kernel.Bind <IFaqRepository>().To <FaqRepository>();
            Kernel.Bind <IConceptsDefinitionsRepository>().To <ConceptsDefinitionsRepository>();
            Kernel.Bind <IEmployersTrainingProvidersRepository>().To <EmployersTrainingProvidersRepository>();
            Kernel.Bind <IRecruitmentAgenciesRepository>().To <RecruitmentAgenciesRepository>();

            //Serve BLL Objects as Singletons
            GeneralCodeRepo       = Kernel.Get <IGeneralCodeRepository>();
            SubCodeRepo           = Kernel.Get <ISubCodeRepository>();
            OpportunityRepo       = Kernel.Get <IOpportunityRepository>();
            IndividualDetailsRepo = Kernel.Get <IindividualDetailsRepository>();
            EventRepo             = Kernel.Get <IEventRepository>();
            JobRepo                        = Kernel.Get <IJobRepository>();
            TrainingRepo                   = Kernel.Get <ITrainingRepository>();
            DataServiceRepo                = Kernel.Get <IDataServiceRepository>();
            OrganizationContactInfoRepo    = Kernel.Get <IOrganizationContactInfoRepository>();
            OrganizationRepo               = Kernel.Get <IOrganizationRepository>();
            RequestLogRepo                 = Kernel.Get <IRequestLogRepository>();
            PortalUsersRepo                = Kernel.Get <IPortalUsersRepository>();
            NewsRepo                       = Kernel.Get <INewsRepository>();
            IndividualRepo                 = Kernel.Get <IIndividualRepository>();
            ConfigRepo                     = Kernel.Get <IConfigCenterRepository>();
            IndividualRepo                 = Kernel.Get <IIndividualRepository>();
            IndRepo                        = Kernel.Get <IIndRepository>();
            OrgRepo                        = Kernel.Get <IOrgRepository>();
            ChatLogRepo                    = Kernel.Get <IChatLogRepository>();
            ConceptNonFormalTrainingRepo   = Kernel.Get <IConceptNonFormalTrainingRepository>();
            LmisReportsRepo                = Kernel.Get <ILmisReportsRepository>();
            ObsceneWordsRepo               = Kernel.Get <IObsceneWordsRepository>();
            ListOfEmailsRepo               = Kernel.Get <IListOfEmailsRepository>();
            HelpfulLinkRepo                = Kernel.Get <IHelpfulLinkRepository>();
            QualificationsRepo             = Kernel.Get <IQualificationsRepository>();
            OfficeRepo                     = Kernel.Get <IOfficeRepository>();
            UnionRepo                      = Kernel.Get <IUnionRepository>();
            FaqRepo                        = Kernel.Get <IFaqRepository>();
            ConceptsDefinitionsRepo        = Kernel.Get <IConceptsDefinitionsRepository>();
            EmployersTrainingProvidersRepo = Kernel.Get <IEmployersTrainingProvidersRepository>();
            RecruitmentAgenciesRepo        = Kernel.Get <IRecruitmentAgenciesRepository>();
        }
Esempio n. 11
0
 public FaqService(IFaqRepository iFaqRepository)
 {
     this._iFaqRepository = iFaqRepository;
 }
Esempio n. 12
0
 public Index(IFaqRepository faqRepository)
 {
     _faqRepository = faqRepository;
 }
Esempio n. 13
0
 public FAQController(IFaqRepository rep)
 {
     _repository = rep;
 }
 public CockpitFaqController(IFaqRepository faqRepo, IConfirmResp conf, ILogger <CockpitFaqController> logger)
 {
     _faqRepo = faqRepo;
     _conf    = conf;
     _logger  = logger;
 }
Esempio n. 15
0
 public FaqService(IFaqRepository repository)
 {
     this.repository = repository;
 }
Esempio n. 16
0
 public FaqManager(IFaqRepository repository)
 {
     _faqRepository = repository;
 }
Esempio n. 17
0
 public FaqController()
 {
     _logic = new FaqRepository();
 }
Esempio n. 18
0
 public FaqController(IFaqRepository repository, FaqService service)
 {
     this.repository = repository;
     this.service    = service;
 }
 public FaqService(IFaqRepository faqRepository) : base(faqRepository)
 {
     this.faqRepository = faqRepository;
 }
Esempio n. 20
0
 public FaqService(IFaqRepository faqRepository, IUnitOfWork unitOfWork)
 {
     this.faqRepository = faqRepository;
     this.unitOfWork    = unitOfWork;
 }
Esempio n. 21
0
 public FaqsController(IFaqRepository faqRepository)
 {
     FaqRepository = faqRepository;
 }