temporary fix

This commit is contained in:
Hamid Reza Mohammadi 2024-10-16 17:43:07 +03:30
parent 019f009776
commit 862bfa438c

View File

@ -407,6 +407,11 @@ namespace GanjooRazor.Areas.Admin.Pages
if (Correction.VerseOrderText[i].CoupletSummary != null)
{
if(pms.verseSummaryResults.Length <= i)
{
Correction.VerseOrderText[i].SummaryReviewResult = CorrectionReviewResult.Rejected;
}
else
if (pms.verseSummaryResults[i] == null)
{
return new BadRequestObjectResult("لطفاً تکلیف بررسی تمام مصرعهای پیشنهادی را مشخص کنید.");