public MessageResult handleMultipleDeleted(List <TagModel> models) { var request = new MultipleTagIdRequest(models); return(APIRequest.removeMultipleTags(request).GetAwaiter().GetResult()); }
public static async Task <MessageResult> removeMultipleTags(MultipleTagIdRequest model) { var response = await client.DeleteAsJsonAsync(TAGS + "/multi-id", model); return(await response.Content.ReadAsAsync <MessageResult>()); }