mirror of https://github.com/ivanch/tcc.git
18 lines
351 B
C#
18 lines
351 B
C#
|
using Microsoft.AspNetCore.Mvc;
|
|||
|
|
|||
|
namespace TCC.Controllers
|
|||
|
{
|
|||
|
[ApiController]
|
|||
|
[Route("status")]
|
|||
|
public class StatusController : ControllerBase
|
|||
|
{
|
|||
|
public StatusController() { }
|
|||
|
|
|||
|
[HttpGet("ok")]
|
|||
|
public async Task<IActionResult> ReturnOk()
|
|||
|
{
|
|||
|
return Ok(new { status = 200 });
|
|||
|
}
|
|||
|
}
|
|||
|
}
|