private void CheckNotificationName(string notificationName) { if (_notificationDefinitionManager.GetOrNull(notificationName) == null) { throw new AbpException(string.Format("There is no defined notificationName with {0}", notificationName)); } }