示例#1
0
        public IEnumerable <PayrollSalaryMasterSheetDTO> GetAllPayrollSalaryMasterSheetFilter(string id, string yearValue)
        {
            int employeeCode = Convert.ToInt32(id);
            int fiscalYear   = Convert.ToInt32(yearValue);

            return(PayrollSalaryMasterSheetResponseFormatter.GetAllTPayrollMasterSheet(_unitOfWork.PayrollSalaryMasterSheetRepository.Get(m => m.EmployeeCode == employeeCode && m.PayrollSalaryTable.PayrollMonthDescription.FyId == fiscalYear)));
        }
示例#2
0
        public IEnumerable <PayrollSalaryMasterSheetDTO> GetPayrollSalaryMasterSheet(int Id)
        {
            IEnumerable <PayrollSalaryMasterSheet>    db   = _unitOfWork.PayrollSalaryMasterSheetRepository.All().Where(x => x.PayrollSalaryTableId == Id).ToList();
            IEnumerable <PayrollSalaryMasterSheetDTO> view = PayrollSalaryMasterSheetResponseFormatter.GetAllTPayrollMasterSheet(db);

            return(view);
        }
示例#3
0
        public IEnumerable <PayrollSalaryMasterSheetDTO> GetAllPayrollSalaryMasterSheet(string id)
        {
            int employeeCode = Convert.ToInt32(id);

            return(PayrollSalaryMasterSheetResponseFormatter.GetAllTPayrollMasterSheet(_unitOfWork.PayrollSalaryMasterSheetRepository.Get(m => m.EmployeeCode == employeeCode)));
        }