Exemple #1
0
 public AccountController(ApplicationUserManager userManager, ApplicationSignInManager signInManager, IEstadoAppService estadoApp, ICidadeAppService cidadeApp)
 {
     _userManager   = userManager;
     _signInManager = signInManager;
     _estadoApp     = estadoApp;
     _cidadeApp     = cidadeApp;
 }
Exemple #2
0
 //Por causa desse construtor, instalamos o Ninject.MVC5
 public ClientesController(IClienteAppService clienteAppService, ICidadeAppService cidadeAppService, IEstadoAppService estadoAppService, ICartaoCreditoAppService cartaoCreditoAppService, IEnderecoInformacaoAppService enderecoAppService)
 {
     _ClienteAppService       = clienteAppService;
     _CidadeAppService        = cidadeAppService;
     _EstadoAppService        = estadoAppService;
     _CartaoCreditoAppService = cartaoCreditoAppService;
     _EnderecoAppService      = enderecoAppService;
 }
Exemple #3
0
 public LogradourosController(ILogradouroAppService logradouroApp, ITipoLogradouroAppService tipoLogradouroApp, IMunicipioAppService municipioApp, IEstadoAppService estadoApp, IPaisAppService paisApp)
 {
     _logradouroApp     = logradouroApp;
     _tipoLogradouroApp = tipoLogradouroApp;
     _municipioApp      = municipioApp;
     _estadoApp         = estadoApp;
     _paisApp           = paisApp;
 }
 /// <summary>
 /// Initializes a new instance of the <see cref="EstadoController"/> class.
 ///     Contrutor padrão do EstadoController.
 /// </summary>
 /// <param name="estadoAppService">Application de serviço de Estado</param>
 /// <param name="cidadeAppService">Application de serviço de Cidade</param>
 /// <param name="notifications">Notifications Handler</param>
 /// <param name="loggerFactory">Factory de gerenciamento de logs</param>
 public EstadoController(
     IEstadoAppService estadoAppService,
     ICidadeAppService cidadeAppService,
     ILoggerFactory loggerFactory)
     : base(estadoAppService)
 {
     this.estadoAppService = estadoAppService;
     this.cidadeAppService = cidadeAppService;
     this.logger           = loggerFactory.CreateLogger <EstadoController>();
 }
Exemple #5
0
 /// <summary>
 /// Initializes a new instance of the <see cref="PaisController"/> class.
 ///     Contrutor padrão do PaísController.
 /// </summary>
 /// <param name="paisAppService">Application de serviço de País</param>
 /// <param name="estadoAppService">Application de serviço de Estado</param>
 /// <param name="notifications">Notifications Handler</param>
 /// <param name="loggerFactory">Factory de gerenciamento de logs</param>
 public PaisController(
     IPaisAppService paisAppService,
     IEstadoAppService estadoAppService,
     ILoggerFactory loggerFactory)
     : base(paisAppService)
 {
     this.paisAppService   = paisAppService;
     this.estadoAppService = estadoAppService;
     this.logger           = loggerFactory.CreateLogger <PaisController>();
 }
 public EnderecoController(
     IEnderecoAppService enderecoAppService,
     IEstadoAppService estadoAppService,
     ICidadeAppService cidadeAppService
     )
 {
     _enderecoAppService = enderecoAppService;
     _cidadeAppService   = cidadeAppService;
     _estadoAppService   = estadoAppService;
 }
Exemple #7
0
 public ClienteController(IClienteAppService clienteAppService,
                          IEstadoAppService estadoAppService,
                          ICidadeAppService cidadeAppService,
                          IEnderecoAppService enderecoAppService
                          )
 {
     _clienteAppService  = clienteAppService;
     _estadoAppService   = estadoAppService;
     _cidadeAppService   = cidadeAppService;
     _enderecoAppService = enderecoAppService;
 }
 public ClientesController(
     IClienteAppService clienteApp,
     IEstadoAppService estadoApp,
     ICidadeAppService cidadeApp,
     IEnderecoAppService enderecoApp)
 {
     _clienteApp  = clienteApp;
     _estadoApp   = estadoApp;
     _cidadeApp   = cidadeApp;
     _enderecoApp = enderecoApp;
 }
 public PessoasController(IPessoaAppService pessoaApp,
                          ISCadastroAppService cadastroApp,
                          IPaisAppService paisApp,
                          IEstadoAppService estadoApp,
                          ICidadeAppService cidadeApp,
                          IBairroAppService bairroApp,
                          ILogradouroAppService logradouroApp)
 {
     _pessoaApp     = pessoaApp;
     _cadastroApp   = cadastroApp;
     _paisApp       = paisApp;
     _estadoApp     = estadoApp;
     _cidadeApp     = cidadeApp;
     _bairroApp     = bairroApp;
     _logradouroApp = logradouroApp;
 }
 public MunicipiosController(IMunicipioAppService municipioApp, IEstadoAppService estadoApp)
 {
     _municipioApp = municipioApp;
     _estadoApp    = estadoApp;
 }
Exemple #11
0
 public EstadosController(IEstadoAppService estadoApp, IPaisAppService paisApp)
 {
     _estadoApp = estadoApp;
     _paisApp   = paisApp;
 }
Exemple #12
0
 public ClientesController(IClienteAppService clienteApp, IEstadoAppService estadoApp, ICidadesAppService cidadeAppService)
 {
     _clienteApp        = clienteApp;
     _estadoAppService  = estadoApp;
     _cidadesAppService = cidadeAppService;
 }
 public EstadosController(IEstadoAppService estadoApp)
 {
     _estadoApp = estadoApp;
 }
Exemple #14
0
 public EstadosController(IEstadoAppService repositorio)
 {
     this._appService = repositorio;
     _mapper          = AutoMapperConfig.Mapper;
 }
 public EstadosCidadesController(IEstadoAppService estadoAppService, ICidadesAppService cidadeAppService)
 {
     _estadoAppService = estadoAppService;
     _cidadeAppService = cidadeAppService;
     Cidades = new List<SelectListItem>(); ;
 }
 public FeriadoController(IFeriadoAppService feriadoAppService, IAbrangenciaAppService abrangenciaAppService, IEstadoAppService estadoAppService)
 {
     _FeriadoAppService     = feriadoAppService;
     _EstadoAppService      = estadoAppService;
     _AbrangenciaAppService = abrangenciaAppService;
 }