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")); }