Exemplo n.º 1
0
 public MoneyTransferTemplate(IAppDbContext db, IPartnerManager partnerManager, IWebHostEnvironment environment, IPartnerActivityRepo partnerActivity)
 {
     this.db              = db;
     this.partnerManager  = partnerManager;
     this.environment     = environment;
     this.partnerActivity = partnerActivity;
 }
 public ChangeSecretHistoryRepo(IAppDbContext db, IPartnerManager partnerManager,
                                IPartnerActivityRepo partnerActivityRepo)
 {
     _db                  = db;
     _partnerManager      = partnerManager;
     _partnerActivityRepo = partnerActivityRepo;
 }
Exemplo n.º 3
0
 public MoneyTransferRepo(IAppDbContext db, IPartnerManager partnerManager,
                          IPartnerActivityRepo partnerActivityRepo)
 {
     this.db                  = db;
     this.partnerManager      = partnerManager;
     this.partnerActivityRepo = partnerActivityRepo;
 }
 public MoneyTransferController(IAppDbContext db,
                                IPartnerManager partnerManager,
                                IPartnerActivityRepo partnerActivity)
 {
     this._db              = db;
     this._partnerManager  = partnerManager;
     this._partnerActivity = partnerActivity;
 }
Exemplo n.º 5
0
 public ActivityController(IAppDbContext db, IPartnerManager partnerManager, IToastNotification toastNotification,
                           IPartnerActivityRepo activityRepo)
 {
     this.db                = db;
     this.partnerManager    = partnerManager;
     this.toastNotification = toastNotification;
     _activityRepo          = activityRepo;
 }
Exemplo n.º 6
0
 public StatController(IAppDbContext db, IPartnerManager partnerManager,
                       IPartnerActivityRepo partnerActivity, IToastNotification toastNotification)
 {
     this.db                = db;
     this.partnerManager    = partnerManager;
     this.partnerActivity   = partnerActivity;
     this.toastNotification = toastNotification;
 }
Exemplo n.º 7
0
 public frm_Parent(IAppDbContext db, IPartnerManager partnerManager, IPartnerActivityRepo partnerActivityRepo, ILogger <frm_Parent> logger)
 {
     InitializeComponent();
     Db = db;
     this.partnerManager      = partnerManager;
     this.partnerActivityRepo = partnerActivityRepo;
     _logger = logger;
 }
Exemplo n.º 8
0
 public SettingsController(IAppDbContext db, IPartnerActivityRepo partActRepo
                           , IPartnerManager partnerManager, IDataAuditRepo auditing, IToastNotification toastNotification)
 {
     _db                = db;
     _partActRepo       = partActRepo;
     _partnerManager    = partnerManager;
     _auditing          = auditing;
     _toastNotification = toastNotification;
 }
Exemplo n.º 9
0
 public SettingsController(IHostingEnvironment hostingEnvironment, ISiteConfigManager siteConfigManager, UserManager <IdentityUser> userManager, IDiscountManager discountManager, ISliderItemManager sliderManager, IPartnerManager partnerManager)
 {
     _hostingEnvironment = hostingEnvironment;
     _siteConfigManager  = siteConfigManager;
     _userManager        = userManager;
     _discountManager    = discountManager;
     _sliderManager      = sliderManager;
     _partnerManager     = partnerManager;
 }
Exemplo n.º 10
0
 public PartnerAppService(IPartnerManager partnerManager,
                          IRepository <Partner, long> partnerRepository,
                          IOptionsSnapshot <AppSettings> appSettings)
     : base(partnerRepository)
 {
     this._partnerManager   = partnerManager;
     this._appSettings      = appSettings.Value;
     LocalizationSourceName = TaobaoAuthorizationConsts.LocalizationSourceName;
 }
Exemplo n.º 11
0
 public msgController(IAppDbContext db, IPartnerManager partnerManager, IToastNotification toastNotification,
                      IPartnerActivityRepo partnerActivity, IDataAuditRepo auditing)
 {
     this.db                = db;
     this.partnerManager    = partnerManager;
     this.toastNotification = toastNotification;
     this.partnerActivity   = partnerActivity;
     this.auditing          = auditing;
 }
