I am attempting to run async methods from a synchronous method. But I can\'t await the async method since I am in a synchronous method. I must not be und
Task.Result (or Task.Wait() when there's no result) is similar to await, but is a synchronous operation. You should change GetData1() to use this. Here's the portion to change: