public IActionResult Add(EditCourseViewModel vm)
 {
     if (ModelState.IsValid)
     {
         vm.Course.Instructor = context.Read(vm.UserId);
         context.AddCourse(vm.Course);
         return(RedirectToAction("Index"));
     }
     return(View(vm));
 }