The viewPrice and getPrice methods of the Oracle contract are very similar, the only difference being the following peace of code:
Its recommended to reuse the code in order to be more readable and light.
