Beispiel #1
0
        public List <GiftEntity> GetList(Pagination pagination, string queryJson)
        {
            var expression = ExtLinq.True <GiftEntity>();
            var queryParam = queryJson.ToJObject();

            if (!queryParam["keyword"].IsEmpty())
            {
                string keyword = queryParam["keyword"].ToString();
                //expression = expression.And(t => t.Title.Contains(keyword));
            }
            return(service.FindList(expression, pagination));
        }