private async void RemoveItem(Product item)
        {
            MessageDialog removeWarning = new MessageDialog("Are you sure you want to remove this product from the solution?");

            removeWarning.Commands.Add(new UICommand("Yes")
            {
                Id = 0
            });
            removeWarning.Commands.Add(new UICommand("No, leave it there.")
            {
                Id = 1
            });
            var result = await removeWarning.ShowAsync();

            if ((int)result.Id == 0)
            {
                Product productToRemove = item as Product;
                ProductsInSolution.Remove(productToRemove);
                SetPrices();
            }
            else
            {
                return;
            }
        }
 public void ResumeSolution(Solution solutionResuming)
 {
     solutionResuming.RebuildSolutionAfterRecall();
     SolutionHelper.CurrentSolution = solutionResuming;
     CurrentSolution = solutionResuming;
     CurrentSolution.GetProductList().ForEach(x => ProductsInSolution.Add(x));
     CurrentCustomer = CurrentSolution.GetCustomer();
     SetPrices();
     SetCustomerInfo();
 }
 public void ClearSolution()
 {
     SolutionHelper.ClearSolution();
     CurrentSolution      = null;
     CurrentCustomer      = null;
     CustomerEmail        = "";
     CustomerFullName     = "";
     CustomerOrganization = "";
     ProductsInSolution.Clear();
 }