Example #1
0
 /// <summary>
 /// Initializes a new instance of the <see cref="FriendController"/> class.
 /// 设置BaseController的reqeuseCode为Friend
 /// </summary>
 public FriendController()
 {
     requestCode = RequestCode.Friend;
     friendDAO   = new FriendDAO();
     userDAO     = new UserDAO();
     userDataDAO = new UserDataDAO();
 }
Example #2
0
 /// <summary>
 /// Initializes a new instance of the <see cref="UserController"/> class.
 /// 更改RequestCode
 /// </summary>
 public UserController()
 {
     requestCode  = RequestCode.User;
     userDAO      = new UserDAO();
     _userDataDAO = new UserDataDAO();
 }