public UnitOfWork() { context = new SaleContext(); }
public GenericRepository(SaleContext context) { this._context = context; _entitySet = this._context.Set <TEntity>(); }