public static async Task <bool> RecordSuccess(ReadingType t, WeatherInfoSource src, double x) { var rd = new WeatherRecord(CurrentDateTime, x, src, t); await Table.ExecuteAsync(TableOperation.Insert(rd)); return(true); }
public static async void Record(ReadingType t, WeatherInfoSource src, double x) { var rd = new WeatherRecord(CurrentDateTime, x, src, t); await Table.ExecuteAsync(TableOperation.Insert(rd)); }