public FulfillmentService() { FulfillmentDB.Initialize(); FulfillmentDB context = new FulfillmentDB(); _pickListService = new PickListService( context.GetPickListRepository()); _messageQueue = new MsmqMessageQueueOutbound< Messages.PlaceOrder>( ".", typeof(Messages.PlaceOrder).FullName); }
public FulfillmentService() { FulfillmentDB.Initialize(); FulfillmentDB context = new FulfillmentDB(); _customerService = new CustomerService( context.GetCustomerRepository()); _productService = new ProductService( context.GetProductRepository()); _inventoryAllocationService = new InventoryAllocationService( context.GetWarehouseRepository()); _pickListService = new PickListService( context.GetPickListRepository()); _messageQueue = new MsmqMessageQueueOutbound< Messages.PlaceOrder>( ".", typeof(Messages.PlaceOrder).FullName); }