Add MarketDataServer
This commit is contained in:
19
MarketDataServer/Controllers/PingController.cs
Executable file
19
MarketDataServer/Controllers/PingController.cs
Executable file
@@ -0,0 +1,19 @@
|
||||
using MarketData;
|
||||
using Microsoft.AspNetCore.Mvc;
|
||||
using LogLevel = MarketData.LogLevel;
|
||||
|
||||
|
||||
namespace MarketDataServer.Controllers
|
||||
{
|
||||
[ApiController]
|
||||
[Route("api/[controller]/[action]")]
|
||||
public class PingController : ControllerBase
|
||||
{
|
||||
[HttpGet(Name = "GetPing")]
|
||||
public bool GetPing()
|
||||
{
|
||||
MDTrace.WriteLine(LogLevel.DEBUG,String.Format("[{0:G}][PingController::GetPing]", DateTime.Now));
|
||||
return true;
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user