using DeepDrftModels.DTOs; using DeepDrftPublic.Client.Clients; using NetBlocks.Models; namespace DeepDrftPublic.Client.Services; /// /// backed by (HTTP to the DeepDrft.API /// backend). Used on both the SSR prerender and WASM interactive passes — the stats read surface is /// HTTP-only, so there is no separate in-process implementation. /// public class StatsClientDataService : IStatsDataService { private readonly StatsClient _statsClient; public StatsClientDataService(StatsClient statsClient) { _statsClient = statsClient; } public Task> GetHomeStats() => _statsClient.GetHomeStats(); }