DataService hinzugefügt

This commit is contained in:
hydrant
2019-09-17 23:09:00 +02:00
parent e62ca95f4d
commit 73659cdb9e
13 changed files with 490 additions and 1 deletions

View File

@@ -0,0 +1,17 @@
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using ReallifeGamemode.Database;
namespace ReallifeGamemode.DataService.Types
{
public class GetUserDataResponse
{
public string Name { get; set; }
public AdminLevel AdminLevel { get; set; }
public DateTime RegistrationDate { get; set; }
}
}

View File

@@ -0,0 +1,19 @@
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
namespace ReallifeGamemode.DataService.Types
{
public class LoginRequest
{
public string Username { get; set; }
public string Password { get; set; }
}
public class LoginResponse
{
public string Token { get; set; }
}
}