Exemplo n.º 1
0
        public Demands DemandsGetAll()
        {
            Demands demands = new Demands();

            if (_productionOrderBoms.Any())
            {
                demands.AddAll(_productionOrderBoms);
            }

            if (_stockExchangeDemands.Any())
            {
                demands.AddAll(_stockExchangeDemands);
            }

            if (_customerOrderParts.Any())
            {
                demands.AddAll(_customerOrderParts);
            }

            return(demands);
        }