Example #1
0
 public ContaController(IContaAppService contaAppService, IMapper mapper, INotificador notificador, ILoggerFactory loggerFactory) : base(notificador, loggerFactory)
 {
     _contaAppService = contaAppService;
     _mapper          = mapper;
     _notificador     = notificador;
     _logger          = _loggerFactory.CreateLogger("LoggerConta");
 }
Example #2
0
        //private readonly IStringLocalizer<ContaController> _localizer;

        public ContaController(
            IContaAppService contaAppService)
        //IStringLocalizer<ContaController> localizer)
        {
            this._contaAppService = contaAppService;

            //_localizer = localizer;
        }
 public ContasController(IContaAppService contaAppService,
                         IDomainNotificationHandler <DomainNotification> notifications,
                         UserManager <ApplicationUser> userManager,
                         IUser user) : base(notifications, user)
 {
     _contaAppService = contaAppService;
     _userManager     = userManager;
 }
Example #4
0
 public ContaTest()
 {
     _contaRepository   = Substitute.For <IContaRepository>();
     _contaService      = new ContaService(_contaRepository);
     _contaApp          = new ContaAppService(_contaService);
     _cancellationToken = new CancellationToken();
     SetupRepository();
 }
Example #5
0
 public ContaController(IContaAppService contaAppServiceInstance, IContaCategoriaAppService categoriaAppServiceInstance,
                        IContaCorrenteAppService correnteAppServiceInstance, IContatoAppService contatoAppServiceInstance)
 {
     this.contaApp     = contaAppServiceInstance;
     this.categoriaApp = categoriaAppServiceInstance;
     this.correnteApp  = correnteAppServiceInstance;
     this.contatoApp   = contatoAppServiceInstance;
     usuario           = AppHelper.ObterUsuarioLogado();
 }
Example #6
0
 public LoginService(
     IUsuarioAppService usuarioAppService,
     SigningConfigurations signingConfigurations,
     TokenConfigurations tokenConfigurations,
     IContaAppService contaAppService)
 {
     _usuarioAppService     = usuarioAppService;
     _signingConfigurations = signingConfigurations;
     _tokenConfigurations   = tokenConfigurations;
     _contaAppService       = contaAppService;
 }
Example #7
0
        //private readonly IStringLocalizer<ContaApiController> _localizer;

        public ContaController(
            IContaAppService contaAppService
            //UserManager<ApplicationUser> userManager,
            //SignInManager<ApplicationUser> signInManager,
            //UsuárioRepository usuárioRepository,
            //IStringLocalizer<ContaApiController> localizer
            )
        {
            this._contaAppService = contaAppService;
            //_userManager = userManager;
            //_signInManager = signInManager;
            //_usuárioRepository = usuárioRepository;
            //_localizer = localizer;
        }
 public ContaController(IContaAppService contaAppService)
 {
     _contaAppService = contaAppService ?? throw new ArgumentNullException(nameof(contaAppService));
 }
Example #9
0
 public ContaController(IContaAppService appService, ContaValidator validator)
 {
     this.appService = appService;
     this.validator  = validator;
 }
Example #10
0
 public ContasController(IContaAppService contaAppService)
 {
     _contaAppService = contaAppService;
 }
Example #11
0
 public ContaController(IContaAppService contaAppService, IClienteAppService ClienteAppService)
 {
     _contaAppService   = contaAppService;
     _ClienteAppService = ClienteAppService;
 }
Example #12
0
 public ContaController(IContaAppService contaAppService)
 {
     this._contaAppService = contaAppService;
 }
Example #13
0
 public ContasController(IClienteAppService clienteAppService)
 {
     _clienteAppService = clienteAppService;
 }
Example #14
0
 public ContaViewComponent(IContaAppService contaAppService)
 => _contaAppService = contaAppService;
Example #15
0
 public ContasController(IContaAppService contaAppService, IMapper mapper)
 {
     _contaAppService = contaAppService;
     _mapper          = mapper;
 }
 public ContaController(ILogger <ContaViewModel> logger, IContaAppService contaAppService) : base(logger)
 {
     this._contaAppService = contaAppService;
 }
Example #17
0
 public HomeController(IVendaAppService vendaService, IContaAppService contaService, ISaldoAppService saldoService)
 {
     this.vendaService = vendaService;
     this.contaService = contaService;
     this.saldoService = saldoService;
 }
Example #18
0
 public ContaController(IContaAppService contaApp)
 {
     _contaApp = contaApp;
 }