Пример #1
0
 public string GetGreenResult()
 {
     if (GreenCondition != null && GreenCondition.IsValid())
     {
         return(GreenCondition.GetResult(Area.ConnectionString));
     }
     else
     {
         throw new DomainException("Condition is not valid");
     }
 }