Exemple #1
0
        public IEnumerable <TaxDetailDTO> GetAllTaxDetailsByMasterId(int MasterId)
        {
            IEnumerable <PayrollTaxDetail> modelDatas = _unitOfWork.TaxDetailRepository.All().Where(x => x.MasterId == MasterId).ToList();

            return(TaxDetailResponseFormatter.GetAllTaxSetupDTO(modelDatas));
        }
Exemple #2
0
        public IEnumerable <TaxDetailDTO> GetAllTaxDetails()
        {
            IEnumerable <PayrollTaxDetail> modelDatas = _unitOfWork.TaxDetailRepository.All().ToList();

            return(TaxDetailResponseFormatter.GetAllTaxSetupDTO(modelDatas));
        }