13 lines
282 B
C#
13 lines
282 B
C#
using Microsoft.AspNetCore.Authorization;
|
|
using Microsoft.AspNetCore.Mvc;
|
|
|
|
namespace Moonlight.Api.Http.Controllers;
|
|
|
|
[ApiController]
|
|
[Route("api/ping")]
|
|
public class PingController : Controller
|
|
{
|
|
[HttpGet]
|
|
[AllowAnonymous]
|
|
public IActionResult Get() => Ok("Pong");
|
|
} |