using DeepDrftModels.DTOs; using Models.Common; using NetBlocks.Models; namespace DeepDrftPublic.Client.Services; /// /// Track metadata fetch abstraction with two render-mode-specific implementations: /// /// - Server prerender pass: TrackDirectDataService in the DeepDrftPublic host /// resolves in-process (EF Core / SQL) and /// avoids a loopback HTTP hop. /// - WASM interactive pass: TrackClientDataService in this assembly delegates /// to over HTTP. /// /// Components inject this single seam so they do not branch on render mode. /// public interface ITrackDataService { Task>> GetPage( int pageNumber, int pageSize, string? sortColumn = null, bool sortDescending = false); }