Пример #1
0
        public List <KeyValue> GetCanReturn(int supplierid, string order)
        {
            var l = _stockoutRepository.GetCanReturn(supplierid);

            if (order != null && order != "")
            {
                return(l.Where(item => item.text.Contains(order.ToUpper()) || item.column1.Contains(order.ToUpper()) || item.column2.Contains(order.ToUpper()) || item.column3.Contains(order.ToUpper())).ToList());
            }
            else
            {
                return(l);
            }
        }