public ActionResult DeleteConfirmed(string id)
        {
            var responseMessage = client.GetAsync(url + "/products/productID=" + id);

            responseMessage.Wait();
            var result = responseMessage.Result;

            if (result.IsSuccessStatusCode)
            {
                var readTask = result.Content.ReadAsStringAsync().Result;
                var settings = new JsonSerializerSettings
                {
                    NullValueHandling     = NullValueHandling.Ignore,
                    MissingMemberHandling = MissingMemberHandling.Ignore
                };
                var product = JsonConvert.DeserializeObject <ProductDTO>(readTask, settings);
                ctrl.DeleteProductType(product);
                return(RedirectToAction("Index"));
            }
            return(RedirectToAction("Index"));
        }