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));
 }
Esempio n. 3
0
 public void Add(GoalException exception)
 {
     this.goalRepository.Add(exception);
 }