Exemple #1
0
        public async Task <IActionResult> GetUser()
        {
            await Db.Connection.OpenAsync();

            var query = new BlogPostQuery(Db);

            var result = await query.getUsers();

            return(new OkObjectResult(result));
        }