public static async Task <Institucion> GetDatosInstitucion() { var p = new ApiParams(); p.Add("version", Config.Version.Replace("v", "")); var datosInst = await APICaller.Call("DatosInstitucionMovil", p); return(Institucion.FromJToken(datosInst.Children().FirstOrDefault())); }
public static async Task <JContainer> Call(string webMethod, ApiParams p) { return(await SoapClient.Post(Config.ServiceUrl, webMethod, p.ToJson())); }