Fix Restsharp / Move to Postgresql

This commit is contained in:
2023-07-12 05:06:18 +02:00
parent d379a43eb4
commit 99257c3422
19 changed files with 206 additions and 144 deletions

View File

@@ -0,0 +1,19 @@
using LaDOSE.REST;
internal class Program
{
public static void Main(string[] args)
{
Console.WriteLine("Rest Test");
var p = new LaDOSE.REST.RestService();
Console.WriteLine("[+] Connect");
p.Connect(new Uri("http://localhost:5000/"),"dev","dev");
Console.WriteLine("[+] Test");
var games = p.GetGames();
foreach (var ga in games)
{
Console.WriteLine(ga.Name);
}
}
}