Example #1
0
 public InventoryShipmentOrderReportingService(IInventoryShipmentOrderService inventoryShipmentOrderService)
 {
     if (inventoryShipmentOrderService == null)
     {
         throw new ArgumentNullException("inventoryShipmentOrderService");
     }
     _inventoryShipmentOrderService = inventoryShipmentOrderService;
 }
Example #2
0
        public InventoryShipmentOrdersController(IInventoryShipmentOrderService inventoryShipmentOrderService, IUserIdentityProvider userIdentityProvider)
        {
            if (inventoryShipmentOrderService == null)
            {
                throw new ArgumentNullException("inventoryShipmentOrderService");
            }
            if (userIdentityProvider == null)
            {
                throw new ArgumentNullException("userIdentityProvider");
            }

            _inventoryShipmentOrderService = inventoryShipmentOrderService;
            _userIdentityProvider          = userIdentityProvider;
        }
        public ShipmentMethodsController(IInventoryShipmentOrderService shipmentOrderService, IUserIdentityProvider userIdentityProvider)
        {
            if (shipmentOrderService == null)
            {
                throw new ArgumentNullException("shipmentOrderService");
            }
            if (userIdentityProvider == null)
            {
                throw new ArgumentNullException("userIdentityProvider");
            }

            _shipmentOrderService = shipmentOrderService;
            _userIdentityProvider = userIdentityProvider;
        }