public MyEstCostDetails(List <long> estItemIDs)
        {
            MyValues = new List <MyCostItem>();

            if (!estItemIDs.Any())
            {
                return;
            }

            var estCosts = _db.EST_Cost.Where(x => estItemIDs.Contains(x.EstItemID) &
                                              x.EST_Item.ItemPurposeID == (int)NEstItemPurpose.ForEstimation)
                           .ToList();

            if (!estCosts.Any())
            {
                return;
            }

            var mycosts = CostCommon.GetCostItems(estCosts);

            MyValues.AddRange(mycosts);


            SetOrders();
        }
        public void SetCostItems()
        {
            var estCosts = _db.EST_Cost.Where(x => x.EstItemID == _estItemID).ToList();

            CostItems = CostCommon.GetCostItems(estCosts);
        }