using Microsoft.AspNetCore.Mvc; using static CompServ.CompServConst; namespace CompServ.Hub { [ApiController] public class HubController : ControllerBase { [HttpGet] [Route("/")] public async Task CheckAlive() => await Task.FromResult(Content(AliveMessageHub)); } }