Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- public class CategoryRepository : BaseRepository, ICategoryRepository
- {
- public CategoryRepository(AppDbContext context) : base(context)
- {
- }
- public async Task<IEnumerable<Category>> ListAsync()
- {
- return await _context.Categories.ToListAsync();
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement