public VideoRepositoryEFMemory(VideoShackContext context) { this.context = context; }
public CollectionRepository(VideoShackContext context) { this.context = context; }
public UnitOfWork() { context = new VideoShackContext(); VideoRepository = new VideoRepositoryEFMemory(context); CollectionRepository = new CollectionRepository(context); }