using AccountsDAL.CustomCode.AccountReports.BRSDashboard; using AccountsDAL.DTO.AccountsReports; using GB5Shared.DTO.Framework.Login; using GB5Shared.Telemetry; namespace AccountsBLL.AccountReports.BRSDashboard { // Bank Reconciliation dashboard — Finance Analytics Dashboards, Phase 2. Deliberately does not // call AccountReportAccessControlBLL.EnforceAsync — same reasoning as the P&L/Ratio Analysis // dashboards: this report aggregates TACCOUNTPOST/TINSTRUMENT directly, not the // TVOUCHER-family DynamicFilter that helper is built around. OU access is enforced in the DAL // (accessible-OU intersection), same pattern as those two. public class BRSDashboardBLL : IBRSDashboardBLL { private readonly IBRSDashboardDAL _dal; public BRSDashboardBLL(IBRSDashboardDAL dal) { _dal = dal; } public async Task GetBRSDashboard( List? bankAccountIds, LoginDTO loginDTO, CancellationToken ct) { GB5Trace.Step("brs-dashboard", new { bankAccountIds }); return await _dal.GetBRSDashboard(bankAccountIds, loginDTO, ct).ConfigureAwait(false); } } }