public EmployeeDeductions AddDeductionType(EmployeeDeductions model) { _employeeDeductionsRepository.Add(model); _uow.Complete(); return(model); }
public void AddDeductionType_Should_AddADeduction() { var service = new PayrollService(empDeduStub, uowStub); EmployeeDeductions result = service.AddDeductionType(new EmployeeDeductions() { IsFixedAmt = true, FixedAmtDeduction = 2450M, Name = "SSS" }); Assert.AreEqual("SSS", result.Name); }
public EmployeeDeductions AddDeductionType(EmployeeDeductions employeeDeductions) { throw new NotImplementedException(); }