示例#1
0
 public UnitOfWork(MovieRegistryContext context)
 {
     this.context      = context;
     this.repositories = new Dictionary <Type, object>();
 }
示例#2
0
 public GenericRepository(MovieRegistryContext context)
 {
     this.context = context;
 }