using GB5Shared.DTO.Framework.Criteria; using GB5Shared.DTO.Framework.Login; using MMDAL.CustomCode.Count; namespace MMBLL.Count { public class CountBLL : ICountBLL { private readonly ICountDAL _CountDAL; public CountBLL(ICountDAL CountDAL) { _CountDAL = CountDAL; } public async Task GetSelectListCount(int FirstNumber, int MaxResult, CriteriaDTO CriteriaDTO, LoginDTO LoginDTO) { try { var result = await _CountDAL.GetSelectListCount(FirstNumber, MaxResult, CriteriaDTO, LoginDTO); return result; } catch (Exception ex) { throw new Exception($"Error in CountBLL.GetSelectListCount: {ex.Message}", ex); } } } }