예제 #1
0
        public static async Task <MessageResult> adminRemoveMultipleRatings(MultipleRatingIdRequest model)
        {
            var response = await client.DeleteAsJsonAsync(RATINGS + "/admin/multi-id", model);

            return(await response.Content.ReadAsAsync <MessageResult>());
        }
예제 #2
0
        public MessageResult handleMultipleDeleted(List <RatingModel> models)
        {
            var request = new MultipleRatingIdRequest(models);

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