@ -11,7 +11,7 @@ namespace Volo.CmsKit.Blogs
{
Task<List<BlogFeature>> GetListAsync(Guid blogId);
Task<List<BlogFeature>> GetListAsync(Guid blogId, string[] featureNames);
Task<List<BlogFeature>> GetListAsync(Guid blogId, List<string> featureNames);
Task<BlogFeature> FindAsync(Guid blogId, string featureName);
}
@ -27,7 +27,7 @@ namespace Volo.CmsKit.Blogs
.ToListAsync();
public async Task<List<BlogFeature>> GetListAsync(Guid blogId, string[] featureNames)
public async Task<List<BlogFeature>> GetListAsync(Guid blogId, List<string> featureNames)
return await (await GetQueryableAsync())
.Where(x => x.BlogId == blogId && featureNames.Contains(x.FeatureName))
@ -29,7 +29,7 @@ namespace Volo.CmsKit.MongoDB.Blogs
return await (await GetMongoQueryableAsync())