public async Task AddCountDownRule(CountDownRule cdr) { if (CountDownRules.Any(c => c.Id == cdr.Id)) { throw new Exception("countdown rule with specified id already exists"); } cdr = await this.AddCountDownRule(COUNTDOWN_NAMESPACE, cdr); CountDownRules.Add(cdr); }