Пример #1
0
        public MessageResult handleMultipleDeleted(List <SongModel> models)
        {
            var request = new MultipleSongIdRequest(models);

            return(APIRequest.adminRemoveMultipleSong(request).GetAwaiter().GetResult());
        }
Пример #2
0
        public static async Task <MessageResult> adminRemoveMultipleSong(MultipleSongIdRequest model)
        {
            var response = await client.DeleteAsJsonAsync(SONGS + "admin/multi-id", model);

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