public async Task <JsonResult> Get() { return(await _apiResponseHelper.RunWithResultAsync(async() => { return await _dashboardContentService.GetAsync(); })); }
public async Task <IActionResult> Get() { var result = await _dashboardContentService.GetAsync(); return(_apiResponseHelper.SimpleQueryResponse(this, result)); }