VEU.WathBody/3-app/2-cli/Server.WatchBody.Web/Controllers/HealthController.cs

10 lines
332 B
C#

using Microsoft.AspNetCore.Mvc;
namespace Server.WatchBody.Web.Controllers;
/// <summary>GET /health — без ключа (middleware пропускает).</summary>
public class HealthController : Controller
{
public ContentResult Info() => new ContentResult { Content = "watchbody api v1", ContentType = "text/plain" };
}