public PlaceOrderInteractor(OrderRequestModel orderRequestModel, IOrderGateway orderGateway) { /* * TODO: * - I'd need to take a reference to an outside boundary (i.e. a Repository) * which then saves it back to the DB * - What about the entities?? What kind of role do they play? */ this.orderGateway = orderGateway; this.orderRequestModel = orderRequestModel; }
public void PlaceOrder(OrderRequestModel orderRequestModel, IPlaceOrderOutputPort placeOrderOutbound) { //orderOutbound.DisplaySuccess(); throw new NotImplementedException(); }