Esempio n. 1
0
 public static void Go(Customer customer)
 {
     customer.TaxEuroForm = null;
     customer.ActionType  = ActionType.TaxCalculation;
     customer.TaxForm     = new TaxForm(customer);
     TaxCalculation.TaxCalculationProcess(Bot, customer);
 }
Esempio n. 2
0
        public static void Go(Customer customer)
        {
            ActiveCustomersCollection.TryGetValue(customer.ChatId, out customer);
            if (customer == null)
            {
                return;
            }
            switch (customer.ActionType)
            {
            case ActionType.TaxCalculation:
                TaxCalculation.TaxCalculationProcess(Bot, customer);
                break;

            case ActionType.TaxEuroCalculation:
                TaxEuroCalculation.TaxCalculationProcess(Bot, customer);
                break;

            default:
                break;
            }
        }