ASP.NET Core 2 and Angular 5 by Valerio De Sanctis

ASP.NET Core 2 and Angular 5 by Valerio De Sanctis

Author:Valerio De Sanctis
Language: eng
Format: mobi, epub
Tags: COM060160 - COMPUTERS / Web / Web Programming, COM051260 - COMPUTERS / Programming Languages / JavaScript, COM051470 - COMPUTERS / Programming Languages / ASP .NET
Publisher: Packt
Published: 2017-11-24T11:13:51+00:00


// only perform the task if the value has been changed

if (!change.isFirstChange()) {

// execute the Http request and retrieve the result

this.loadData();

}

}

}

loadData() {

var url = this.baseUrl + "api/question/All/" + this.quiz.Id;

this.http.get<Question[]>(url).subscribe(res => {

this.questions = res;

}, error => console.error(error));

}

onCreate() {

this.router.navigate(["/question/create", this.quiz.Id]);

}

onEdit(question: Question) {

this.router.navigate(["/question/edit", question.Id]);

}



Download



Copyright Disclaimer:
This site does not store any files on its server. We only index and link to content provided by other sites. Please contact the content providers to delete copyright contents if any and email us, we'll remove relevant links or contents immediately.