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