internal static T PatchItem <T>(string uri, T item) { return(HttpUtil.PatchItemAsync <T>(uri, item).GetResult()); }
internal static void DeleteItem(string uri) { HttpUtil.DeleteItemAsync(uri).GetResult(); }
internal static T GetItems <T>(string uri) { return(HttpUtil.GetItemsAsync <T>(uri).GetResult()); }
internal static T PostItem <T>(string uri, T item = default(T)) { return(HttpUtil.PostItemAsync <T>(uri, item).GetResult()); }
private static AccessTokenResponse DoTokenHttp(string body) { return(HttpUtil.DoHttp <string, AccessTokenResponse>("POST", TokenUri, body, (dummy) => null).GetResult()); }