From edfc4a1374cd599cdb03b3021695f1e63514c5b2 Mon Sep 17 00:00:00 2001 From: kandarp gautam <22766673+kandarpgautam@users.noreply.github.com> Date: Thu, 1 Feb 2024 02:25:43 +0530 Subject: [PATCH] Fixed Typo in sample code --- 2. Services/2.2 Processings/2.2 Processings.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/2. Services/2.2 Processings/2.2 Processings.md b/2. Services/2.2 Processings/2.2 Processings.md index dab6ce8..21b2ae6 100644 --- a/2. Services/2.2 Processings/2.2 Processings.md +++ b/2. Services/2.2 Processings/2.2 Processings.md @@ -114,7 +114,7 @@ TryCatch(async () => bool isStudentExists = allStudents.Any(retrievedStudent => retrievedStudent.Id == student.Id); - return isStudentExsits switch { + return isStudentExists switch { false => await this.studentService.RegisterStudentAsync(student), _ => await this.studentService.ModifyStudentAsync(student.Id) };