Alan Moon e956985678 Add Placeholder For LogEvent
and Add ``ping`` Method For Status Page
2024-03-27 09:46:02 +00:00

23 lines
496 B
C#

using Microsoft.AspNetCore.Mvc;
namespace sodoff.Controllers.Common
{
public class AnalyticsController : Controller
{
[HttpPost]
[Produces("application/xml")]
[Route("AnalyticsWebService.asmx/LogEvent")]
public IActionResult LogEvent()
{
// placeholder to prevent a ton of 404's
return Ok(true);
}
[Route("ping")]
public IActionResult Ping()
{
return Ok();
}
}
}