Interface IBlogRepository
Assembly: Volo.CmsKit.Domain.dll
Syntax
public interface IBlogRepository : IBasicRepository<Blog, Guid>, IBasicRepository<Blog>, IReadOnlyBasicRepository<Blog, Guid>, IReadOnlyBasicRepository<Blog>, IRepository
Methods
ExistsAsync(Guid, CancellationToken)
Declaration
Task<bool> ExistsAsync(Guid id, CancellationToken cancellationToken = default)
Parameters
Returns
GetBySlugAsync(string, CancellationToken)
Declaration
Task<Blog> GetBySlugAsync(string slug, CancellationToken cancellationToken = default)
Parameters
Returns
GetCountAsync(string, CancellationToken)
Declaration
Task<long> GetCountAsync(string filter = null, CancellationToken cancellationToken = default)
Parameters
Returns
GetListAsync(string, string, int, int, CancellationToken)
Declaration
Task<List<Blog>> GetListAsync(string filter = null, string sorting = null, int maxResultCount = 2147483647, int skipCount = 0, CancellationToken cancellationToken = default)
Parameters
Returns
SlugExistsAsync(string, CancellationToken)
Declaration
Task<bool> SlugExistsAsync(string slug, CancellationToken cancellationToken = default)
Parameters
Returns
Extension Methods