Example #1
0
 public CryptoBaseRepository(ECraftContext context, AesCryptographyService crypto)
 {
     this.Context = context;
     this.dbSet   = context.Set <TEntity>();
     this._crypto = crypto;
 }
Example #2
0
 public BaseRepository(ECraftContext context)
 {
     this.Context = context;
     this.dbSet   = context.Set <TEntity>();
 }