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; }
protected ApiController(IDomainNotificationManager domainNotificationManager) => _domainNotificationManager = domainNotificationManager;
public JurosCompostosService(IMapper mapper, IDomainNotificationManager domainNotificationManager) { _mapper = mapper; _domainNotificationManager = domainNotificationManager; }
public ShowMeTheCode(IDomainNotificationManager domainNotificationManager) : base(domainNotificationManager) { }
public CustomersController(ICreateCustomerHandler createCustomerHandler, IDomainNotificationManager notifications) : base(notifications) { _createCustomerHandler = createCustomerHandler; _notifications = notifications; }