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); }
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); }
public BLOAuth(IAuthDAO daoAuth) { this.daoAuth = daoAuth; }
public AuthLogic(IAuthDAO authDAO) { _authDAO = authDAO; }
public AuthService(IAuthDAO authDAO) { _authDAO = authDAO; }