Ejemplo n.º 1
0
 public static void addSuperadmin()
 {
     var employee = createSuperEmployee();
     var user = createSuperUser();
     var temp = new EmployeeBLL();
     if (temp.find(user.username) != null)
         return;
     var tempEmpBLL = new EmployeeBLL();
     var tempUserBLL = new UserBLL();
     tempEmpBLL.add(employee);
     user.ID = employee.employeeID;
     tempUserBLL.add(user);
 }
 public AdminEmployeeController(EmployeeBLL employeeBLL, UserBLL userBLL, LoggingBLL loggingBLL)
 {
     _employeeBLL = employeeBLL;
     _userBLL = userBLL;
     _loggingBLL = loggingBLL;
 }
 public AdminEmployeeController()
 {
     _employeeBLL = new EmployeeBLL();
     _userBLL = new UserBLL();
     _loggingBLL = new LoggingBLL();
 }
Ejemplo n.º 4
0
 public SecurityController()
 {
     _userBLL = new UserBLL();
     _customerBLL = new CustomerBLL();
     _LoggingBLL = new LoggingBLL();
 }
Ejemplo n.º 5
0
 public UserController()
 {
     _customerBLL = new CustomerBLL();
     _userBLL = new UserBLL();
     _loggingBLL = new LoggingBLL();
 }
Ejemplo n.º 6
0
 public SecurityController(EmployeeBLL employeeBLL, UserBLL userBLL, LoggingBLL loggingBLL)
 {
     _EmployeeBLL = employeeBLL;
     _userBLL = userBLL;
     _loggingBLL = loggingBLL;
 }
Ejemplo n.º 7
0
 public SecurityController()
 {
     _userBLL = new UserBLL();
     _EmployeeBLL = new EmployeeBLL();
     _loggingBLL = new LoggingBLL();
 }