Example #1
0
 public UserRepository(SudeDBContext ctx)
 {
     //this._ctx = ctx;
     this._userRepository = new GenericRepository <User>(ctx);
 }
Example #2
0
 public ServingRepository(SudeDBContext ctx)
 {
     this._servingRepository = new GenericRepository <Serving>(ctx);
 }
Example #3
0
 public GenericRepository(SudeDBContext ctx)
 {
     this._ctx = ctx;
     _dbSet    = _ctx.Set <TEntity>();
 }