refactor!: pageSize is now required parameter

This commit is contained in:
Oliver Booth 2024-03-02 03:23:26 +00:00
parent 97466ba84b
commit 8dfc06e6d2
Signed by: oliverbooth
GPG Key ID: E60B570D1B7557B5
1 changed files with 1 additions and 1 deletions

View File

@ -42,7 +42,7 @@ public interface IBlogPostService
/// <param name="page">The zero-based index of the page to return.</param>
/// <param name="pageSize">The maximum number of posts to return per page.</param>
/// <returns>A collection of blog posts.</returns>
IReadOnlyList<IBlogPost> GetBlogPosts(int page, int pageSize = 10);
IReadOnlyList<IBlogPost> GetBlogPosts(int page, int pageSize);
/// <summary>
/// Returns the drafts of this post, sorted by their update timestamp.