using GB5Shared.DTO.Framework.Criteria; using GB5Shared.DTO.Framework.Login; using GB5Shared.QueryExecutor; using MMDAL.DTO.GST; using MMDAL.Query.DutyTax; using System; using System.Threading.Tasks; namespace MMDAL.CustomCode.DutyTax { public class DutyTaxDAL : IDutyTaxDAL { private readonly IQueryExecutor _QueryExecutor; public DutyTaxDAL(IQueryExecutor QueryExecutor) { _QueryExecutor = QueryExecutor; } public async Task GSTSelectList(CriteriaDTO CriteriaDTO, LoginDTO LoginDTO) { try { string SQL = DutyTaxQB.GST_SELECT_LIST; var Parameters = new { }; return await _QueryExecutor.QueryWithCriteriaJsonAsync(LoginDTO, SQL, Parameters, CriteriaDTO); } catch (Exception) { throw; } } } }