Ajout d'un 'Hello World' disponible sur le endpoint '/api/helloworld'
This commit is contained in:
@@ -12,6 +12,12 @@ public class ApiController : ControllerBase
|
||||
this._logger.LogDebug(1, "NLog injected into VersionController");
|
||||
}
|
||||
|
||||
[HttpGet]
|
||||
public string HelloWorld()
|
||||
{
|
||||
return "Hello World !";
|
||||
}
|
||||
|
||||
[HttpGet]
|
||||
public IActionResult Version()
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user