コード例 #1
0
ファイル: CurrencyController.cs プロジェクト: zuhuizou/wojilu
        public virtual void Delete(long currencyId)
        {
            currencyService.GetCurrencyById(currencyId).delete();
            IList incomeRules = currencyService.GetIncomeRules(currencyId);

            foreach (IncomeRule rule in incomeRules)
            {
                rule.delete();
            }
            log(SiteLogString.DeleteCurrency(), typeof(Currency));
            echoRedirectPart(lang("deleted"));
        }