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