From 89510c11192a64d2aa0b0d51c38f85fbe85222ec Mon Sep 17 00:00:00 2001 From: MiskolcziRichard Date: Sat, 4 May 2024 18:58:09 +0200 Subject: [PATCH] fixed endpoint address --- .../ViewModels/GetSubordinatesViewModel.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/WD7UVN_SzTGUI_2023242.Client.WPF/ViewModels/GetSubordinatesViewModel.cs b/WD7UVN_SzTGUI_2023242.Client.WPF/ViewModels/GetSubordinatesViewModel.cs index 3b0aca9..fa38ef2 100644 --- a/WD7UVN_SzTGUI_2023242.Client.WPF/ViewModels/GetSubordinatesViewModel.cs +++ b/WD7UVN_SzTGUI_2023242.Client.WPF/ViewModels/GetSubordinatesViewModel.cs @@ -42,7 +42,7 @@ namespace WD7UVN_SzTGUI_2023242.Client.WPF.ViewModels { if (!IsInDesignMode) { - Employees = new RestCollection("http://localhost:5000/", "api/GetSubordinates/" + e.ID.ToString(), "hub"); + Employees = new RestCollection("http://localhost:5000/", "api/GetSubordinates?id=" + e.ID.ToString(), "hub"); UpdateEmployeeCommand = new RelayCommand(() => {