//Get con parametros sin volver a obtener el token por que esta en cache static async Task <string> Peticion(Dictionary <string, string> parametros, IPeticionesServicios peticion) { try { return(await peticion.GetAsync <string>(parametros)); } catch (Exception ex) { throw ex; } }
//Get sin parametros static async Task <string[]> Peticion(IPeticionesServicios peticion) { try { return(await peticion.GetAsync <string[]>()); } catch (Exception ex) { throw ex; } }