コード例 #1
0
        public MessageResult handleMultipleEdited(List <TagModel> models, IUpdater <TagModel> updater)
        {
            var req_model = updater.createRequestModel(models.First());
            var req       = new MultipleTagUpdateRequest(models, req_model);

            return(APIRequest.updateMultipleTags(req).GetAwaiter().GetResult());
        }
コード例 #2
0
        public static async Task <MessageResult> updateMultipleTags(MultipleTagUpdateRequest model)
        {
            var response = await client.PatchAsJsonAsync(TAGS + "/multi-id", model);

            return(await response.Content.ReadAsAsync <MessageResult>());
        }