using CRMDAL.CustomCode.Problem; using GB5Shared.DTO.Framework.Criteria; using GB5Shared.DTO.Framework.Login; using System; using System.Threading.Tasks; namespace CRMBLL.Problem { public class ProblemBLL : IProblemBLL { private readonly IProblemDAL _ProblemDAL; public ProblemBLL(IProblemDAL ProblemDAL) { _ProblemDAL = ProblemDAL; } public async Task GetSelectListProblem(int FirstNumber, int MaxResult, CriteriaDTO CriteriaDTO, LoginDTO LoginDTO) { try { var result = await _ProblemDAL.GetSelectListProblem(FirstNumber, MaxResult, CriteriaDTO, LoginDTO); return result; } catch (Exception ex) { throw new Exception($"Error in ProblemBLL.GetSelectListProblem: {ex.Message}", ex); } } } }