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