public Repository(EventifyDbContext context) { Context = context; // Here we are working with a DbContext, not or DbContext. So we don't have DbSets // such as Users or Events, and we need to use the generic Set() method to access them. _entities = Context.Set <TEntity>(); }
public UserRepository(EventifyDbContext context) : base(context) { }
public AttendanceRepository(EventifyDbContext context) : base(context) { }
public FollowerRepository(EventifyDbContext context) : base(context) { }
public PhotoRepository(EventifyDbContext context) : base(context) { }
public CategoryRepository(EventifyDbContext context) : base(context) { }