Ejemplo n.º 1
0
        //private readonly INotificationEventService _notificationEventService;

        public NotificationService(AppDbContext context, INotificationEventService notificationEventService,
                                   IMessageService emailService, IMessageService smsService)
        {
            _context      = context;
            _emailService = emailService;
            _smsService   = smsService;
            //_notificationEventService = notificationEventService;
        }
 /// <summary>
 /// Create a controller and set the service
 /// </summary>
 public NotificationEventController(INotificationEventService service)
 {
     _service = service;
 }