public R <ClientDbInfo, LocalStr> GetDbClientByDbId(ulong clientDbId) { if (clientDbNames.TryGetValue(clientDbId, out var clientData)) { return(clientData); } var result = tsFullClient.ClientDbInfo(clientDbId); if (!result.Ok) { return(new LocalStr(strings.error_ts_no_client_found)); } clientData = result.Value; clientDbNames.Set(clientDbId, clientData); return(clientData); }