public async Task <SnapshotEntity> GetSnapshot(GetSnapshotRequest request) { var snapshotNoSql = _snapshotReader.Get(SnapshotNoSqlEntity.GeneratePartitionKey(request.WalletId), SnapshotNoSqlEntity.GenerateRowKey(request.AssetId)); if (snapshotNoSql.Entity != null) { return(snapshotNoSql.Entity); } var snapshot = await _snapshotGrpcService.GetSnapshot(request); return(snapshot); }