public Boolean updateCompensation(String CompensationId, String CompensationType, String CompensationDescription) { Compensation obj = Compensation.createCompensation(CompensationId, CompensationType, CompensationDescription); CompensationManager mgr = new CompensationManager(); return mgr.updateCompensation(obj); }
public Boolean updateCompensation(CompensationDto dto) { Compensation obj = Compensation.createCompensation(dto.CompensationId, dto.CompensationType, dto.CompensationDescription); CompensationManager mgr = new CompensationManager(); return mgr.updateCompensation(obj); }