/// <summary> /// Defines the entry point of the application. /// </summary> private void Main() { IQueryFor<EmptyParameter, IEnumerable<ServiceDto>> serviceQuery = new ServiceQuery(); services = serviceQuery.ExecuteQueryWith(new EmptyParameter()); services.ToList().ForEach(service => ServiceMonitor.SaveResults(ServiceMonitor.InvokeService(service))); }