Exemplo n.º 12
0
 public AccountController(IAppDbContext db,
                          IPartnerManager partnerManager,
                          ITokenService tokenService,
                          IApiDbLog apiDbLog)
 {
     this._db             = db;
     this._partnerManager = partnerManager;
     this._tokenService   = tokenService;
     this._apiDbLog       = apiDbLog;
 }
 public PartnerRequestsController(IPartnerRequestRepository partnerRequestRepository,
                                  IPartnerManager partnerManager,
                                  IEmailManager emailManager,
                                  IUserRepository userRepository)
 {
     this.partnerRequestRepository = partnerRequestRepository;
     this.partnerManager           = partnerManager;
     this.emailManager             = emailManager;
     this.userRepository           = userRepository;
 }
Exemplo n.º 14
0
 public BgservController(IAppDbContext db, IPartnerManager partnerManager,
                         IToastNotification toastNotification, IPartnerActivityRepo partnerActivity,
                         IWebHostEnvironment environment)
 {
     this.db                = db;
     this.partnerManager    = partnerManager;
     this.toastNotification = toastNotification;
     this.partnerActivity   = partnerActivity;
     this.environment       = environment;
 }
Exemplo n.º 15
0
 public TopupController(IAppDbContext db,
                        IPartnerManager partnerManager,
                        IConfiguration config,
                        ILoggerManager logger
                        )
 {
     this._db             = db;
     this._partnerManager = partnerManager;
     this._config         = config;
     _logger = logger;
 }
Exemplo n.º 16
0
 public MoneyTransferController(IAppDbContext db, IPartnerManager partnerManager
                                , IPartnerActivityRepo partnerActivity, IConverter converter, IWebHostEnvironment environment,
                                ILogger <MoneyTransferController> logger, IToastNotification toastNotification)
 {
     this._db              = db;
     this._partnerManager  = partnerManager;
     this._partnerActivity = partnerActivity;
     this.converter        = converter;
     this.environment      = environment;
     this.logger           = logger;
     _toastNotification    = toastNotification;
 }
Exemplo n.º 17
0
 public PartActivityController(IAppDbContext db, IPartnerActivityRepo partActRepo
                               , IPartnerManager partnerManager, IDataAuditRepo auditing
                               , IToastNotification toastNotification,
                               ILogger <PartActivityController> logger)
 {
     this.db                = db;
     _partActRepo           = partActRepo;
     _PartnerManager        = partnerManager;
     _auditing              = auditing;
     this.toastNotification = toastNotification;
     _logger                = logger;
 }
Exemplo n.º 18
0
 public frm_interface(byte Interface_No, IAppDbContext db, IPartnerManager partnerManager, IPartnerActivityRepo partnerActivityRepo
                      , ILogger <frm_Parent> logger)
 {
     InitializeComponent();
     _interface_no            = Interface_No;
     this.db                  = db;
     this.partnerManager      = partnerManager;
     this.partnerActivityRepo = partnerActivityRepo;
     _logger                  = logger;
     //bw_Delivery.WorkerReportsProgress = true;
     //bw_Delivery.WorkerSupportsCancellation = true;
     //bw_Delivery.DoWork += new DoWorkEventHandler(bw_Delivery_DoWork);
     //bw_Delivery.ProgressChanged += new ProgressChangedEventHandler(bw_Delivery_ProgressChanged);
     //bw_Delivery.RunWorkerCompleted += new RunWorkerCompletedEventHandler(bw_Delivery_RunWorkerCompleted);
 }
Exemplo n.º 19
0
 public ActivityRepo(IAppDbContext db, IPartnerManager partnerManager)
 {
     this.db             = db;
     this.partnerManager = partnerManager;
 }
Exemplo n.º 20
0
 public MessageTemplateRepo(IAppDbContext db, IPartnerManager partnerManager)
 {
     this.db             = db;
     this.partnerManager = partnerManager;
 }
Exemplo n.º 21
0
 public TopupService(IAppDbContext db, IPartnerManager partnerManager)
 {
     this._db        = db;
     _partnerManager = partnerManager;
 }
Exemplo n.º 22
0
 public AdjustmentRepo(IAppDbContext db, IPartnerManager partnerManager, IPartnerActivityRepo partnerActivityRepo)
 {
     this.db                  = db;
     this.partnerManager      = partnerManager;
     this.partnerActivityRepo = partnerActivityRepo;
 }
