public GenericTaskService(IDAO <TaskDefinition, int> taskDefinitionDAO, ITaskDAO taskDAO, IRoleDAO roleDAO, INoiseProtectionDAO noiseProtectionDAO) { _taskDefinitionDAO = taskDefinitionDAO; _taskDAO = taskDAO; _roleDAO = roleDAO; _noiseProtectionDAO = noiseProtectionDAO; }
public RotationTaskService(IRotationDAO rotationDAO, ITaskDAO taskDAO, ITaskDefinitionDAO taskDefinitionDAO, IRoleDAO roleDAO) { _rotationDAO = rotationDAO; _taskDAO = taskDAO; _taskDefinitionDAO = taskDefinitionDAO; _roleDAO = roleDAO; }
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 RoleBL(IRoleDAO roleDAO) { _roleDAO = roleDAO; }
public DAO(string connectionString) { NoteAccess = new MSQLNoteDAO(connectionString); UserAccess = new MSQLUserDAO(connectionString); RoleAccess = new MSQLRoleDAO(connectionString); }
public RoleLogic(IRoleDAO roleDAO) { _roleDAO = roleDAO; }
public UserBL(IUserDAO userDAO, IRoleDAO roleDAO) { _userDAO = userDAO; _roleDAO = roleDAO; }