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