public CustomerOrderController(ICustomerOrder customerOrder) { _customerOrder = customerOrder; }
//test start //string connectionstring= ConfigurationManager.ConnectionStrings["DATA SOURCE=localhost:1521/XE;USER ID=SYSTEM;password:nml;Integrated Security=True"].ConnectionString; //test end public CustomerOrderController() { _customerOrder = new CustomerOrderManager(); }
public CustomerOrderUnitTests(ICustomerOrder customerOrder) { _customerOrderContext = customerOrder; }
public OrderProcessedMessage(ICustomerOrder customerOrder, string message, bool success) { _customerOrder = customerOrder; _message = message; _success = success; }
public PlaceOrder(ICustomerOrder customerOrder) { _customerOrder = customerOrder; }