public IActionResult OnGet() { ActiveSessionNumber = _cipaSystemRepository.GetActiveSessionId().Cast <ModelResult <int> >().Model; ExamsList = _examsRepository.GetExams(); ExamsInSessionList = _examsRepository.GetCurrentSessionExams(); return(Page()); }
public void OnGet() { Countries = _countryRepository.GetCountries().ToList(); Cities = _countryRepository.GetCities().ToList(); MailBatches = _messageDeliveryRepository.GetMailBatches(); Exams = _examsRepository.GetCurrentSessionExams(); }
public IActionResult OnGet() { Countries = _countryRepository.GetCountries(); Cities = _countryRepository.GetCities(); MailBatches = _messageDeliveryRepository.GetMailBatches(); Exams = _examsRepository.GetCurrentSessionExams(); return(Page()); }
public IActionResult OnGet() { ExamsList = _examsRepository.GetCurrentSessionExams(); return(Page()); }