public string Put(SendData input) { if (!string.IsNullOrEmpty(input.TypeName)) { int i = 0; Console.WriteLine(input.Data); lock (libraryContext) i = libraryContext.GetStatistic(int.Parse(input.Data)); return(i.ToString()); } Console.WriteLine(input.Data.GetDeterministicHashCode()); lock (libraryContext) input.TypeName = libraryContext.GetFile(input); if (string.IsNullOrEmpty(input.TypeName)) { try { input.TypeName = resNet.ProcessImage(input.Data); lock (libraryContext) libraryContext.AddResNetResult(input); } catch { input.TypeName = ""; } } return(input.TypeName); }