Skip to content

Commit

Permalink
Merge pull request #267 from kandarpgautam/users/kandarpgautam/coderu…
Browse files Browse the repository at this point in the history
…b-processings-typofix

CODE RUB: Fixed Typo In Sample Code
  • Loading branch information
glhays authored Jan 31, 2024
2 parents 90f00b1 + edfc4a1 commit 7e2b978
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion 2. Services/2.2 Processings/2.2 Processings.md
Original file line number Diff line number Diff line change
Expand Up @@ -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)
};
Expand Down

0 comments on commit 7e2b978

Please sign in to comment.