public GenericRepository(FAODbContext context) { this.dbContext = context; // Create dbset to work with. if (this.dbContext != null) { this.dbSet = dbContext.Set <T>(); } }
public UnitOfWork(FAODbContext context) { this.dbContext = context; }