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