SmallRefactor: {CardInfo} -> {CardModel}
This commit is contained in:
parent
02870d5aa7
commit
f8004c3212
|
@ -106,7 +106,7 @@ namespace AIParkingApplication
|
||||||
{
|
{
|
||||||
try
|
try
|
||||||
{
|
{
|
||||||
var request = new CardInfo()
|
var request = new CardModel()
|
||||||
{
|
{
|
||||||
CardNumber = cardNumber
|
CardNumber = cardNumber
|
||||||
};
|
};
|
||||||
|
@ -168,7 +168,7 @@ namespace AIParkingApplication
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
public class CardInfo
|
public class CardModel
|
||||||
{
|
{
|
||||||
[JsonProperty("card")]
|
[JsonProperty("card")]
|
||||||
public string CardNumber { get; set; }
|
public string CardNumber { get; set; }
|
||||||
|
@ -267,12 +267,6 @@ namespace AIParkingApplication
|
||||||
public string FrameImage { get; set; }
|
public string FrameImage { get; set; }
|
||||||
}
|
}
|
||||||
|
|
||||||
public class ApiPath
|
|
||||||
{
|
|
||||||
[JsonProperty("savelogsin")] //wtf is this from server.
|
|
||||||
public string SaveVehicleIn { get; set; }
|
|
||||||
}
|
|
||||||
|
|
||||||
public class LoginModel
|
public class LoginModel
|
||||||
{
|
{
|
||||||
[JsonProperty("username")]
|
[JsonProperty("username")]
|
||||||
|
@ -282,11 +276,6 @@ namespace AIParkingApplication
|
||||||
public string Password { get; set; }
|
public string Password { get; set; }
|
||||||
}
|
}
|
||||||
|
|
||||||
public class LoginResponseOldModel
|
|
||||||
{
|
|
||||||
|
|
||||||
}
|
|
||||||
|
|
||||||
public class PlateLogModel
|
public class PlateLogModel
|
||||||
{
|
{
|
||||||
[JsonProperty("card")]
|
[JsonProperty("card")]
|
||||||
|
|
Loading…
Reference in New Issue
Block a user