public async Task <JsonResult> Get()
 {
     return(await _apiResponseHelper.RunWithResultAsync(async() =>
     {
         return await _dashboardContentService.GetAsync();
     }));
 }
示例#2
0
        public async Task <IActionResult> Get()
        {
            var result = await _dashboardContentService.GetAsync();

            return(_apiResponseHelper.SimpleQueryResponse(this, result));
        }