Modification Smash

Ajout Ecran Layout XSB
This commit is contained in:
2022-05-18 22:47:28 +02:00
parent 0150402ca6
commit 092f9868a1
14 changed files with 326 additions and 15 deletions

View File

@@ -80,6 +80,21 @@ namespace LaDOSE.Api.Controllers
return false;
}
[AllowAnonymous]
[HttpGet("GetPlayers/{slug}")]
public async Task<List<String>> GetPlayer(string slug)
{
if (!string.IsNullOrEmpty(slug))
{
var player = await _service.GetPlayer(slug);
return player;
}
throw new Exception("Erreur");
}
}
}