using System; using System.Collections.Generic; using System.Data.Common; using System.Linq; using System.Text; using System.Threading.Tasks; using AccountsDAL.DTO.CostCenter; using GB5Shared.DTO.Framework.Criteria; using GB5Shared.DTO.Framework.Login; using GB5Shared.ResponseStandard; namespace AccountsDAL.CustomCode.CostCenter { public interface ICostCenterDAL { Task GetSelectListCostCenter(int FirstNumber, int MaxResult, CriteriaDTO CriteriaDTO, LoginDTO LoginDTO, bool IsCount = false); Task GetCostCenterList(CriteriaDTO CriteriaDTO, LoginDTO LoginDTO); Task> SaveCostCenter(CostCenterDTO CostCenterDTO, LoginDTO LoginDTO, DbTransaction tx, CancellationToken ct); Task> UpdateCostCenter(CostCenterDTO CostCenterDTO, LoginDTO LoginDTO, DbTransaction tx, CancellationToken ct); Task GetCostCenter(int costCenterId, LoginDTO loginDTO); Task DeleteCostCenter(int costCenterId, LoginDTO loginDTO); } }