public UnitOfWork() { ctx = new BenivoContext(); }
public GroupRepository(BenivoContext context) : base(context) { this.context = context; }
public UserRepository(BenivoContext context) : base(context) { this.context = context; }
public GenericRepository(BenivoContext context) { this.context = context; this.dbSet = context.Set <TEntity>(); }