package examples.flex;

public class AddLogicImpl implements AddLogic {

	public int calculate(int arg1, int arg2) {
		return arg1 + arg2;
	}

	public AddDto calculate2(AddDto addDto) {
		addDto.setResult(addDto.getArg1() + addDto.getArg2());
		return addDto;
	}
	
	public AddDto2 calculate3(AddDto2 addDto) {
		addDto.setResult(addDto.getArg1() + addDto.getArg2());
		return addDto;
	}
}