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