CountryEditComponent

From Solution Explorer, open the /ClientApp/src/app/countries/country-edit.component.ts file and change its content in the following way:

import { Component, Inject } from '@angular/core';// import { HttpClient, HttpParams } from '@angular/common/http';import { ActivatedRoute, Router } from '@angular/router';import { FormBuilder, Validators, AbstractControl, AsyncValidatorFn } from '@angular/forms';import { map } from 'rxjs/operators';import { Observable } from 'rxjs';import { BaseFormComponent } from '../base.form.component';import { Country } from '../countries/country';import { CountryService } from './country.service';@Component({  selector: 'app-country-edit',  templateUrl: './country-edit.component.html', styleUrls: ...

Get ASP.NET Core 3 and Angular 9 - Third Edition now with O’Reilly online learning.

O’Reilly members experience live online training, plus books, videos, and digital content from 200+ publishers.