/// <summary> /// Разобрать из json. /// </summary> /// <param name="response">Ответ сервера.</param> /// <returns></returns> internal static MarketAlbum FromJson(VkResponse response) { var application = new MarketAlbum { Id = response["id"], OwnerId = response["owner_id"], Title = response["title"], Photo = response["photo"], Count = response["count"], UpdatedTime = response["updated_time"] }; return application; }
/// <summary> /// Разобрать из json. /// </summary> /// <param name="response">Ответ сервера.</param> /// <returns></returns> public static MarketAlbum FromJson(VkResponse response) { var application = new MarketAlbum { Id = response["id"], OwnerId = response["owner_id"], Title = response["title"], Photo = response["photo"], Count = response["count"], UpdatedTime = response["updated_time"] }; return(application); }