Fix Restsharp / Move to Postgresql
This commit is contained in:
19
LaDOSE.Src/LinuxTest/Program.cs
Normal file
19
LaDOSE.Src/LinuxTest/Program.cs
Normal 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);
|
||||
}
|
||||
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user