polling demo

This commit is contained in:
Ryan Peters
2023-01-09 15:54:20 -05:00
parent 2caa82b8f4
commit 4673220624
2 changed files with 24 additions and 0 deletions

View File

@ -14,6 +14,10 @@ public class ApiController : ControllerBase
this.noteService = noteService;
}
[HttpGet]
[Route("get")]
public string Get() => noteService.Get();
[HttpPost]
[Route("save")]
public async Task<bool> Save()