using GB5Shared.DTO.Framework.Criteria; using GB5Shared.DTO.Framework.Login; using MMDAL.CustomCode.ForeCastSet; namespace MMBLL.ForeCastSet { public class ForeCastSetBLL : IForeCastSetBLL { private readonly IForeCastSetDAL _ForeCastSetDAL; public ForeCastSetBLL(IForeCastSetDAL ForeCastSetDAL) { _ForeCastSetDAL = ForeCastSetDAL; } public async Task GetSelectListForeCastSet(int FirstNumber, int MaxResult, CriteriaDTO CriteriaDTO, LoginDTO LoginDTO) { try { var result = await _ForeCastSetDAL.GetSelectListForeCastSet(FirstNumber, MaxResult, CriteriaDTO, LoginDTO); return result; } catch (Exception ex) { throw new Exception($"Error in ForeCastSetBLL.GetSelectListForeCastSet: {ex.Message}", ex); } } } }