Beispiel #1
0
 public NotificationController(
     IHubContext <NotificationServiceHub> hub,
     InMemoryNotificationRepository repository)
 {
     _hub        = hub;
     _repository = repository;
 }
Beispiel #2
0
 public TestableSharedContextController(Mock <IContextService> contextService, InMemoryNotificationRepository notificationRepository) : base(contextService.Object, notificationRepository)
 {
     MockContextService     = contextService;
     NotificationRepository = notificationRepository;
 }