fixed bug

This commit is contained in:
MiskolcziRichard
2024-05-04 20:47:42 +02:00
parent 42b078a49a
commit 39c8a46e3e

View File

@@ -10,7 +10,7 @@ namespace WD7UVN_SzTGUI_2023242.Client.WPF.ViewModels
public class GetResponsibleEmployeeViewModel : ObservableRecipient public class GetResponsibleEmployeeViewModel : ObservableRecipient
{ {
//Hiába egyetlen eredmény van, meghagyom RestCollection-nek a SignalR miatt //Hiába egyetlen eredmény van, meghagyom RestCollection-nek a SignalR miatt
public RestCollection<Service> Employees { get; set; } public RestCollection<Employee> Employees { get; set; }
public static bool IsInDesignMode public static bool IsInDesignMode
{ {
@@ -25,7 +25,7 @@ namespace WD7UVN_SzTGUI_2023242.Client.WPF.ViewModels
{ {
if (!IsInDesignMode) if (!IsInDesignMode)
{ {
Employees = new RestCollection<Service>("http://localhost:5000/", "api/WhoIsResponsibleForService?id=" + s.ID.ToString(), "hub", true); Employees = new RestCollection<Employee>("http://localhost:5000/", "api/WhoIsResponsibleForService?id=" + s.ID.ToString(), "hub", true);
} }
} }
} }