using CMSDAL.DTO.DataSource; using GB5Shared.DTO.Framework.Login; namespace CMSBLL.DataSource; public interface IDataSourceBLL { Task GetDataSourceList(LoginDTO loginDTO, CancellationToken ct = default); Task GetDataSource(int dataSourceId, LoginDTO loginDTO, CancellationToken ct = default); Task SaveDataSource(DataSourceDTO dto, LoginDTO loginDTO, CancellationToken ct = default); // Typed (not JSON-string) accessors for internal server-side callers — DataSourceProxyBLL // needs the real object to build a request, not a wire-format response. Task GetByCodeAsync(string dataSourceCode, LoginDTO loginDTO, CancellationToken ct = default); Task GetByIdTypedAsync(int dataSourceId, LoginDTO loginDTO, CancellationToken ct = default); }