public Task AddUserAsync(string clientId, string irohaUsername, string publicKey, string clientName) { return(_tableStorage.InsertOrMergeAsync(D3UserEntity.Create(clientId, irohaUsername, publicKey, clientName))); }
public async Task <ID3User> GetUserAsync(string irohaUsername) { return(await _tableStorage.GetDataAsync(D3UserEntity.GeneratePartitionKey(irohaUsername), D3UserEntity.GenerateRowKey(irohaUsername))); }