diff --git a/WD7UVN_HFT_2023241.Client/RestService.cs b/WD7UVN_HFT_2023241.Client/RestService.cs index 32725a6..f2409cd 100644 --- a/WD7UVN_HFT_2023241.Client/RestService.cs +++ b/WD7UVN_HFT_2023241.Client/RestService.cs @@ -157,7 +157,7 @@ namespace WD7UVN_HFT_2023241.Client public static IQueryable WhoWorksInMaintainerTeam(int id) { - IQueryable item = default(IQueryable); + var item = default(IQueryable); HttpResponseMessage response = client.GetAsync("/api/WhoWorksInMaintainerTeam?id=" + id.ToString()).GetAwaiter().GetResult(); if (response.IsSuccessStatusCode) { @@ -173,7 +173,7 @@ namespace WD7UVN_HFT_2023241.Client public static IQueryable GetSubordinates(int id) { - IQueryable item = default(IQueryable); + var item = default(IQueryable); HttpResponseMessage response = client.GetAsync("/api/GetSubordinates?id=" + id.ToString()).GetAwaiter().GetResult(); if (response.IsSuccessStatusCode) { @@ -189,7 +189,7 @@ namespace WD7UVN_HFT_2023241.Client public static IQueryable WhoUsesService(int id) { - IQueryable item = default(IQueryable); + var item = default(IQueryable); HttpResponseMessage response = client.GetAsync("/api/WhoUsesService?id=" + id.ToString()).GetAwaiter().GetResult(); if (response.IsSuccessStatusCode) { @@ -221,7 +221,7 @@ namespace WD7UVN_HFT_2023241.Client public static IQueryable WhoMaintainsService(int id) { - IQueryable item = default(IQueryable); + var item = default(IQueryable); HttpResponseMessage response = client.GetAsync("/api/WhoMaintainsService?id=" + id.ToString()).GetAwaiter().GetResult(); if (response.IsSuccessStatusCode) {