Beispiel #1
0
        public int UpdatePayrollRemoteAllowance(PayrollRemoteAllowancesDTO data)
        {
            PayrollRemoteAllowance rA = PayrollRemoteAllowancesRequestFormatter.ConvertRespondentInfoFromDTO(data);

            return(_unitOfWork.PayrollRemoteAllowanceRepository.Update(rA));
        }
Beispiel #2
0
        public PayrollRemoteAllowancesDTO InsertPayrollRemoteAllowance(PayrollRemoteAllowancesDTO data)
        {
            PayrollRemoteAllowance rA = PayrollRemoteAllowancesRequestFormatter.ConvertRespondentInfoFromDTO(data);

            return(PayrollRemoteAllowancesRequestFormatter.ConvertRespondentToDTO(_unitOfWork.PayrollRemoteAllowanceRepository.Create(rA)));
        }