using DevadminDAL.CustomCode.ReportFormat; using GB5Shared.DTO.Framework.Criteria; using GB5Shared.DTO.Framework.Login; using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace DevadminBLL.ReportFormat { public class ReportFormatBLL : IReportFormatBLL { private readonly IReportFormatDAL _ReportFormatDAL; public ReportFormatBLL(IReportFormatDAL ReportFormatDAL) { _ReportFormatDAL = ReportFormatDAL; } public async Task GetSelectListReportFormat(int FirstNumber, int MaxResult, CriteriaDTO CriteriaDTO, LoginDTO LoginDTO) { try { var result = await _ReportFormatDAL.GetSelectListReportFormat(FirstNumber, MaxResult, CriteriaDTO, LoginDTO); return result; } catch (Exception ex) { throw new Exception($"Error in ReportFormatBLL.GetSelectListReportFormat: {ex.Message}", ex); } } } }