#264 removing a recitation order disrupting API method
This commit is contained in:
parent
8618e1dc61
commit
59d4b7753a
@ -752,27 +752,7 @@ namespace RMuseum.Controllers
|
||||
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Makes recitations of فریدون فرحاندوز first recitations
|
||||
/// </summary>
|
||||
/// <returns></returns>
|
||||
[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<IActionResult> MakeFFRecitationsFirst()
|
||||
{
|
||||
if (!_audioService.UploadEnabled)
|
||||
return BadRequest("این قابلیت به دلیل تغییرات فنی سایت موقتاً غیرفعال است.");
|
||||
|
||||
var resExec = await _audioService.MakeArtistRecitationsFirst("فریدون فرحاندوز");
|
||||
if (!string.IsNullOrEmpty(resExec.ExceptionString))
|
||||
return BadRequest(resExec.ExceptionString);
|
||||
|
||||
return Ok(resExec.Result);
|
||||
|
||||
}
|
||||
|
||||
|
||||
/// <summary>
|
||||
/// Synchronization Queue
|
||||
/// </summary>
|
||||
|
||||
Loading…
Reference in New Issue
Block a user