コード例 #1
0
        public EmailTemplateHandler(IConfiguration configuration)
        {
            var factory  = new ProcessorFactoryResolver <IEmailTemplateRepository>(configuration);
            var mfactory = new ProcessorFactoryResolver <IManageUserRepository>(configuration);

            emailTemplateRepository = factory.CreateProcessor();

            _userProcessor = mfactory.CreateProcessor();
        }
コード例 #2
0
        public ManageUserHandler(IConfiguration configuration, IEMailHandler _emailHandler, IHttpContextAccessor httpContextAccessor)
        {
            var factory = new ProcessorFactoryResolver <IManageUserRepository>(configuration);

            _userProcessor = factory.CreateProcessor();
            var mFactory = new ProcessorFactoryResolver <IMasterDataRepository>(configuration);

            masterRepo           = mFactory.CreateProcessor();
            emailHandler         = _emailHandler;
            config               = configuration;
            _httpContextAccessor = httpContextAccessor;
            URLprotocol          = configuration["URLprotocol"];
        }
コード例 #3
0
 public ManageUserController(IManageUserRepository manageUserRepositoryNew)
 {
     manageUserRepository = manageUserRepositoryNew;
 }
コード例 #4
0
 public ManageUserService(IManageUserRepository manageUserRepository)
 {
     _manageUserRepository = manageUserRepository;
 }