Пример #1
0
        public static void RegisterProfile(string data)
        {
            try
            {
                var req = INSERT.InsertRequest("users", Items.GetRegisterList(), Items.SetRegisterList(data));
                RequestToDB.CreateRequest(req, "RegistrationRequest");
            }

            catch (Exception ex)
            {
                FormsManaging.TextGenerator(ex.ToString());
            }
        }
Пример #2
0
 public static void CreateTable(string username, int id)
 {
     var data = INSERT.InsertRequest("scores", "username", username);
     //RequestToDB.CreateRequest(data, "CreateTable", id);
 }
Пример #3
0
 public static void SetUserScores(string data, int id)
 {
     var request = INSERT.InsertRequest("scores", "score", data);
     //RequestToDB.CreateRequest(request,"SetScoreRequest", id);
 }
Пример #4
0
        public static void SetUserScores(string data)
        {
            var request = INSERT.InsertRequest($"scores", "score", data);

            RequestToDB.CreateRequest(request, "SetScoreRequest");
        }