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()); } }
public static void CreateTable(string username, int id) { var data = INSERT.InsertRequest("scores", "username", username); //RequestToDB.CreateRequest(data, "CreateTable", id); }
public static void SetUserScores(string data, int id) { var request = INSERT.InsertRequest("scores", "score", data); //RequestToDB.CreateRequest(request,"SetScoreRequest", id); }
public static void SetUserScores(string data) { var request = INSERT.InsertRequest($"scores", "score", data); RequestToDB.CreateRequest(request, "SetScoreRequest"); }