public JurosCompostosController(IJurosCompostosService jurosCompostosService,
                                 IDomainNotificationManager domainNotificationManager)
     : base(domainNotificationManager)
 {
     _jurosCompostosService     = jurosCompostosService;
     _domainNotificationManager = domainNotificationManager;
 }
            public JurosCompostosControllerTests()
            {
                var serviceCollection = new ServiceCollection();

                serviceCollection.AddAutoMapper(typeof(AutoMapperConfig));
                NativeInjectorBootStrapper.RegisterServices(serviceCollection);

                _serviceProvider           = serviceCollection.BuildServiceProvider();
                _jurosCompostosService     = _serviceProvider.GetService <IJurosCompostosService>();
                _domainNotificationManager = _serviceProvider.GetService <IDomainNotificationManager>();
            }
 public BaseController(IDomainNotificationManager notifications)
 {
     _notifications = notifications;
 }
示例#4
0
 protected ApiController(IDomainNotificationManager domainNotificationManager)
 => _domainNotificationManager = domainNotificationManager;
示例#5
0
 public JurosCompostosService(IMapper mapper,
                              IDomainNotificationManager domainNotificationManager)
 {
     _mapper = mapper;
     _domainNotificationManager = domainNotificationManager;
 }
示例#6
0
 public ShowMeTheCode(IDomainNotificationManager domainNotificationManager) : base(domainNotificationManager)
 {
 }
 public CustomersController(ICreateCustomerHandler createCustomerHandler, IDomainNotificationManager notifications)
     : base(notifications)
 {
     _createCustomerHandler = createCustomerHandler;
     _notifications         = notifications;
 }