public Repository(OnionDbContext context) { this.context = context; entities = context.Set <T>(); }
public UsersRepository(OnionDbContext db) { this.db = db; }
public Repository(OnionDbContext context) { this.context = context; entities = context.Set <T>(); }
public UsersRepository(OnionDbContext db) { this.db = db; }