public SecurityController()
 {
     _userBLL = new UserBLL();
     _customerBLL = new CustomerBLL();
     _LoggingBLL = new LoggingBLL();
 }
示例#2
0
 public static bool editCustomer(CustomerModel customerModel)
 {
     var customerBLL = new CustomerBLL();
     customerModel.firstName="Trond";
     customerModel.email = "[email protected]ønning";
     customerModel.adress = "Tronnoland";
     return customerBLL.update(customerModel);
 }
示例#3
0
 public static bool deleteCustomerTest(int id)
 {
     var customerBLL = new CustomerBLL();
     return customerBLL.delete(id);
 }
示例#4
0
 public UserController()
 {
     _customerBLL = new CustomerBLL();
     _userBLL = new UserBLL();
     _loggingBLL = new LoggingBLL();
 }
 public AdminCustomerController(CustomerBLL customerBLL, LoggingBLL loggingBLL)
 {
     _customerBLL = customerBLL;
     _loggingBLL = loggingBLL;
 }
 public AdminCustomerController()
 {
     _customerBLL = new CustomerBLL();
     _loggingBLL = new LoggingBLL();
 }