Пример #1
0
        public ActionResult GetList(string name, int currentRecord, int numberRecord, string propertyNameSort, bool descending)
        {
            var total = 0;
            var list  = supportRepository.GetList(out total, name, currentRecord, numberRecord, propertyNameSort, descending);

            return(Json(new
            {
                total = total,
                list = list
            },
                        JsonRequestBehavior.AllowGet));
        }