public static void Commented(Core core, ItemKey itemKey) { if (core == null) { throw new NullCoreException(); } if (itemKey.Id < 1) { throw new InvalidItemException(); } core.AdjustCommentCount(itemKey, 1); }