Example #1
0
 public MusiciansData(IMusiciansDBContext context)
 {
     this.context      = context;
     this.repositories = new Dictionary <Type, object>();
 }
Example #2
0
 public GenericRepository(IMusiciansDBContext context)
 {
     this.context = context;
     this.set     = context.Set <T>();
 }