Add ping controller and cleaning code

This commit is contained in:
Dmitriy yawaflua Andreev
2024-07-31 08:02:10 +03:00
parent 6da090ac91
commit 92260f6110
6 changed files with 39 additions and 32 deletions

View File

@@ -0,0 +1,15 @@
using Microsoft.AspNetCore.Mvc;
namespace SkinsApi.Controllers.Default
{
[Route("/ping")]
[ApiController]
public class PingController : ControllerBase
{
[HttpGet]
public async Task<IActionResult> Ping()
{
return Ok("Pong");
}
}
}