public IActionResult Edit(Course entity, Course original)
 {
     repo.UpdateCourse(entity, original);
     return(RedirectToAction(nameof(Index)));
 }
        public IActionResult Create(Course newCourse)
        {
            int id = repo.CreateCourse(newCourse);

            return(RedirectToAction(nameof(Index)));
        }
 public IActionResult Edit(Course entity)
 {
     return(View());
 }