public ActionResult Create([Bind(Include = "Id,CourseId,InstructorId")]
                                   InstructorCourse instructorCourse)
        {
            if (ModelState.IsValid)
            {
                _instrcutorCourseRepository.Add(instructorCourse);

                // _instrcutorCourseRepository.Save();

                return(RedirectToAction("Index"));
            }

            ViewBag.CourseId     = new SelectList(_courseRepository.GetAll(), "Id", "CourseTitle", instructorCourse.CourseId);
            ViewBag.InstructorId = new SelectList(_instructorRepository.GetAll(), "Id", "InstructorName", instructorCourse.InstructorId);
            return(View(instructorCourse));
        }