public static FromJson ( |
||
response | Ответ сервера. | |
return |
public static Military FromJson(VkResponse response)
{
var military = new Military
{
Unit = response["unit"],
UnitId = response["unit_id"],
CountryId = response["country_id"],
From = response["from"],
Until = response["until"]
};
return military;
}