public GenericRepository(ISupermarketsChainDbContext context) { this.Context = context; this.set = context.Set <T>(); }
public SalesRepository(ISupermarketsChainDbContext supermarketsChainDbContext) : base(supermarketsChainDbContext) { }
public SupermarketsChainData(ISupermarketsChainDbContext supermarketsChainDbContext) { this.context = supermarketsChainDbContext; this.repositories = new Dictionary <Type, object>(); }