async Task ExecuteLoadStocksCommand()
        {
            if (IsBusy)
            {
                return;
            }

            IsBusy = true;

            try
            {
                Stocks.Clear();
                var stocks = await StoreDataStore.GetStoreStocksAsync(App.currentStore.StoreId, true);

                foreach (var stock in stocks)
                {
                    Stocks.Add(stock);
                }
            }
            catch (Exception ex)
            {
                Debug.WriteLine(ex);
            }
            finally
            {
                IsBusy = false;
            }
        }
        public async Task ExecuteLoadElementsCommand()
        {
            Products = await DataStore.GetProductsAsync();

            decimal totalCostAccumulator        = 0;
            decimal totalRetailValueAccumulator = 0;

            decimal phoneStocksCostAccumulator     = 0;
            decimal accessoryStocksCostAccumulator = 0;

            int phoneStockCounter     = 0;
            int AccessoryStockCounter = 0;

            Stocks = await StoreDataStore.GetStoreStocksAsync(App.currentStore.StoreId, true);

            foreach (Stock stock in Stocks)
            {
                Product product = Products.FirstOrDefault(x => x.Id == stock.ProductId);
                totalCostAccumulator        += (product.Cost * stock.Quantity);
                totalRetailValueAccumulator += (product.Cost * stock.Quantity);

                if (product.ProductType.ToLower() == "phone")
                {
                    phoneStockCounter          += stock.Quantity;
                    phoneStocksCostAccumulator += (product.Cost * stock.Quantity);
                }
                else
                {
                    AccessoryStockCounter          += stock.Quantity;
                    accessoryStocksCostAccumulator += (product.Cost * stock.Quantity);
                }
            }

            StoreTotalStockCost = Stocks.Count().ToString();

            StorePhoneStocksCount     = phoneStockCounter.ToString();
            StoreAccessoryStocksCount = AccessoryStockCounter.ToString();

            StoreStocksTotalRetailValue   = totalRetailValueAccumulator.ToString();
            StoreTotalPhoneStocksCost     = phoneStocksCostAccumulator.ToString();
            StoreTotalAccessoryStocksCost = accessoryStocksCostAccumulator.ToString();
        }