/// <summary> /// /// </summary> /// <param name="args"></param> static void Main(string[] args) { ConsumerApp app = new ConsumerApp(); try { app.RunK12StudentConsumer(); } catch (Exception e) { if (log.IsErrorEnabled) log.Error("Error running the K12Student Consumer.\n" + ExceptionUtils.InferErrorResponseMessage(e), e); } Console.WriteLine("Press any key to continue ..."); Console.ReadKey(); }
static void Main(string[] args) { ConsumerApp app = new ConsumerApp(); try { app.RunStudentConsumer(); } catch (Exception e) { if (log.IsErrorEnabled) { log.Error("Error running the student Consumer.\n" + ExceptionUtils.InferErrorResponseMessage(e), e); } } Console.WriteLine("Press any key to continue ..."); Console.ReadKey(); }