Example #1
0
 public GenericRepository(ISupermarketSystemDbContext supermarketSystemDbContext)
 {
     this.context = supermarketSystemDbContext;
 }
Example #2
0
 public SupermarketSystemData(ISupermarketSystemDbContext supermarketSystemDbContext)
 {
     this.context      = supermarketSystemDbContext;
     this.repositories = new Dictionary <Type, object>();
 }