using GB5Shared.DTO.Framework.Criteria; using GB5Shared.DTO.Framework.Login; using GB5Shared.GenerateAutoNumber; using GB5Shared.Validation; using MMDAL.CustomCode.Terms; using MMDAL.CustomCode.TermsSet; using MMDAL.DTO.Terms; using MMDAL.Query.TermsSet; using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace MMBLL.TermsSet { public class TermsSetBLL : ITermsSetBLL { private readonly ITermsSetDAL _TermsSetDAL; private readonly AutoNumber _AutoNumber; private readonly IValidation _Validation; public TermsSetBLL(ITermsSetDAL TermsSetDAL, AutoNumber AutoNumber, IValidation Validation) { _TermsSetDAL = TermsSetDAL; _AutoNumber = AutoNumber; _Validation = Validation; } public async Task GetSelectListTermsSet(CriteriaDTO CriteriaDTO, LoginDTO LoginDTO) { try { return await _TermsSetDAL.GetSelectListTermsSet(CriteriaDTO, LoginDTO); } catch (Exception) { throw; } } } }