Last but not least, we need to add the Edit route to the AppModule class. Open the /ClientApp/app/app.module.shared.ts file and add the following:
[...]RouterModule.forRoot([ { path: '', redirectTo: 'home', pathMatch: 'full' }, { path: 'home', component: HomeComponent }, { path: 'quiz/create', component: QuizEditComponent }, { path: 'quiz/edit/:id', component: QuizEditComponent },[...]