Exemplo n.º 1
0
 public UserController(IUserDAO dao, ITransferDAO tdao)
 {
     userDao     = dao;
     transferDAO = tdao;
 }
 public TransferController(ITransferDAO transferDAO)
 {
     this.transferDAO = transferDAO;
 }
Exemplo n.º 3
0
 public TransferController(IUserDAO _userDAO, IAccountDAO _accountDAO, ITransferDAO _transferDAO)
 {
     userDAO     = _userDAO;
     accountDAO  = _accountDAO;
     transferDAO = _transferDAO;
 }
Exemplo n.º 4
0
 public TransferController(IUserDAO userDAO, TransferServices transferServices, IAccountsDAO accountsDAO, ITransferDAO transferDAO)
 {
     this.userDAO          = userDAO;
     this.transferServices = transferServices;     //Don't need a DAO with transferServices in server
     this.accountsDAO      = accountsDAO;
     this.transferDAO      = transferDAO;
 }
Exemplo n.º 5
0
 public AccountController(IAccountDAO _accountDAO, ITransferDAO _transferDAO)
 {
     accountDAO  = _accountDAO;
     transferDAO = _transferDAO;
 }