public StoresData(IStoresDbContext context)
 {
     this.context      = context;
     this.repositories = new Dictionary <Type, object>();
 }
 public GenericRepository(IStoresDbContext context)
 {
     this.context = context;
     this.set     = context.Set <T>();
 }