remove a bunch of locks
This commit is contained in:
parent
b3bf62b391
commit
d7b8664062
13 changed files with 126 additions and 143 deletions
|
@ -18,7 +18,7 @@ internal sealed class Endpoints(
|
|||
{
|
||||
app.MapPost("/player", PostPlayer);
|
||||
app.MapGet("/player", GetPlayerAsync);
|
||||
app.MapGet("/scores", () => playerService.GetAll() as IEnumerable<Player>);
|
||||
app.MapGet("/scores", () => playerService.Players);
|
||||
app.Map("/screen", ConnectScreenAsync);
|
||||
app.Map("/controls", ConnectControlsAsync);
|
||||
app.MapGet("/map", () => mapService.MapNames);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue