예제 #1
0
 public static Query Load(User user, int number)
 {
     return(QueryData.Get(user.UserID, number));
 }
예제 #2
0
 public static void AddQuery(User user)
 {
     QueryData.Add(user.UserID, "New Query");
     user.Queries = UserData.GetQueries(user.UserID);
 }
예제 #3
0
 public static void ResetScores(Query query)
 {
     QueryData.Reset(query);
 }
예제 #4
0
 public static void Close(Query query)
 {
     QueryData.Close(query);
 }
예제 #5
0
 public static void Open(Query query)
 {
     QueryData.Open(query);
 }
예제 #6
0
 public static bool ValidCode(string code)
 {
     return(QueryData.IsValid(code));
 }
예제 #7
0
 public static void Save(Query query)
 {
     QueryData.Save(query);
 }