public UnitOfWork(GorilaDemoContext dbcontext) { _dbContext = dbcontext; }
public BaseRepository(GorilaDemoContext context) { this.context = context; this.dbset = context.Set <TEntity>(); }