From 91c39546ed8ab7e744c7ebf4df321ac64dcad4e4 Mon Sep 17 00:00:00 2001 From: Natasa Kasikovic~ Date: Sun, 31 Mar 2024 23:03:10 +0200 Subject: [PATCH] [Add] Implementation of Update method in TutorController --- LangLang/Core/Controller/TutorController.cs | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/LangLang/Core/Controller/TutorController.cs b/LangLang/Core/Controller/TutorController.cs index 04c0cfe0..526514a1 100644 --- a/LangLang/Core/Controller/TutorController.cs +++ b/LangLang/Core/Controller/TutorController.cs @@ -28,7 +28,10 @@ public void Delete(int tutorId) { _tutors.Remove(tutorId); } - + public void Update(Tutor tutor) + { + _tutors.Update(tutor); + } public void Subscribe(IObserver observer) { _tutors.Subscribe(observer);