예제 #1
0
 public async Task OnGet(int id)
 {
     Chat = await _getChat.Do(id);
 }
예제 #2
0
 public async Task <IActionResult> GetChat([FromServices] GetChat getChat, int id)
 {
     return(Ok(await getChat.Do(id)));
 }