Exemplo n.º 23
0
 public PartnerController(IPartnerManager partnerManager,
                          IMapper mapper)
 {
     _partnerManager = partnerManager;
     _mapper         = mapper;
 }
Exemplo n.º 24
0
 public NotificationRepo(IAppDbContext db, IPartnerManager partnerManager)
 {
     this.db             = db;
     this.partnerManager = partnerManager;
 }
 //Constructors
 public PartnerConnectionStringResolver(IPartnerManager partnerManager, string unresolvedPartnerConnectionString, int partnerId)
 {
     _partnerManager = partnerManager;
     _unresolvedPartnerConnectionString = unresolvedPartnerConnectionString;
     _partnerId = partnerId;
 }
 public PartnerConnectionStringResolver(IPartnerManager partnerManager, string unresolvedPartnerConnectionString, string partnerDomain)
 {
     _partnerManager = partnerManager;
     _unresolvedPartnerConnectionString = unresolvedPartnerConnectionString;
     _partnerDomain = partnerDomain;
 }
Exemplo n.º 27
0
 public PartnerStatusLogRepo(IAppDbContext db, IPartnerManager partnerManager)
 {
     this.db             = db;
     this.partnerManager = partnerManager;
 }
Exemplo n.º 28
0
 public SMSOneRepo(IAppDbContext db, IPartnerManager partnerManager)
 {
     this.db             = db;
     this.partnerManager = partnerManager;
 }
