Exemplo n.º 1
0
        public static string GetDictionaryDataSed(string sessionId, string methodName, DictionaryDataSed dictionary)
        {
            string result = String.Empty;
            result += "{";
            result += String.Format("\"sessionid\":\"{0}\",\"method\":\"{1}\",\"params\":[{{\"dictionary_id\":\"{2}\"}}]," +
                                    "\"message_id\":\"BARS-MESS-15003\"", sessionId, methodName, dictionary.DictionaryId);

            result += "}";
            return result;
        }
Exemplo n.º 2
0
 private DictionaryDataSed GetDictionaryDataSedItem()
 {
     var dictionaryDataSed = new DictionaryDataSed
     {
         DictionaryId = paramsGridView.Rows[0].Cells[1].Value.ToString()
     };
     return dictionaryDataSed;
 }