public VideoRepositoryEFMemory(VideoShackContext context)
 {
     this.context = context;
 }
 public CollectionRepository(VideoShackContext context)
 {
     this.context = context;
 }
示例#3
0
 public UnitOfWork()
 {
     context              = new VideoShackContext();
     VideoRepository      = new VideoRepositoryEFMemory(context);
     CollectionRepository = new CollectionRepository(context);
 }