fix for rashhe

This commit is contained in:
Hamid Reza Mohammadi 2021-03-26 11:50:21 +04:30
parent 2b2239288e
commit d957c44371

View File

@ -118,11 +118,7 @@ namespace RMuseum.Services.Implementation
GanjoorPageType.None;
int? poetId = row["post_author"].ToString() == "1" ? (int?)null : int.Parse(row["post_author"].ToString());
if (poetId == 36)//رشحه
{
continue;
}
if (poetId != null)
{
if (!await context.GanjoorPoets.Where(poet => poet.Id == poetId).AnyAsync())