public void UpdateCityInfoToTable(string city, string date)
        {
            CityInfoEntity weatherInfo = new CityInfoEntity(city, date);

            CreateBlobTableAndUploaCityInfo(storageAccount, weatherInfo);
        }
        private void CreateBlobTableAndUploaCityInfo(CloudStorageAccount storageAccount, CityInfoEntity entity)
        {
            //Create the table client
            CloudTableClient tableClient = storageAccount.CreateCloudTableClient();

            //Retrieve a reference to the table
            CloudTable table = tableClient.GetTableReference(WeatherCityTable);

            //create the table if it doesn't exist.
            table.CreateIfNotExists();

            //Create the tableOperation object that inserts the customer entity.
            //If the entry does exist, replace it
            TableOperation insertOrReplaceOperation = TableOperation.InsertOrReplace(entity);

            table.Execute(insertOrReplaceOperation);
        }