public InventoryServiceFactory(
            IWarehouseOrderService warehouseOrderService,
            IIntraWarehouseOrderService intraWarehouseOrderService,
            ITreatmentOrderService treatmentOrderService,
            IProductionService productionService)
        {
            if (warehouseOrderService == null)
            {
                throw new ArgumentNullException("warehouseOrderService");
            }
            _warehouseOrderService = warehouseOrderService;

            if (intraWarehouseOrderService == null)
            {
                throw new ArgumentNullException("intraWarehouseOrderService");
            }
            _intraWarehouseOrderService = intraWarehouseOrderService;

            if (treatmentOrderService == null)
            {
                throw new ArgumentNullException("treatmentOrderService");
            }
            _treatmentOrderService = treatmentOrderService;

            if (productionService == null)
            {
                throw new ArgumentNullException("productionService");
            }
            _productionService = productionService;
        }
        public IntraWarehouseInventoryMovementsController(IIntraWarehouseOrderService intraWarehouseOrderService, IUserIdentityProvider userIdentityProvider)
        {
            if (intraWarehouseOrderService == null)
            {
                throw new ArgumentNullException("intraWarehouseOrderService");
            }
            _intraWarehouseOrderService = intraWarehouseOrderService;

            if (userIdentityProvider == null)
            {
                throw new ArgumentNullException("userIdentityProvider");
            }
            _userIdentityProvider = userIdentityProvider;
        }