/// <summary> /// 添加用户信息 /// </summary> /// <param name="t">实体</param> /// <returns>bool成功返回true 失败返回false</returns> public bool Add(Users t) { var result = users_DAL.Add(t); return(result); }
/// <summary> /// 前台用户注册方法 /// </summary> /// <param name="t">实体类</param> /// <returns>int 受影响行数</returns> public int Add(Users t) { var result = iUsers_DAL.Add(t); return(result); }