public JsonResult WinList(string text, long id, int page = 1, int rows = 20) { var result = WeiActivityApplication.GetActivityWin(text, id, page, rows); var datas = result.Models.ToList(); DataGridModel <WeiActivityWinModel> weiActivityWinModel = new DataGridModel <WeiActivityWinModel> { rows = datas, total = result.Total }; return(Json(weiActivityWinModel)); }