diff --git a/AIParkingApplication/ApiController.cs b/AIParkingApplication/ApiController.cs index 34a0a92..826594b 100644 --- a/AIParkingApplication/ApiController.cs +++ b/AIParkingApplication/ApiController.cs @@ -106,7 +106,7 @@ namespace AIParkingApplication { try { - var request = new CardInfo() + var request = new CardModel() { CardNumber = cardNumber }; @@ -168,7 +168,7 @@ namespace AIParkingApplication } } - public class CardInfo + public class CardModel { [JsonProperty("card")] public string CardNumber { get; set; } @@ -267,12 +267,6 @@ namespace AIParkingApplication public string FrameImage { get; set; } } - public class ApiPath - { - [JsonProperty("savelogsin")] //wtf is this from server. - public string SaveVehicleIn { get; set; } - } - public class LoginModel { [JsonProperty("username")] @@ -282,11 +276,6 @@ namespace AIParkingApplication public string Password { get; set; } } - public class LoginResponseOldModel - { - - } - public class PlateLogModel { [JsonProperty("card")]