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