diff --git a/TaxPayerFull/Layout/LQuestion.razor b/TaxPayerFull/Layout/LQuestion.razor
index 4a21b7f..1ac3b44 100644
--- a/TaxPayerFull/Layout/LQuestion.razor
+++ b/TaxPayerFull/Layout/LQuestion.razor
@@ -30,28 +30,24 @@
-
-
+ }
+
@code {
@@ -59,12 +55,16 @@
public int PageIndex { get; set; }
-
public Shared.DTOs.PagingDto? request { get; set; }
+ private async Task OnPageChangedAsync(int newPageNumber)
+ {
+ request = await _hc.GetFromJsonAsync>($"Base/LastQuestion?PageIndex={newPageNumber}&PageSize=5");
+ await Task.Run(() => { PageIndex = newPageNumber; });
+ }
protected override async Task OnParametersSetAsync()
{
- request = await _hc.GetFromJsonAsync>($"Base/LastQuestion?PageIndex={PageIndex}&PageSize=10");
+ request = await _hc.GetFromJsonAsync>($"Base/LastQuestion?PageIndex={PageIndex}&PageSize=5");
await base.OnParametersSetAsync();
}
}
diff --git a/TaxPayerFull/Pages/BlogDetails.razor b/TaxPayerFull/Pages/BlogDetails.razor
index 8ec32ef..96da77d 100644
--- a/TaxPayerFull/Pages/BlogDetails.razor
+++ b/TaxPayerFull/Pages/BlogDetails.razor
@@ -48,7 +48,7 @@
-

+
diff --git a/TaxPayerFull/Program.cs b/TaxPayerFull/Program.cs
index b3c5965..9180e1b 100644
--- a/TaxPayerFull/Program.cs
+++ b/TaxPayerFull/Program.cs
@@ -36,10 +36,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");
diff --git a/TaxPayerFull/wwwroot/img/blog/33.jpg b/TaxPayerFull/wwwroot/img/blog/33.jpg
new file mode 100644
index 0000000..07a8cc9
Binary files /dev/null and b/TaxPayerFull/wwwroot/img/blog/33.jpg differ
diff --git a/TaxPayerFull/wwwroot/img/blog/34.jpg b/TaxPayerFull/wwwroot/img/blog/34.jpg
new file mode 100644
index 0000000..ef0f88b
Binary files /dev/null and b/TaxPayerFull/wwwroot/img/blog/34.jpg differ
diff --git a/TaxPayerFull/wwwroot/img/blog/35.jpg b/TaxPayerFull/wwwroot/img/blog/35.jpg
new file mode 100644
index 0000000..3d4aa7e
Binary files /dev/null and b/TaxPayerFull/wwwroot/img/blog/35.jpg differ
diff --git a/TaxPayerFull/wwwroot/img/blog/37.jpg b/TaxPayerFull/wwwroot/img/blog/37.jpg
new file mode 100644
index 0000000..0f8be54
Binary files /dev/null and b/TaxPayerFull/wwwroot/img/blog/37.jpg differ
diff --git a/TaxPayerFull/wwwroot/img/blog/43.jpg b/TaxPayerFull/wwwroot/img/blog/43.jpg
new file mode 100644
index 0000000..cc1fddf
Binary files /dev/null and b/TaxPayerFull/wwwroot/img/blog/43.jpg differ