public async Task <IActionResult> EduPlanCreateOrEdit(int EduProgramId, int?EduPlanId)
        {
            var eduProgram = await _metodKomissiyaRepository.GetEduProgramByUserNameAsync(EduProgramId, User.Identity.Name);

            if (eduProgram == null)
            {
                return(NotFound());
            }

            var eduPlan = new EduPlan();

            if (EduPlanId != null)
            {
                eduPlan = await _metodKomissiyaRepository.GetEduPlanByUserNameAsync((int)EduPlanId, User.Identity.Name);

                ViewData["EduPlanId"] = EduPlanId;
            }

            ViewData["EduFormId"]        = _selectListRepository.GetSelectListEduForms();
            ViewData["EduProfileId"]     = eduProgram.EduProfileId;
            ViewData["EduProgramId"]     = eduProgram.EduProgramId;
            ViewData["EduProgramPodgId"] = eduProgram.EduProgramPodgId;
            ViewData["EduSrokId"]        = _selectListRepository.GetSelectListEduSrok();
            ViewData["StructKafId"]      = _selectListRepository.GetSelectListStructKaf();

            List <EduVidDeyat> eduVidDeyats = _context.EduVidDeyat.ToList();

            ViewData["EduVidDeyats"] = eduVidDeyats;

            List <EduYearBeginningTraining> eduYearBeginningTrainings = _context.EduYearBeginningTrainings.ToList();

            ViewData["EduYearBeginningTrainings"] = eduYearBeginningTrainings;

            List <EduYear> eduYears = _context.EduYears.ToList();

            ViewData["EduYears"] = eduYears;


            return(View("EduPlanCreateOrEdit", eduPlan));
        }