public ProductRepository(LandDbContext dbContext) : base(dbContext) { }
public LandDbContext Init() { return(dbContext ?? (dbContext = new LandDbContext())); }
public GenericRepository(LandDbContext dbContext) { _dbContext = dbContext; _dbSet = _dbContext.Set <TEntity>(); }