//public SalePostSetupContext(SalePostFailedSaleCreation nxt) : base(nxt) //{ // _nextStage = nxt; //} //public override void Invoke(SalePostContext context) //{ // SaleRepo.SaleBuilder builder = _saleRepo.initialSaleBuilder(); // context.SaleBuilder = (SaleRepo)builder; // _next.Invoke(context); //} protected internal override void stageExecute(SalePostContext context) { SaleRepo.SaleBuilder builder = _saleRepo.initialSaleBuilder(); context.SaleBuilder = (SaleRepo)builder; nextStg(context); }
public override void stageExecute(SalePostContext context) { SaleRepo.SaleBuilder builder = saleRepo.initialSaleBuilder(); context.SaleBuilder = (SaleRepo)builder; nextStage(context); }