Initial code commit.

This commit is contained in:
2026-02-03 10:44:31 +08:00
parent 8927c5ae0e
commit d69fe2cc1f
99 changed files with 10839 additions and 0 deletions

View File

@@ -0,0 +1,21 @@
using Asp.Versioning;
using Microsoft.AspNetCore.Mvc;
namespace Sufi.Demo.PeopleDirectory.UI.Server.Controllers.v2
{
/// <summary>
/// Provides API endpoints for infrastructure-related operations.
/// </summary>
/// <remarks>This controller is part of the infrastructure layer and includes endpoints for monitoring and diagnostics.</remarks>
[ApiVersion(2.0)]
public class InfraController : BaseApiController<InfraController>
{
/// <summary>
/// Simulates a ping to check if the server is responsive.
/// </summary>
/// <returns></returns>
[Route("ping")]
[HttpGet]
public IActionResult Ping() => Ok("Server is OK");
}
}