Пример #1
0
        public static string Static_GetDesc(string constr, short systemMessageId)
        {
            string result = "";

            try
            {
                SystemMessages systemMessages = new SystemMessages(constr);
                systemMessages = systemMessages.Get(systemMessageId);
                if (systemMessages.SystemMessageDesc != null)
                {
                    result = systemMessages.SystemMessageDesc.Trim();
                }
            }
            catch (Exception ex)
            {
                throw ex;
            }
            return(result);
        }
Пример #2
0
 public static string Static_GetDesc(short systemMessageId)
 {
     return(SystemMessages.Static_GetDesc("", systemMessageId));
 }