Exemplo n.º 1
0
 public JoyController(IJokeBLL jokeBLL, IAccountBLL accountBLL, IIsReadBLL isReadBLL)
     : base(accountBLL)
 {
     JokeBLL    = jokeBLL;
     AccountBLL = accountBLL;
     IsReadBLL  = isReadBLL;
 }
Exemplo n.º 2
0
        static DependencyResolver()
        {
            _awardDAO   = new JsonAwardDAO();
            _userDAO    = new JsonUserDAO();
            _accountDAO = new JsonAccountDAO();

            _userLogic    = new UserManager(_userDAO, _awardDAO);
            _awardLogic   = new AwardManager(_awardDAO, _userDAO);
            _accountLogic = new AccountManager(_accountDAO);
        }
Exemplo n.º 3
0
        private readonly IAccountBLL _userSystemBLL; //#构造函数注入

        public AccountController(IAccountBLL userSystemBLL, ILogger <BaseApiController> log) : base(log)
        {
            _userSystemBLL = new AccountBusinessBridge();
        }
Exemplo n.º 4
0
 public AccountController(IAccountBLL model)
 {
     this.model = model;
 }
Exemplo n.º 5
0
 public AccountController( IAccountBLL model )
 {
     this.model = model;
 }
Exemplo n.º 6
0
 public UserAccountController()
 {
     _userBll = new AccountBLL();
 }
Exemplo n.º 7
0
 public IViewController(IAccountBLL userSystemBLL)
 {
     _userSystemBLL = userSystemBLL;
 }
Exemplo n.º 8
0
 public AccountController(IConfiguration configuration, IAccountBLL accountBLL)
 {
     Configuration = configuration;
     AccountBLL    = accountBLL;
 }
 public BankingController(IAccountBLL account)
 {
     _account = account;
 }
Exemplo n.º 10
0
 // Test environment.
 public AdminController(IAdminBLL admin_stub, IAccountBLL acc_stub)
 {
     _adminBLL = admin_stub;
     _accBLL   = acc_stub;
 }
Exemplo n.º 11
0
 // Actual data
 public AdminController()
 {
     _adminBLL = new AdminBLL();
     _accBLL   = new AccountBLL();
 }
Exemplo n.º 12
0
 public SystemRegistController(IAccountBLL accountBLL)
 {
     AccountBLL = accountBLL;
 }
Exemplo n.º 13
0
 public AccountController(IAccountBLL accountBLL)
 {
     this.AccountBLL = accountBLL;
 }