public static Goal ResolvingGoal(this GoalException exception) { return(exception.model.Goals().SingleOrDefault(y => y.Identifier == exception.ResolvingGoalIdentifier)); }
public static Obstacle Obstacle(this GoalException exception) { return(exception.model.Obstacles().SingleOrDefault(y => y.Identifier == exception.ResolvedObstacleIdentifier)); }
public void Add(GoalException exception) { this.goalRepository.Add(exception); }