...
This commit is contained in:
@@ -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; }
|
||||
|
@@ -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;
|
||||
}
|
||||
|
Reference in New Issue
Block a user