public async Task <IViewComponentResult> InvokeAsync() { int newsCount = _configurationHelper.IndexNewsCount; var model = await _jobAdertsService.GetListAsync(); return(View("FinanceJob", model)); }
public async Task <IActionResult> List(DataSourceLoadOptions loadOptions) { var result = await _jobAdvertsService.GetListAsync(loadOptions); var r = new JsonResult(result); return(r); }