public async Task <IActionResult> IndexAsync() { var r = await module.QueryAsync(new GamesQuery()); if (AcceptsHtml(Request.Headers)) { return(View(@"game\Games.cshtml", r)); } return(Ok(r)); }
public async Task <IActionResult> IndexAsync() { var r = await module.QueryAsync(new GamesQuery()); if (AcceptsHtml(Request.Headers)) { return(View(@"game\Games.cshtml", r)); } return(Ok(r)); }