Skip to content

Commit

Permalink
Merge pull request #103 from kzi-nastava/feat/TutorController-Update
Browse files Browse the repository at this point in the history
[Add] Implementation of Update method in TutorController
  • Loading branch information
anasinik authored Mar 31, 2024
2 parents 82da942 + 91c3954 commit 01d2fd0
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion LangLang/Core/Controller/TutorController.cs
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down

0 comments on commit 01d2fd0

Please sign in to comment.