This commit is contained in:
mmrbnjd
2024-11-20 12:10:17 +03:30
parent fe359535f7
commit 0d56b1ecc1
5 changed files with 5 additions and 14 deletions

View File

@@ -4,6 +4,7 @@
{
public int ID { get; set; }
public string Title { get; set; }
public string? PageTitle { get; set; }
public string Text { get; set; }
public string? Photo { get; set; }
public string Date { get; set; }

View File

@@ -80,7 +80,8 @@ namespace Back.Services
Time=s.Time,
Tags= s.Tags,
DescriptionTag=s.DescriptionTag,
keywordsTag=s.keywordsTag
keywordsTag=s.keywordsTag,
PageTitle=string.IsNullOrEmpty(s.PageTitle) ?s.Title : s.PageTitle,
}).FirstOrDefaultAsync();
return result;
}