tcc/ASP.NET/Controllers/StatusController.cs

18 lines
351 B
C#
Raw Normal View History

2023-08-18 18:14:53 +00:00
using Microsoft.AspNetCore.Mvc;
namespace TCC.Controllers
{
[ApiController]
2023-08-23 14:01:09 +00:00
[Route("status")]
2023-08-18 18:14:53 +00:00
public class StatusController : ControllerBase
{
public StatusController() { }
[HttpGet("ok")]
public async Task<IActionResult> ReturnOk()
{
return Ok(new { status = 200 });
}
}
}