Beispiel #1
0
        public IActionResult Create()
        {
            ViewBag.Abiturients = _selectListRepository.GetSelectListAbiturientsConfirmed();
            ViewBag.AbiturientIndividualAchievmentTypes = _selectListRepository.GetSelectListAbiturientIndividualAchievmentTypes();
            ViewBag.RowStatuses = _selectListRepository.GetSelectListRowStatuses();

            return(View());
        }
Beispiel #2
0
        public IActionResult Create()
        {
            ViewBag.Abiturients = _selectListRepository.GetSelectListAbiturientsConfirmed();
            ViewBag.EduProfiles = _selectListRepository.GetSelectListEduProfileFullNames();
            ViewBag.EduForms    = _selectListRepository.GetSelectListEduFormsForAbiturient();
            ViewBag.QuotaTypes  = _selectListRepository.GetSelectListQuotaTypes();
            ViewBag.RowStatuses = _selectListRepository.GetSelectListRowStatuses();

            var applicationForAdmission = new ApplicationForAdmission
            {
                CreationDate = DateTime.Now,
                RowStatusId  = (int)RowStatusEnum.Confirmed,
                PriorityId   = 1
            };

            return(View(applicationForAdmission));
        }