fixed endpoint address

This commit is contained in:
MiskolcziRichard
2024-05-04 18:58:09 +02:00
parent bcc782de97
commit 89510c1119

View File

@@ -42,7 +42,7 @@ namespace WD7UVN_SzTGUI_2023242.Client.WPF.ViewModels
{ {
if (!IsInDesignMode) if (!IsInDesignMode)
{ {
Employees = new RestCollection<Employee>("http://localhost:5000/", "api/GetSubordinates/" + e.ID.ToString(), "hub"); Employees = new RestCollection<Employee>("http://localhost:5000/", "api/GetSubordinates?id=" + e.ID.ToString(), "hub");
UpdateEmployeeCommand = new RelayCommand(() => UpdateEmployeeCommand = new RelayCommand(() =>
{ {