25 lines
561 B
C#
25 lines
561 B
C#
using Microsoft.AspNetCore.Http;
|
|
using Microsoft.AspNetCore.Mvc;
|
|
|
|
namespace WebDoorCreator.API.Controllers
|
|
{
|
|
[Route("api/[controller]")]
|
|
[ApiController]
|
|
public class AliveController : ControllerBase
|
|
{
|
|
// GET: api/Alive
|
|
[HttpGet]
|
|
public string Get()
|
|
{
|
|
return "OK";
|
|
}
|
|
|
|
//// GET: api/Alive/Clock
|
|
//[HttpGet("Clock")]
|
|
//public string GetClock(string id)
|
|
//{
|
|
// return DateTime.Now.ToString($"yyyy-MM-dd HH:mm:ss.fff - ID: {id}");
|
|
//}
|
|
}
|
|
}
|