Esempio n. 1
0
 public EmployeesController()
 {
     db = new TSPEntities();
     employeeBusinessManager     = new EmployeeBusinessManager(db);
     roleBusinessManager         = new RoleBusinessManager(db);
     workloadbusinessManager     = new WorkloadBusinessManager(db);
     skillsbusinessManager       = new SkillsBusinessManager(db);
     empskilssbusinessManager    = new EmpSkillBusinessManager(db);
     skilllevelbusinessManager   = new SkillLevelsBusinessManager(db);
     subsidiariesbusinessManager = new SubsidariesBusinessManager(db);
     empSubsBusinessManager      = new EmpSubsBusinessManager(db);
 }
Esempio n. 2
0
        static List <Subsidary> searchSubs = new List <Subsidary>(); // new list for subs

        public SearchController()
        {
            db = new TSPEntities();
            employeeBusinessManager     = new EmployeeBusinessManager(db);
            roleBusinessManager         = new RoleBusinessManager(db);
            workloadbusinessManager     = new WorkloadBusinessManager(db);
            skillsbusinessManager       = new SkillsBusinessManager(db);
            empskilssbusinessManager    = new EmpSkillBusinessManager(db);
            skilllevelbusinessManager   = new SkillLevelsBusinessManager(db);
            subsidiariesbusinessManager = new SubsidariesBusinessManager(db);
            empSubsBusinessManager      = new EmpSubsBusinessManager(db);
            tracksbusinessManager       = new TracksBusinessManager(db);
        } // Objects from BLL
Esempio n. 3
0
 public RolesController()
 {
     db = new TSPEntities();
     roleBusinessManager = new RoleBusinessManager(db);
 }