Пример #1
0
 /// <summary>
 /// 更新一条数据
 /// </summary>
 public bool Update(yny_002.Model.Agents model)
 {
     return(dal.Update(model));
 }
Пример #2
0
 /// <summary>
 /// 增加一条数据
 /// </summary>
 public static bool Add(yny_002.Model.Agents model)
 {
     return(DAL.Agents.Add(model));
 }