SmallRefactor: {CardInfo} -> {CardModel}
This commit is contained in:
@@ -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")]
|
||||
|
||||
Reference in New Issue
Block a user