示例#1
0
 public string UpdateDefaultPlayer(User user)
 {
     var updateUser = new UserRepository();
     updateUser.UpdateDefaultPlayer(user);
     var Success = user.ActivePlayer;
     return "{'UpdatedPlayerID': " + Success + "}";
 }
示例#2
0
 public User GetUserInfo(string id)
 {
     var ncr = new UserRepository();
     return ncr.GetUser(id);
 }