using System.Data.Common; using AccountsDAL.DTO.CostCenterPattern; using AccountsDAL.DTO.CostCenterPatternDetail; using GB5Shared.DTO.Framework.Criteria; using GB5Shared.DTO.Framework.Login; using GB5Shared.ResponseStandard; namespace AccountsDAL.CustomCode.CostCenterPattern { public interface ICostCenterPatternDAL { Task GetCostCenterPattern(int costCenterPatternId, LoginDTO loginDTO); Task> SaveCostCenterPattern(CostCenterPatternDTO dto, LoginDTO loginDTO, DbTransaction tx); Task> UpdateCostCenterPattern(CostCenterPatternDTO dto, LoginDTO loginDTO, DbTransaction tx); Task> SaveCostCenterPatternDetail(CostCenterPatternDetailDTO detail, LoginDTO loginDTO, DbTransaction tx); Task> DeleteCostCenterPatternDetails(int costCenterPatternId, LoginDTO loginDTO, DbTransaction tx); Task> DeleteCostCenterPattern(int costCenterPatternId, LoginDTO loginDTO, DbTransaction tx); Task GetSelectListCostCenterPattern(CriteriaDTO criteriaDTO, LoginDTO loginDTO); Task GetCostCenterPatternList(CriteriaDTO CriteriaDTO, LoginDTO LoginDTO); } }