Example #1
0
 public Resolver()
 {
     daoUsers              = new UsersDAO();
     daoAwards             = new AwardsDAO();
     daoAwardsAssotiations = new AwardsAssotiationsDAO(daoUsers, daoAwards);
     daoRoles              = new RolesDAO();
     daoAuth                  = new AuthDAO();
     GetBLLAuth               = new BLOAuth(daoAuth);
     GetBLLRoles              = new BLORoles(daoRoles);
     GetBLLUsers              = new BLOUsers(daoUsers);
     GetBLLAwards             = new BLOAwards(daoAwards);
     GetBLLAwardsAssotiations = new BLOAwardsAssotiations(daoAwardsAssotiations);
 }
Example #2
0
        static DependencyResolver()
        {
            _userDAO        = new UserDAO();
            _authDAO        = new AuthDAO();
            _roleDAO        = new RoleDAO();
            _fileDAO        = new FileDAO();
            _filestorageDAO = new FTPFileStorageDAO();

            _userLogic        = new UserLogic(_userDAO);
            _authLogic        = new AuthLogic(_authDAO);
            _roleLogic        = new RoleLogic(_roleDAO);
            _fileLogic        = new FileLogic(_fileDAO);
            _filestorageLogic = new FileStorageLogic(_filestorageDAO);
            _filemanager      = new FileManager(_fileDAO, _filestorageDAO);
        }
Example #3
0
 public BLOAuth(IAuthDAO daoAuth)
 {
     this.daoAuth = daoAuth;
 }
Example #4
0
 public AuthLogic(IAuthDAO authDAO)
 {
     _authDAO = authDAO;
 }
Example #5
0
 public AuthService(IAuthDAO authDAO)
 {
     _authDAO = authDAO;
 }