Exemplo n.º 29
0
        static BllFactory()
        {
            //ASP.NET Identity

            //Define Ninject Dependency Injection Bindings
            Kernel.Bind <IGeneralCodeManager>().To <GeneraCodeManager>();
            Kernel.Bind <ISubCodeManager>().To <SubCodeManager>();
            Kernel.Bind <IOpportunityManager>().To <OpportunityManager>();
            Kernel.Bind <IindividualDetailsManager>().To <IndividualDetailsManager>();
            Kernel.Bind <IEventManager>().To <EventManager>();
            Kernel.Bind <IJobManager>().To <JobManager>();
            Kernel.Bind <IDimThemesManager>().To <DimThemesManager>();
            Kernel.Bind <ITrainingManager>().To <TrainingManager>();
            Kernel.Bind <IDataServiceManager>().To <DataServiceManager>();
            Kernel.Bind <IThemesVariablesManager>().To <ThemesVariablesManager>();
            Kernel.Bind <IReportsManager>().To <ReportsManager>();
            Kernel.Bind <IFactStatisticalDataManager>().To <FactStatisticalDataManager>();
            Kernel.Bind <IAspNetUsersManager>().To <AspNetUsersManager>();
            Kernel.Bind <IPagesActionsManager>().To <PagesActionsManager>();
            Kernel.Bind <IPagesManager>().To <PagesManager>();
            Kernel.Bind <IConfigCenterManager>().To <ConfigCenterManager>();
            Kernel.Bind <IOrganizationContactInfoManager>().To <OrganizationContactInfoManager>();
            Kernel.Bind <IOrganizationManager>().To <OrganizationManager>();
            Kernel.Bind <IRequestLogManager>().To <RequestLogManager>();
            Kernel.Bind <IFeedbackManager>().To <FeedbackManager>();
            Kernel.Bind <ITestimonialsManager>().To <TestimonialsManager>();
            Kernel.Bind <IPortalUsersManager>().To <PortalUsersManager>();
            Kernel.Bind <INewsManager>().To <NewsManager>();
            Kernel.Bind <IIndividualManager>().To <IndividualManager>();
            Kernel.Bind <IPartnerManager>().To <PartnerManager>();
            Kernel.Bind <IIndManager>().To <IndManager>();
            Kernel.Bind <IOrgManager>().To <OrgManager>();
            Kernel.Bind <IChatLogManager>().To <ChatLogManager>();
            Kernel.Bind <IConceptNonFormalTrainingManager>().To <ConceptNonFormalTrainingManager>();
            Kernel.Bind <ILmisReportsRepository>().To <LmisReportsRepository>();
            Kernel.Bind <IObsceneWordsManager>().To <ObsceneWordsManager>();
            Kernel.Bind <IListOfEmailsManager>().To <ListOfEmailsManager>();
            Kernel.Bind <IHelpfulLinkManager>().To <HelpfulLinkManager>();
            Kernel.Bind <IQualificationsManager>().To <QualificationsManager>();
            Kernel.Bind <IOfficeManager>().To <OfficeManager>();
            Kernel.Bind <IUnionManager>().To <UnionManager>();
            Kernel.Bind <IFaqManager>().To <FaqManager>();
            Kernel.Bind <IConceptsDefinitionsManager>().To <ConceptsDefinitionsManager>();
            Kernel.Bind <IEmployersTrainingProvidersManager>().To <EmployersTrainingProvidersManager>();
            Kernel.Bind <IRecruitmentAgenciesManager>().To <RecruitmentAgenciesManager>();

            //Serve BLL Objects as Singletons
            GeneralCodeMgr       = Kernel.Get <IGeneralCodeManager>();
            SubCodeMgr           = Kernel.Get <ISubCodeManager>();
            OpportunityMgr       = Kernel.Get <IOpportunityManager>();
            IndividualDetailsMgr = Kernel.Get <IindividualDetailsManager>();
            EventMgr             = Kernel.Get <IEventManager>();
            JobMgr                        = Kernel.Get <IJobManager>();
            DimThemesMgr                  = Kernel.Get <IDimThemesManager>();
            TrainingMgr                   = Kernel.Get <ITrainingManager>();
            DataServiceMgr                = Kernel.Get <IDataServiceManager>();
            ThemesVariablesMgr            = Kernel.Get <IThemesVariablesManager>();
            ReportsMgr                    = Kernel.Get <IReportsManager>();
            FactStatisticalDataMgr        = Kernel.Get <IFactStatisticalDataManager>();
            AspNetUsersMgr                = Kernel.Get <IAspNetUsersManager>();
            PagesActionsMgr               = Kernel.Get <IPagesActionsManager>();
            PagesMgr                      = Kernel.Get <IPagesManager>();
            ConfigCenterMgr               = Kernel.Get <IConfigCenterManager>();
            OrganizationContactInfoMgr    = Kernel.Get <IOrganizationContactInfoManager>();
            OrganizationMgr               = Kernel.Get <IOrganizationManager>();
            RequestLogMgr                 = Kernel.Get <IRequestLogManager>();
            FeedbackMgr                   = Kernel.Get <IFeedbackManager>();
            TestimonialsMgr               = Kernel.Get <ITestimonialsManager>();
            PortalUsersMgr                = Kernel.Get <IPortalUsersManager>();
            NewsMgr                       = Kernel.Get <INewsManager>();
            IndividualMgr                 = Kernel.Get <IIndividualManager>();
            PartnersMgr                   = Kernel.Get <IPartnerManager>();
            IndMgr                        = Kernel.Get <IIndManager>();
            OrgMgr                        = Kernel.Get <IOrgManager>();
            ChatLogMgr                    = Kernel.Get <IChatLogManager>();
            ConceptNonFormalTrainingMgr   = Kernel.Get <IConceptNonFormalTrainingManager>();
            LmisReportsRepo               = Kernel.Get <ILmisReportsRepository>();
            ObsceneWordsRepo              = Kernel.Get <IObsceneWordsManager>();
            ListOfEmailsRepo              = Kernel.Get <IListOfEmailsManager>();
            HelpfulLinkRepo               = Kernel.Get <IHelpfulLinkManager>();
            QualificationsRepo            = Kernel.Get <IQualificationsManager>();
            OfficeMgr                     = Kernel.Get <IOfficeManager>();
            UnionMgr                      = Kernel.Get <IUnionManager>();
            FaqMgr                        = Kernel.Get <IFaqManager>();
            ConceptsDefinitionsMgr        = Kernel.Get <IConceptsDefinitionsManager>();
            EmployersTrainingProvidersMgr = Kernel.Get <IEmployersTrainingProvidersManager>();
            RecruitmentAgenciesMgr        = Kernel.Get <IRecruitmentAgenciesManager>();
        }
Exemplo n.º 30
0
 public PaymentValuesRepo(IAppDbContext db, IPartnerManager partnerManager)
 {
     _db             = db;
     _partnerManager = partnerManager;
 }