public ActionResult AddImplementedProjects(AddResumeImplementsProgectViewModel model)
        {
            var resume = db.Resumes.Include(r => r.Candidate).ThenInclude(r => r.AccountUser)
                         .Include(r => r.ImplementedProjects)
                         .FirstOrDefault(i => i.Id == model.ResumeId);

            var impProgect = db.ImplementedProjects.Include(e => e.Resume).FirstOrDefault(e => e.Id == model.Id);

            var newImplementProgect = new ImplementedProject()
            {
                Id            = Guid.NewGuid(),
                NameProgect   = model.NameProgect,
                DateWorkFrom  = model.DateWorkFrom,
                DateWorkTo    = model.DateWorkTo,
                LinkToProgect = model.LinkToProgect,

                Resume = resume,
            };

            resume.DateChange = DateTime.Now;
            resume.ImplementedProjects.Add(newImplementProgect);
            db.Update(resume);
            db.SaveChanges();

            return(RedirectToAction("Edit", "Resume", new { resumeId = resume.Id }));
        }
        // Реализованные проекты
        public ActionResult AddImplementedProjects(Guid resumeId)
        {
            var resume = db.Resumes.Include(r => r.Candidate).ThenInclude(r => r.AccountUser)
                         .Include(r => r.ImplementedProjects)
                         .FirstOrDefault(i => i.Id == resumeId);

            var model = new AddResumeImplementsProgectViewModel()
            {
                Resume = resume,
            };

            return(View("/Arrea/Candidate/Views/Resumes/EditResume/AddImplementedProjects.cshtml", model));
        }