public static async Task <bool> DeleteAsync(long id)
        {
            var response = await ApiHelper.Delete("/account", new Dictionary <string, string>
            {
                { "X-Child-Account-By-Id", id.ToString() }
            });

            return(JsonConvert.DeserializeObject <bool>(response));
        }
Beispiel #2
0
        public static async Task <bool> DeleteAsync(long id)
        {
            var response = await ApiHelper.Delete("/account", null);

            return(JsonConvert.DeserializeObject <bool>(response));
        }