Пример #1
0
 public Boolean insertCompensation(String CompensationId, String CompensationType, String CompensationDescription)
 {
     Compensation obj = Compensation.createCompensation(CompensationId, CompensationType, CompensationDescription);
     CompensationManager mgr = new CompensationManager();
     return mgr.insertCompensation(obj);
 }
Пример #2
0
 public Boolean insertCompensation(CompensationDto dto)
 {
     Compensation obj = Compensation.createCompensation(dto.CompensationId, dto.CompensationType, dto.CompensationDescription);
     CompensationManager mgr = new CompensationManager();
     return mgr.insertCompensation(obj);
 }