public IActionResult OnPost()
        {
            Project = _context.Project.Find(UpdateProjectLanguage.ProjectId);

            if (!ModelState.IsValid)
            {
                return(Page());
            }
            Project.Language = UpdateProjectLanguage.ProjectLanguage;
            _context.SaveChanges();
            return(RedirectToPage("/Projects/Details", new { id = Project.ID }));
        }
        public IActionResult OnPost()
        {
            Candidate = _context.Candidate.Find(UpdateCurrentEducation.CandidateId);

            if (!ModelState.IsValid)
            {
                return(Page());
            }
            Candidate.CurrentEducation = UpdateCurrentEducation.CurrentEducation;
            _context.SaveChanges();
            return(RedirectToPage("/Candidates/Details", new { id = Candidate.ID }));
        }