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(() => {