Ejemplo n.º 1
0
 public SecurityController()
 {
     _userBLL = new UserBLL();
     _customerBLL = new CustomerBLL();
     _LoggingBLL = new LoggingBLL();
 }
Ejemplo n.º 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);
 }
Ejemplo n.º 3
0
 public static bool deleteCustomerTest(int id)
 {
     var customerBLL = new CustomerBLL();
     return customerBLL.delete(id);
 }
Ejemplo n.º 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();
 }