Esempio n. 1
0
        // GET: Candidates
        public ActionResult Index()
        {
            var finacialYear = _financialYearAppService.GetActiveFinancialYear();
            var candidates   = _candidateAppService.GetCandidates(finacialYear, _stationAppService.GetStation(_userAppService.GetLoggedInUser().StationId));

            return(View(candidates));
        }
Esempio n. 2
0
        public async Task <ActionResult> Index()
        {
            var output = await _candidateAppService.GetCandidates();

            return(View(output));
        }