public ActionResult Edit(int id)
        {

            Suggestion suggestion = _suggestionRepository.FindBy(id);
            EditViewModel suggestionViewModel = new EditViewModel()
            {
                Suggestion = new SuggestionViewModel()
                {
                    Id = suggestion.Id,
                    Context = suggestion.Context,
                    Goal = suggestion.Goal,
                    Keywords = suggestion.Keywords,
                    Motivation = suggestion.Motivation,
                    References = suggestion.References,
                    Subject = suggestion.Subject,
                    ResearchQuestion = suggestion.ResearchQuestion,
                    Title = suggestion.Title
                },

                /*CoPromotor = new CoPromotorViewModel()
                {
                    FirstName = suggestion.Student.CoPromotor.FirstName,
                    LastName = suggestion.Student.CoPromotor.LastName,
                    Email = suggestion.Student.CoPromotor.Email,
                    Organisation = suggestion.Student.CoPromotor.Company
                }
                
                 *  HIER!
                 * 
                 * 
                 * Student = new StudentViewModel()
                {
                    Id = suggestion.Student.Id,
                    Email = suggestion.Student.Email,
                    FirstName = suggestion.Student.FirstName,
                    LastName = suggestion.Student.LastName,
                    Username = suggestion.Student.Username
                }*/
            };

            return View(suggestionViewModel);
        }
        public ActionResult Edit(int id, EditViewModel model, User user, string btnSaveSend)
        {
            Suggestion suggestion = _suggestionRepository.FindBy(id);

            if (ModelState.IsValid)
            {
                try
                {
                    var student = (Student)user;
                    
                    suggestion.Title = model.Suggestion.Title;
                    suggestion.Keywords = model.Suggestion.Keywords;
                    suggestion.Context = model.Suggestion.Context;
                    suggestion.Subject = model.Suggestion.Subject;
                    suggestion.Goal = model.Suggestion.Goal;
                    suggestion.ResearchQuestion = model.Suggestion.ResearchQuestion;
                    suggestion.Motivation = model.Suggestion.Motivation;
                    suggestion.References = model.Suggestion.References;
                    
                    suggestion.Student = student;

                    //researchdomains
                    

                    if (btnSaveSend != null)
                    {
                        student.GiveInSuggestion(student, suggestion);
                        TempData["Success"] = "Uw voorstel werd aangepast en ingediend!";

                    }
                    else
                    {
                        TempData["Success"] = "Uw voorstel werd aangepast!";
                    }

                    _userRepository.SaveChanges();
                    


                    return RedirectToAction("DashBoard", "Home");
                }
                catch (ApplicationException e)
                {
                    ModelState.AddModelError("", e.Message); // shows in summary
                }
            }
            return View();
        }