using GB5Shared.DTO.Framework.Criteria; using GB5Shared.DTO.Framework.Login; using MMDAL.CustomCode.LotDetail; using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace MMBLL.LotDetail { public class LotDetailBLL : ILotDetailBLL { private readonly ILotDetailDAL _LotDetailDAL; public LotDetailBLL(ILotDetailDAL LotDetailDAL) { _LotDetailDAL = LotDetailDAL; } // Read-only select list — no validation or event publishing, matching the // MM select-list convention (see ItemBLL.GetSelectListItem). public async Task GetSelectListLotDetail( int FirstNumber, int MaxResult, CriteriaDTO criteriaDTO, LoginDTO loginDTO, CancellationToken ct, bool IsCount = false) { try { return await _LotDetailDAL .GetSelectListLotDetail(FirstNumber, MaxResult, criteriaDTO, loginDTO, IsCount, ct) .ConfigureAwait(false); } catch (Exception) { throw; } } } }