I have to pass method return value as parameter to other method how is the best practice to do that, thanks in advance