Example #1
0
 public PessoaNegocio(IMapper mapper)
 {
     _pessoa     = new PessoaData();
     _endereco   = new EnderecoData();
     _logradouro = new LogradoruoData();
     _mapper     = mapper;
 }
Example #2
0
 public ClienteController(IClienteData _IClienteData, ISegmentoData _ISegmentoData, IEnderecoData _IEnderecoData, IHistorico_RelacionamentoData _IHistoricoRelacionamento)
 {
     this.IClienteData             = _IClienteData;
     this.ISegmentoData            = _ISegmentoData;
     this.IEnderecoData            = _IEnderecoData;
     this.IHistoricoRelacionamento = _IHistoricoRelacionamento;
 }
Example #3
0
 public EnderecoController(ContexDataService db, IHttpContextAccessor httpContext)
 {
     this.enderecoData = new EnderecoData(db);
     this.Sqlservice   = new SqlGenericData();
     // this.contexto = new ContextPage(httpContext.HttpContext.Session.GetString("email"), httpContext.HttpContext.Session.GetString("organizacao"));
     this.contexto = new ContextPage().ExtractContext(httpContext);
 }
Example #4
0
 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);
 }
Example #5
0
 public EnderecoNegocio(IMapper mapper)
 {
     _endereco = new EnderecoData();
     _mapper   = mapper;
 }
 public EnderecoController(IClienteData _IClienteData, ISegmentoData _ISegmentoData, IEnderecoData _IEnderecoData)
 {
     this.IClienteData  = _IClienteData;
     this.ISegmentoData = _ISegmentoData;
     this.IEnderecoData = _IEnderecoData;
 }
Example #7
0
 public EnderecoAPIController(ContexDataService db)
 {
     this.serviceData = new EnderecoData(db);
 }