From bc8cb1c465f63d364a61c556463e8a1d9fc61b2f Mon Sep 17 00:00:00 2001 From: Hamid Reza Mohammadi Date: Sun, 8 Nov 2020 14:58:23 +0330 Subject: [PATCH] fix --- RMuseum/Services/Implementation/AudioNarrationService.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/RMuseum/Services/Implementation/AudioNarrationService.cs b/RMuseum/Services/Implementation/AudioNarrationService.cs index 3be89ebb..54c89d46 100644 --- a/RMuseum/Services/Implementation/AudioNarrationService.cs +++ b/RMuseum/Services/Implementation/AudioNarrationService.cs @@ -581,7 +581,7 @@ namespace RMuseum.Services.Implementation if (narration.AudioTitle.IndexOf("فایل صوتی") == 0) //no modification on title { - GanjoorPoem poem = await _context.GanjoorPoems.Where(p => p.Id == audio.PoemId).SingleOrDefaultAsync(); + GanjoorPoem poem = await context.GanjoorPoems.Where(p => p.Id == audio.PoemId).SingleOrDefaultAsync(); if (poem != null) { narration.AudioTitle = poem.Title;