public ActionResult Create(UserProfileViewModel userProfileViewModel)
        {
            if (ModelState.IsValid)
            {
                var userProfile = userProfileViewModel.ToDomainModel();
                AddOrUpdateCourses(userProfile, userProfileViewModel.Courses);
                db.UserProfiles.Add(userProfile);
                db.SaveChanges();

                return(RedirectToAction("Index"));
            }

            return(View(userProfileViewModel));
        }