From 7b05cbafa253bf93e2fa92b7a2f1118f847bccea Mon Sep 17 00:00:00 2001 From: DucDangAnh Date: Mon, 29 Jun 2020 09:56:12 +0700 Subject: [PATCH] ApiController - remove method: GetApiPathFromServer --- AIParkingApplication/ApiController.cs | 18 ------------------ 1 file changed, 18 deletions(-) diff --git a/AIParkingApplication/ApiController.cs b/AIParkingApplication/ApiController.cs index 4cd738d..17d9891 100644 --- a/AIParkingApplication/ApiController.cs +++ b/AIParkingApplication/ApiController.cs @@ -28,7 +28,6 @@ namespace AIParkingApplication Dispose(); } - //TODO Old API public async Task Login(LoginModel loginData) { try @@ -73,23 +72,6 @@ namespace AIParkingApplication } } - public async void GetApiPathFromServer() - { - try - { - var request = new PlateRequestEngineModel - { - }; - HttpResponseMessage response = await httpClient.PostAsJsonAsync("/get-from-frame", request); - response.EnsureSuccessStatusCode(); - var ocrResult = await response.Content.ReadAsAsync(); - } - catch (Exception ex) - { - Console.WriteLine($"SendEngineRequest : {ex.Message}"); - } - } - public async Task CheckCard(string cardNumber) { try