Пример #1
0
        public Demand DemandsGetById(Id id)
        {
            Demand demand = _productionOrderBoms.GetById(id);

            if (demand == null)
            {
                demand = _stockExchangeDemands.GetById(id);
                if (demand == null)
                {
                    demand = _customerOrderParts.GetById(id);
                }
            }

            return(demand);
        }