Exemplo n.º 1
0
 public override void getDecision(bool isHardware)
 {
     Director director = new Director(expense);
     if(description.Contains("towncar"))
     {
         Console.WriteLine("Request rejected by second level manager");
     }
     else if (expense <= 500)
     {
         Console.WriteLine("Request accepted by second level manager");
     }
     else
     {
         director.getDecision(isHardware);   //get
     }
 }