Exemplo n.º 1
0
        public async Task <IViewComponentResult> InvokeAsync()
        {
            int newsCount = _configurationHelper.IndexNewsCount;
            var model     = await _jobAdertsService.GetListAsync();

            return(View("FinanceJob", model));
        }
Exemplo n.º 2
0
        public async Task <IActionResult> List(DataSourceLoadOptions loadOptions)
        {
            var result = await _jobAdvertsService.GetListAsync(loadOptions);

            var r = new JsonResult(result);

            return(r);
        }