diff --git a/src/Controllers/Common/PingController.cs b/src/Controllers/Common/PingController.cs new file mode 100644 index 0000000..7f1b53e --- /dev/null +++ b/src/Controllers/Common/PingController.cs @@ -0,0 +1,17 @@ +using Microsoft.AspNetCore.Http; +using Microsoft.AspNetCore.Mvc; + +namespace sodoff.Controllers.Common +{ + [ApiController] + public class PingController : Controller + { + [HttpPost] + [Produces("applcation/xml")] + [Route("PingWebService.asmx/GetPingPayload")] + public IActionResult GetPingPayload() + { + return Ok("Pong!"); + } + } +}