/// <summary> /// Get notification type by code /// </summary> /// <param name="notificationTypeCode"></param> /// <returns></returns> public NotificationTypeDomain GetNotificationTypeByCode(string notificationTypeCode) { ValidationHelper.NotNullOrWhitespace(notificationTypeCode, NotificationMessages.NotificationTypeCodeEmpty); return(_repository.GetByCode(notificationTypeCode)); }