public void Add(TEntity entity) { _context.Set <TEntity>().Add(entity); }
public Query(ApartmentsDbContext dbContext) { _query = dbContext.Set <TEntity>(); }