From 59d4b7753ab6a880f3b4b510f4fb051a3328e526 Mon Sep 17 00:00:00 2001 From: Hamid Reza Mohammadi Date: Sat, 18 Dec 2021 19:52:58 +0330 Subject: [PATCH] #264 removing a recitation order disrupting API method --- RMuseum/Controllers/RecitationController.cs | 22 +-------------------- 1 file changed, 1 insertion(+), 21 deletions(-) diff --git a/RMuseum/Controllers/RecitationController.cs b/RMuseum/Controllers/RecitationController.cs index 7d1fff07..6c555d8c 100644 --- a/RMuseum/Controllers/RecitationController.cs +++ b/RMuseum/Controllers/RecitationController.cs @@ -752,27 +752,7 @@ namespace RMuseum.Controllers } - /// - /// Makes recitations of فریدون فرح‌اندوز first recitations - /// - /// - [HttpPut("ff")] - [Authorize(Policy = RMuseumSecurableItem.AudioRecitationEntityShortName + ":" + RMuseumSecurableItem.ReOrderOperationShortName)] - [ProducesResponseType((int)HttpStatusCode.OK, Type = typeof(int))] - [ProducesResponseType((int)HttpStatusCode.BadRequest, Type = typeof(string))] - public async Task MakeFFRecitationsFirst() - { - if (!_audioService.UploadEnabled) - return BadRequest("این قابلیت به دلیل تغییرات فنی سایت موقتاً غیرفعال است."); - - var resExec = await _audioService.MakeArtistRecitationsFirst("فریدون فرح‌اندوز"); - if (!string.IsNullOrEmpty(resExec.ExceptionString)) - return BadRequest(resExec.ExceptionString); - - return Ok(resExec.Result); - - } - + /// /// Synchronization Queue ///