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(); }
public OrderController( CustomerRepository customerRepository, OrderRepository orderRepository, InventoryRepository inventoryRepository, EmailLibrary emailLibrary) { CustomerRepository = customerRepository; OrderRepository = orderRepository; InventoryRepository = inventoryRepository; EmailLibrary = emailLibrary; }