예제 #1
0
        public async Task <IActionResult> Index()
        {
            var result = bs.dbResult <List <Object[]> >();
            await bs.dbAsync(false, "test", async (db) => {
                result = await db.selectAsync <List <Object[]> >("a", "title", "1PD시험a");
                return(true);
            });

            return(Json(new { data = result.result, a = bs.before(this), b = bs.fr <string>(true, "test.html") }));
        }