Ejemplo 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));
        }
Ejemplo n.º 2
0
        public async Task <ActionResult> Index()
        {
            var output = await _candidateAppService.GetCandidates();

            return(View(output));
        }