Exemplo n.º 1
0
        public virtual void UpdateKeyRule(long ruleId)
        {
            KeyIncomeRule rule = currencyService.GetKeyRuleById(ruleId);

            rule.Income = ctx.PostInt("Income");
            rule.update();
            log(SiteLogString.UpdateKeyCurrencyRule(), typeof(KeyIncomeRule));
            echoToParentPart(lang("saved"));
        }