/// <summary> /// Initializes a new instance of the <see cref="CatchesReadModelDenormalizer" /> class. /// </summary> /// <param name="readModel">The read model.</param> /// <param name="domainRepository">The domain repository.</param> public CatchesReadModelDenormalizer(IFishLogReadModel readModel, IDomainRepository domainRepository) { this.readModel = readModel; this.domainRepository = domainRepository; }
/// <summary> /// Initializes a new instance of the <see cref="DashboardController"/> class. /// </summary> /// <param name="readModel">The read model.</param> public DashboardController(IFishLogReadModel readModel) { this.readModel = readModel; }
/// <summary> /// Initializes a new instance of the <see cref="CatchesController" /> class. /// </summary> /// <param name="commandBus">The command bus.</param> /// <param name="readModel">The read model.</param> public CatchesController(ICommandBus commandBus, IFishLogReadModel readModel) { this.commandBus = commandBus; this.readModel = readModel; }
/// <summary> /// Initializes a new instance of the <see cref="StatisticsDenormalizer"/> class. /// </summary> /// <param name="readModel">The read model.</param> public StatisticsDenormalizer(IFishLogReadModel readModel) { this.readModel = readModel; }