示例#1
0
        public void AddLineItemID(int id)
        {
            if (LineItemIds.Equals("N/A"))
            {
                LineItemIds = "";
            }

            if (LineItemIds.Contains($"{id}"))
            {
                return;
            }

            StringBuilder str = new StringBuilder(LineItemIds);

            str.Append($"{id}, ");
            LineItemIds = str.ToString().Trim();
        }