コード例 #1
0
 public NotificationService(INotificationRepository notificationRepository,
                            IMapper mapper,
                            IPopulateService populateService,
                            IConfiguration configuration,
                            ILoggerFactory loggerFactory,
                            IMessageService messageService,
                            ISmsService smsService)
 {
     _populateService        = populateService;
     _notificationRepository = notificationRepository;
     _mapper         = mapper;
     _configuration  = configuration;
     _logger         = loggerFactory.CreateLogger("NotificationsService");
     _messageService = messageService;
     _smsService     = smsService;
 }
コード例 #2
0
 public ManagementController(IPopulateService populateService)
 {
     _populateService = populateService;
 }
コード例 #3
0
 public NotificationController(IPopulateService populateService, INotificationService notificationService, ICategoryService categoryService)
 {
     _populateService     = populateService;
     _notificationService = notificationService;
     _categoryService     = categoryService;
 }