public IQueryable <Subject> GetAll() => _dbContext.Set <Subject>().AsNoTracking();
public IQueryable <TEntity> GetQuery <TEntity>(bool noTracking = true) where TEntity : BaseEntity { return(noTracking ? _context.Set <TEntity>().AsNoTracking() : _context.Set <TEntity>()); }