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