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