public ActionResult Delete(Guid id, Instructor instructor)
{
var instructorToDelete = RepositoryFactory.InstructorRepository.GetNullableById(id);
if (instructorToDelete == null) return RedirectToAction("Index");
RepositoryFactory.InstructorRepository.Remove(instructorToDelete);
Message = "Instructor Removed Successfully";
return RedirectToAction("Index");
}