public static void DeleteQuery(User user, int number) { Query query = QueryData.Get(user.UserID, number); QueryData.Delete(query); user.Queries = UserData.GetQueries(user.UserID); }
public static Query Load(User user, int number) { return(QueryData.Get(user.UserID, number)); }