18 lines
482 B
C#
18 lines
482 B
C#
using DBConnection.Contexts;
|
|
using DBConnection.Repositories.Interfaces;
|
|
using Microsoft.EntityFrameworkCore;
|
|
using Treestar.Shared.Models.DBDomain;
|
|
|
|
namespace DBConnection.Repositories;
|
|
|
|
public class ChapterRepository : BaseRepository<Chapter>, IChapterRepository
|
|
{
|
|
public ChapterRepository(AppDbContext dbContext) : base(dbContext)
|
|
{
|
|
}
|
|
|
|
protected override IQueryable<Chapter> GetAllIncludedQueryable()
|
|
{
|
|
return DbContext.Chapters.AsQueryable();
|
|
}
|
|
} |