public async Task <IActionResult> GetUser() { await Db.Connection.OpenAsync(); var query = new BlogPostQuery(Db); var result = await query.getUsers(); return(new OkObjectResult(result)); }