end taxpayer and MarkupStringInBlog
This commit is contained in:
@@ -64,10 +64,9 @@
|
||||
<article>
|
||||
|
||||
<div class="postbox__details-title-box pb-30">
|
||||
|
||||
<p>
|
||||
@Item?.Text
|
||||
</p>
|
||||
|
||||
@((MarkupString)Item?.Text)
|
||||
|
||||
|
||||
</div>
|
||||
|
||||
@@ -133,11 +132,13 @@
|
||||
|
||||
public List<BlogDto> collectionitem { get; set; } = new List<BlogDto>();
|
||||
public BlogDtoFull? Item { get; set; }
|
||||
|
||||
protected override async Task OnParametersSetAsync()
|
||||
{
|
||||
if (ItemID != null)
|
||||
{
|
||||
Item = await GetItems();
|
||||
// Item.Text = "<p><strong>RTHH</strong></p>";
|
||||
if (Item==null)
|
||||
Navigation.NavigateTo("/");
|
||||
|
||||
|
@@ -37,10 +37,10 @@ builder.Services.AddScoped(sp => new UserAuthenticationDTO()
|
||||
//builder.Services.AddScoped(sp => new HttpClient { BaseAddress = new Uri("http://195.88.208.142:7075/api/") });
|
||||
|
||||
//Home
|
||||
builder.Services.AddScoped(sp => new HttpClient { BaseAddress = new Uri("https://localhost:7075/api/") });
|
||||
//builder.Services.AddScoped(sp => new HttpClient { BaseAddress = new Uri("https://localhost:7075/api/") });
|
||||
|
||||
//farzan
|
||||
//builder.Services.AddScoped(sp => new HttpClient { BaseAddress = new Uri("http://localhost:5271/api/") });
|
||||
builder.Services.AddScoped(sp => new HttpClient { BaseAddress = new Uri("http://localhost:5271/api/") });
|
||||
|
||||
CultureInfo.DefaultThreadCurrentCulture = new CultureInfo("fa-Ir");
|
||||
|
||||
|
Reference in New Issue
Block a user