From e40638e3a4280d4fc0a0dc7b0053185e654fdb6c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Miskolczi=20Rich=C3=A1rd?= Date: Mon, 29 Apr 2024 23:27:35 +0200 Subject: [PATCH] Adding noncrud method --- WD7UVN_SzTGUI_2023242.Client.WPF/RestCollection.cs | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) 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