Пример #1
0
 public OrderController()
 {
     CustomerRepository = new CustomerRepository();
     InventoryRepository = new InventoryRepository();
     OrderRepository = new OrderRepository();
     EmailLibrary = new EmailLibrary();
 }
 public OrderController()
 {
     customerRepository = new CustomerRepository();
     orderRepository = new OrderRepository();
     inventoryRepository = new InventoryRepository();
     emailLibrary = new EmailLibrary();
 }
Пример #3
0
 public OrderController(
     CustomerRepository customerRepository,
     OrderRepository orderRepository,
     InventoryRepository inventoryRepository,
     EmailLibrary emailLibrary)
 {
     CustomerRepository = customerRepository;
     OrderRepository = orderRepository;
     InventoryRepository = inventoryRepository;
     EmailLibrary = emailLibrary;
 }