public async Task <IActionResult> FondOcenochnihSredstvListPereutverjdeniyaCreateOrEdit(int EduPlanId, int DisciplineId, int?FondOcenochnihSredstvId, IFormFile uploadedFile) { FondOcenochnihSredstv fondOcenochnihSredstv = await _metodKomissiyaRepository .GetFondOcenochnihSredstvByUserNameAsync(EduPlanId, DisciplineId, FondOcenochnihSredstvId, User.Identity.Name); if (fondOcenochnihSredstv != null) { await _metodKomissiyaRepository.UpdateFondOcenochnihSredstvListPereutverjdeniyaAsync(fondOcenochnihSredstv, uploadedFile); } return(RedirectToAction(nameof(EduPlanPreview), new { id = EduPlanId })); }