1234567891011121314151617181920 |
- using CP.Model;
- using System;
- using System.Collections.Generic;
- using System.Linq;
- using System.Web;
- namespace CP.Kjh.Models
- {
- /// <summary>
- /// 控制返回页面的数据封装
- /// 因为ViewBag是弱类型,不提倡直接返回。
- /// </summary>
- /// <typeparam name="T"></typeparam>
- public class ResultModel<T,U>
- {
- public T Data { get; set; }
- public U ViewBag { get; set; }
- }
- }
|