Пример #1
0
 public async Task <bool> SetGreeting(string text)
 {
     try
     {
         return(await profileClient.SetGreeting(text));
     }
     catch (Exception e)
     {
         Logger.LogError(e, e.Message);
         return(false);
     }
 }
        public void SetGreetingTest()
        {
            bool result = client.SetGreeting("Custom Welocome String!").Result;

            Trace.WriteLine(("Success: {0}".Format(result)));
        }