private async Task CreateExamAndStart() { ValidationErrors = null; try { var studentOralExamId = await _examService.CreateOralExam(StudentOralExam); Context.RedirectToRoute("OralExamUpdate", new { Id = studentOralExamId }); } catch (ValidationPropertyException vpe) { ValidationErrors = vpe.ErrorsList.ToList(); } catch (ValidationException ve) { ValidationErrors = ve.Errors.ToList(); } }