using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using GB5Shared.DTO.Framework.Criteria; using GB5Shared.DTO.Framework.Login; using Google.Protobuf.WellKnownTypes; using PayRollDAL.CustomeCode.TDSSection; using PayRollDAL.DTO.TDSSection; namespace PayRollBLL.TDSSection { public class TDSSectionBLL : ITDSSectionBLL { private readonly ITDSSectionDAL _TDSSectionDAL; public TDSSectionBLL(ITDSSectionDAL ITDSSectionDAL) { _TDSSectionDAL = ITDSSectionDAL; } public async Task> GetSelectListTDSSectionDetail(CriteriaDTO CriteriaDTO, LoginDTO LoginDTO) { try { List Result = await _TDSSectionDAL.GetSelectListTDSSectionDetail(CriteriaDTO, LoginDTO); return Result; } catch (Exception ) { throw ; } } // ── Picklist ────────────────────────────────────────────────────── // GB4 parity: TDSSectionBLL.GetSelectListTDSSection public async Task GetSelectListTDSSection(int FirstNumber, int MaxResult, CriteriaDTO CriteriaDTO, LoginDTO LoginDTO, bool IsCount = false) { return await _TDSSectionDAL .GetSelectListTDSSection(FirstNumber, MaxResult, CriteriaDTO, LoginDTO, IsCount) .ConfigureAwait(false); } } }