static void Main(string[] args) { TalechAPIMethods objMethod = new TalechAPIMethods(); objMethod.RunAsync().GetAwaiter().GetResult(); Console.ReadLine(); }
public void ExecuteTask() { TalechAPIMethods objMethod = new TalechAPIMethods(); objMethod.RunAsync().GetAwaiter().GetResult(); LogHelper.Log("Execute Task completed. " + DateTime.Now); //LogHelper.Log("Execute Task method called"); }