Пример #1
0
        /// <summary>
        /// Method to get reason type name
        /// </summary>
        /// <param name="reasonType">Reason name</param>
        /// <returns>Reason description</returns>
        public string GetReasonType(ReasonType reasonType)
        {
            var type = (char)reasonType;

            return(type != '\0' ? _reasonService.GetReasonType(type) : string.Empty);
        }