public PedidoRetiradaController(ContexDataService db, IHttpContextAccessor httpContext) { this.modeloData = new PedidoRetiradaData(db); this.clienteData = new ClienteData(db); this.orgConfigData = new OrgConfigData(db); this.organizacaoData = new OrganizacaoData(db); this.Sqlservice = new SqlGenericData(); this.contexto = new ContextPage().ExtractContext(httpContext); this.enderecoData = new EnderecoData(db); }
public BalcaoVendasController(ContexDataService db, IHttpContextAccessor httpContext) { this.balcaoVendasData = new BalcaoVendasData(db); this.listaprecoData = new ListaPrecoData(db); this.clienteData = new ClienteData(db); this.organizacaoData = new OrganizacaoData(db); this.orgConfigData = new OrgConfigData(db); this.produtoData = new ProdutoData(db); this.contexto = new ContextPage().ExtractContext(httpContext); this.Sqlservice = new SqlGenericData(); this.sqlGeneric = new SqlGeneric(); }