public async Task <IEnumerable <IInput> > GetAsync(string hashBlock) { var partitionKey = InputEntity.GeneratePartiteonKey(hashBlock); return(await _tableStorage.GetDataAsync(partitionKey)); }
public Task SaveAsync(Input input) { var newInputs = InputEntity.CreateNew(input); return(_tableStorage.InsertOrReplaceAsync(newInputs)); }