/// <summary> /// 添加一条数据 /// </summary> /// <param name="model">数据实体</param> /// <returns></returns> public int Add(Models.APP.Comments model) { return(dal.Add(model)); }
/// <summary> /// 新增 /// </summary> /// <param name="t"></param> /// <returns></returns> public int Add(Comments t) { var result = iComments.Add(t); return(result); }