// GET: Candidates public ActionResult Index() { var finacialYear = _financialYearAppService.GetActiveFinancialYear(); var candidates = _candidateAppService.GetCandidates(finacialYear, _stationAppService.GetStation(_userAppService.GetLoggedInUser().StationId)); return(View(candidates)); }
public async Task <ActionResult> Index() { var output = await _candidateAppService.GetCandidates(); return(View(output)); }