Пример #1
0
        public ActionResult GetInstancePageList(Pagination pagination, string relationFormId)
        {
            var watch    = CommonHelper.TimerStart();
            var data     = fromModuleBLL.GetInstancePageList(pagination, relationFormId);
            var JsonData = new
            {
                rows     = data,
                total    = pagination.total,
                page     = pagination.page,
                records  = pagination.records,
                costtime = CommonHelper.TimerEnd(watch)
            };

            return(Content(JsonData.ToJson()));
        }