using GB5Shared.DTO.Framework.Criteria; using GB5Shared.DTO.Framework.Login; using GB5Shared.GenerateAutoNumber; using GB5Shared.Resource.Response; using GB5Shared.Validation; using MMBLL.PartyTaxType; using MMDAL.CustomCode.PartyTaxType; using MMDAL.CustomCode.Pattern; using MMDAL.DTO.PartyTaxType; using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace MMBLL.PartyTaxType { public class PartyTaxTypeBLL : IPartyTaxTypeBLL { private readonly IPartyTaxTypeDAL _PartyTaxTypeDAL; private readonly AutoNumber _AutoNumber; private readonly IValidation _Validation; public PartyTaxTypeBLL(IPartyTaxTypeDAL PartyTaxTypeDAL, AutoNumber AutoNumber, IValidation Validation) { _PartyTaxTypeDAL = PartyTaxTypeDAL; _AutoNumber = AutoNumber; _Validation = Validation; } public async Task GetSelectListPartyTaxType(CriteriaDTO CriteriaDTO, LoginDTO LoginDTO) { try { return await _PartyTaxTypeDAL.GetSelectListPartyTaxType(CriteriaDTO, LoginDTO); } catch (Exception) { throw; } } } }