public List <VersionEntity> ValidInformationTest(string userName, string macAndUser, string secretCode)
        {
            List <VersionEntity> _records = new List <VersionEntity>();
            HttpResponseMessage  response = _client.GetAsync($"Version/ValidInformationTest?userName={userName}&macAndUser={macAndUser}&secretCode={secretCode}").Result;

            if (response.IsSuccessStatusCode)
            {
                var Data = response.Content.ReadAsStringAsync();
                IEnumerable <VersionEntity> categories = JsonConvert.DeserializeObject <IEnumerable <VersionEntity> >(Data.Result);
                foreach (var entity in categories)
                {
                    var ItemData = new VersionEntity
                    {
                        VersionNumber = entity.VersionNumber
                    };
                    _records.Add(ItemData);
                }
            }

            return(_records);
        }
        public List <VersionEntity> GetVersion()
        {
            List <VersionEntity> _records = new List <VersionEntity>();
            HttpResponseMessage  response = _client.GetAsync("Version/VersionNumber").Result;

            if (response.IsSuccessStatusCode)
            {
                var Data = response.Content.ReadAsStringAsync();
                IEnumerable <VersionEntity> categories = JsonConvert.DeserializeObject <IEnumerable <VersionEntity> >(Data.Result);
                foreach (var entity in categories)
                {
                    var ItemData = new VersionEntity
                    {
                        VersionNumber = entity.VersionNumber
                    };
                    _records.Add(ItemData);
                }
            }

            return(_records);
        }