fixed bug
This commit is contained in:
@@ -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);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user