Пример #1
0
 private static String[] getResultsByPublicationIDTest(String[] tk)
 {
     try
     {
         List <Result> resultList = sm.getResultsByPublicationID(int.Parse(tk[1]));
         Console.WriteLine();
         return(resultList.Select(x => x.xmlResult + "\t\t\t" + x.publicationID + "\t\t\t" + x.Publication).ToArray());
     }
     catch
     {
         return(str2arr("Missing/Invalid argument.Usage: getResultsByPublicationIDTest <publicationID>"));
     }
 }