Пример #1
0
        public static async Task <MessageResult> removeMultipleTags(MultipleTagIdRequest model)
        {
            var response = await client.DeleteAsJsonAsync(TAGS + "/multi-id", model);

            return(await response.Content.ReadAsAsync <MessageResult>());
        }
Пример #2
0
        public MessageResult handleMultipleDeleted(List <TagModel> models)
        {
            var request = new MultipleTagIdRequest(models);

            return(APIRequest.removeMultipleTags(request).GetAwaiter().GetResult());
        }