public B2BEmailController CreateTestController(
     IEmailLogic email = null
     )
 {
     email = Eval <IEmailLogic>(Params.Email, email);
     return(new B2BEmailController(email));
 }
 public SchedulerLogic(IRepository repository, IEmailLogic emailLogic, IAlertLogic alertLogic, IHubContext <AlertServer> hubContext)
     : base(repository)
 {
     _emailLogic = emailLogic;
     _alertLogic = alertLogic;
     _hubContext = hubContext;
 }
        public EmailController CreateTestController(
            IEmailLogic email = null,
            ITeliaTVUsernameLogic teliaTvUsername = null
            )
        {
            email           = Eval <IEmailLogic>(Params.Email, email);
            teliaTvUsername = Eval <ITeliaTVUsernameLogic>(Params.TeliaTVUsername, teliaTvUsername);

            return(new EmailController(email, teliaTvUsername));
        }
        public new void Setup()
        {
            Email = GetInst <IEmailLogic>();

            dict = new Dictionary <Params, object>()
            {
                { Params.Email, Email },
                { Params.TeliaTVUsername, TeliaTvUsername }
            };

            base.Setup();
        }
예제 #5
0
 public AccountLogic(IAccountRepository iAccountRepository, IEmailLogic iEmailLogic)
 {
     _iAccountRepository = iAccountRepository;
     _iEmailLogic = iEmailLogic;
 }
예제 #6
0
 public EmailController(IEmailLogic emailLogic)
 {
     _emailLogic = emailLogic;
 }
예제 #7
0
 public AccountLogic(IUserLoginInfoRepository userLoginInfoRepository, IUserRepository userRepository, IEmailLogic emailLogic)
 {
     _userLoginInfoRepository = userLoginInfoRepository;
     _userRepository          = userRepository;
     _emailLogic = emailLogic;
 }
예제 #8
0
 public HomeController(IEmailLogic iEmailLogic)
 {
     _logger      = LogManager.GetLogger("Home");
     _iEmailLogic = iEmailLogic;
 }
예제 #9
0
 public OrderLogic(IOrderRepository iOrderRepository, IAccountRepository iAccountRepository, IEmailLogic iEmailLogic)
 {
     _iOrderRepository   = iOrderRepository;
     _iAccountRepository = iAccountRepository;
     _iEmailLogic        = iEmailLogic;
 }
예제 #10
0
 public EmailController(IEmailLogic logic) : base(logic)
 {
 }