/// <summary> /// 增加一条数据 /// </summary> public int Add_ReturnID(cycms.Model.TeacherInfo model) { if (!dal.IfExciet(model.dbo_LoginName)) { return(dal.Add_ReturnID(model)); } else { return(0); } }
/// <summary> /// 更新一条数据 /// </summary> public bool Update(cycms.Model.TeacherInfo model) { return(dal.Update(model)); }
/// <summary> /// 增加一条数据 /// </summary> public bool Add(cycms.Model.TeacherInfo model) { return(dal.Add(model)); }