예제 #1
0
        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));
        }
예제 #2
0
        public static async Task <bool> DeleteAsync(long id)
        {
            var response = await ApiHelper.Delete("/account", null);

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