/// <summary>
      /// 执行插入人员信息方法
      /// </summary>
      /// <param name="obj"></param>
      /// <returns>影响行数</returns>
      public int Insert(User obj)
      {
          int count = US.Insert(obj);

          return(count);
      }
示例#2
0
 //添加用户、用户注册
 public static int AddUser(Users us)
 {
     return(UserService.Insert(us));
 }