Exemple #1
0
        //Index with Search Exam
        public ActionResult Index(ExamSearchCriteria model)
        {
            var exams = _examManager.GetExamBySearch(model);

            if (exams == null)
            {
                exams = new List <Exam>();
            }

            model.OrganizationListItem = GetOrganizationList();
            model.ExamTypeListItem     = GetAllExamTypes();

            model.Exams = exams;
            return(View(model));
        }