public void OnNavigatedTo(NavigationParameters parameters)
        {
            var productsApi = new ProductsApi();

            productsApi.GetRequest("");
            ProductList = productsApi.ProductList;
        }
        public WantBuyProductListPageViewModel(INavigationService navigationService)
        {
            PostCommand = new DelegateCommand(() =>
            {
                navigationService.NavigateAsync("WantBuyPage");
            });
            ProductInfoCommand = new Command <Product>(x =>
            {
                var navigationParameters = new NavigationParameters();
                navigationParameters.Add("id", x.ID);
                navigationService.NavigateAsync("DetailProductPage", navigationParameters);
            });
            var productsApi = new ProductsApi();

            productsApi.GetRequest("");
            ProductList = productsApi.ProductList;
        }