diff --git a/WD7UVN_SzTGUI_2023242.Client.WPF/RestCollection.cs b/WD7UVN_SzTGUI_2023242.Client.WPF/RestCollection.cs index 813132c..3f946b4 100644 --- a/WD7UVN_SzTGUI_2023242.Client.WPF/RestCollection.cs +++ b/WD7UVN_SzTGUI_2023242.Client.WPF/RestCollection.cs @@ -8,6 +8,7 @@ using System.Net; using System.Net.Http; using System.Threading.Tasks; using System.Windows; +using WD7UVN_HFT_2023241.Models; namespace WD7UVN_SzTGUI_2023242.Client.WPF { @@ -418,6 +419,11 @@ namespace WD7UVN_SzTGUI_2023242.Client.WPF } - + public async Task> GetSubordinates(Employee e) + { + List res = new List(); + res = await this.rest.GetAsync("api/GetSubordinates"); + return res; + } } } \ No newline at end of file