Exemplo n.º 1
0
        public BusinessLayer()
        {
            _candRepository    = new CandidateRepository();
            _profileRepository = new ProfileInfoRepository();
            _userRepository    = new UserRepository();
            _roleRepository    = new RoleRepository();

            _candStatusRepository      = new CandidateStatusRepository();
            _searchApplicantRepository = new SearchApplicantRepository();
            _companyRepository         = new CompanyRepository();
            _industryRepository        = new IndustryRepository();
            _userRoleRepository        = new UserRoleRepository();
        }
Exemplo n.º 2
0
 public BusinessLayer(ICandidateRepository candRepository,
                      IProfileInfoRepository profileRepository,
                      IUserRepository userRepository,
                      IRoleRepository roleRepository,
                      ICandidateStatusRepository candStatusRepository,
                      ICompanyRepository companyRepository,
                      IIndustryRepository industryRepository,
                      IUserRoleRepository userRoleRepository)
 {
     _candRepository       = candRepository;
     _profileRepository    = profileRepository;
     _userRepository       = userRepository;
     _roleRepository       = roleRepository;
     _candStatusRepository = candStatusRepository;
     _companyRepository    = companyRepository;
     _industryRepository   = industryRepository;
     _userRoleRepository   = userRoleRepository;
 }