public PictureRepository(ImagebookDbContext dbContext) : base(dbContext) { }
public GenericRepository(ImagebookDbContext dbContext) { this._dbContext = dbContext; this._dbSet = this._dbContext.Set <TEntity>(); }
public AlbumRepository(ImagebookDbContext dbContext) : base(dbContext) { }
public UnitOfWork(ImagebookDbContext dbContext) { this._dbContext = dbContext; this.Albums = new AlbumRepository(dbContext); this.Pictures = new PictureRepository(dbContext); }