Resonant reactions of astrophysical interest studied by means of the Trojan Horse Method. Two case studies