async void Delete_Clicked(object sender, System.EventArgs e)
        {
            try
            {
                if (AssetEntry.Text == null)
                {
                    await DisplayAlert("Error", "Please fill in asset ID/ barcode.", "OK");
                }
                else
                {
                    DateTime now = DateTime.Now.ToLocalTime();
                    Dictionary <string, string> dict = new Dictionary <string, string>();
                    dict["asset"] = AssetEntry.Text;
                    dict["time"]  = now.ToString();
                    if (AssetEntry.Text != null)
                    {
                        await DisplayAlert("Delete Asset", "Are you sure?", "Cancel", "Ok");

                        var isSuccess = await cloudStore.DeleteAsset(dict);

                        if (isSuccess)
                        {
                            await DisplayAlert("Success", "Asset deleted successfully.", "Ok");

                            //AssetEntry.Text = string.Empty;
                            App.Current.MainPage = new MainViewAssetPage();
                        }
                        else
                        {
                            await DisplayAlert("Error", "Delete failed.", "Ok");

                            //AssetEntry.Text = string.Empty;
                        }
                    }
                    else
                    {
                        await DisplayAlert("Error", "Delete failed. Please try again.", "Ok");

                        //AssetEntry.Text = string.Empty;
                    }
                }
            }
            catch (Exception ex)
            {
            }
        }