/// <inheritdoc/> public Task <Maybe <IEnumerable <T> > > ExecuteAsync <T>( IWpDb db, IUnitOfWork w, GetPostsOptions opt, params IContentFilter[] filters ) where T : IWithId <WpPostId> => QueryPostsF.ExecuteAsync <T>(db, w, opt, filters);
/// <inheritdoc/> public Task <Maybe <IPagedList <T> > > ExecuteAsync <T>( IWpDb db, IUnitOfWork w, ulong page, GetPostsOptions opt, params IContentFilter[] filters ) where T : IWithId <WpPostId> => QueryPostsF.ExecuteAsync <T>(db, w, page, opt, filters);
/// <inheritdoc/> public async Task <Maybe <IPagedList <T> > > PostsAsync <T>(ulong page, Query.GetPostsOptions opt, params IContentFilter[] filters) where T : IWithId <WpPostId> { using var w = Db.UnitOfWork; return(await QueryPostsF.ExecuteAsync <T>(Db, w, page, opt, filters).ConfigureAwait(false)); }