public DailyTaskAggregate(IEnumerable <IEvent> events, UserGoalIndex goalService) { _state = new DailyTaskState(events); this.goalService = goalService; }
public DailyTaskApplicationService(IEventStore eventStore, UserGoalIndex goalService) { this._eventStore = eventStore; this.goalService = goalService; }