Mostly backend models stuff

Changed some models, did some work on database, created a class diagram.
This commit is contained in:
Nadegamra
2021-09-08 20:20:32 +03:00
parent 3e82ea9392
commit a3b4bb2e30
11 changed files with 105 additions and 14 deletions

View File

@@ -15,6 +15,9 @@ namespace KTUSA_PS.Controllers
public class TestController : ControllerBase
{
[HttpGet]
public bool Index() => true;
public Object[] Index()
{
return this.HttpContext.User.Claims.Select(x => new { Name = x.Type, Value= x.Value }).ToArray();
}
}
}