private async Task PostHistoryRequest()
        {
            bool result = float.TryParse(entryField.Text, out float c);

            if (result)
            {
                lblResult.Text = "";
                Historydb model = new Historydb()
                {
                    CurrentWeight = c,
                    CurrentDate   = DateTime.Now
                };
                //inserting new row into history table
                await AzureManager.AzureManagerInstance.PostHistoryInformation(model);
            }
            else
            {
                //display message if invalid value entered
                lblResult.Text = "Error: Invalid number, please enter a valid number";
            }
        }
 public async Task UpdateHistoryInformation(Historydb history)
 {
     await this.historyTable.UpdateAsync(history);
 }
 public async Task PostHistoryInformation(Historydb history)
 {
     await this.historyTable.InsertAsync(history);
 }