Skip to content

Commit

Permalink
paging size to 10
Browse files Browse the repository at this point in the history
  • Loading branch information
goodtocode committed Jul 21, 2023
1 parent ca23049 commit f0ea698
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ public class BusinessesController : BaseController
[HttpGet(Name = "GetBusinessesByNameQuery")]
[ProducesResponseType(StatusCodes.Status200OK)]
[ProducesResponseType(StatusCodes.Status400BadRequest)]
public async Task<PagedResult<BusinessEntity>> Get(string? name, int pageNumber = 1, int pageSize = 20) => await Mediator.Send(new GetBusinessesByNameQuery
public async Task<PagedResult<BusinessEntity>> Get(string? name, int pageNumber = 1, int pageSize = 10) => await Mediator.Send(new GetBusinessesByNameQuery
{
BusinessName = name ?? string.Empty,
PageNumber = pageNumber,
Expand Down
1 change: 0 additions & 1 deletion src/Subjects/Presentation.Web.BlazorServer/Program.cs
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,6 @@
builder.Services.AddServerSideBlazor()
.AddMicrosoftIdentityConsentHandler();


if (builder.Environment.IsDevelopment() || string.Equals(builder.Environment.EnvironmentName, "local", StringComparison.InvariantCultureIgnoreCase))
builder.WebHost.UseStaticWebAssets(); // Required to serve static files from the wwwroot folder in environments other than Development.

Expand Down

0 comments on commit f0ea698

Please sign in to comment.