public IActionResult OnGet() { ActiveSessionNumber = _cipaSystemRepository.GetActiveSessionId().Cast <ModelResult <int> >().Model; ExamsList = _examsRepository.GetExams(); ExamsInSessionList = _examsRepository.GetCurrentSessionExams(); return(Page()); }
public async Task <IActionResult> GetExams() { return(Ok(_examsFleuryRepository.GetExams())); }