using System; using System.Web.Http; namespace NKC_WF.Controllers { /// /// Classe verifica stato ALIVE del servizio /// public class AliveController : ApiController { // GET: api/Alive [HttpGet] public string Get() { return "OK"; } // GET: api/Alive/Clock [HttpGet] public string Get(int id) { return DateTime.Now.ToString($"yyyy-MM-dd HH:mm:ss.fff - ID: {id}"); } } }