public async Task <string> GetMailBody()
        {
            //Uri collectionUri = new Uri(ConfigurationManager.AppSettings.Get("collectionUri"));
            //string projectName = ConfigurationManager.AppSettings.Get("projectName");
            //string folderHierarchy = ConfigurationManager.AppSettings.Get("queryFolderHierarchy");
            //var folders = ExtractFolderNames(folderHierarchy, ',');

            var    collectionUri = new Uri("https://dev.azure.com/KantolaTraining/");
            var    projectName   = "Kantola LMS";
            var    folders       = ExtractFolderNames("Shared Queries,Daily Status Latest", ',');
            string body          = null;

            try
            {
                var statusRecords = await tfsService.GetDataFromTFS(collectionUri, projectName, folders);

                // emailSender.SendEmail(statusRecords);
                body = EmailSender.EmailSender.GetEmailBody(statusRecords);
            }
            catch (Exception ex)
            {
                Console.WriteLine("Exception :" + ex.Message);
            }

            return(body);
        }
        public async Task SendStatus()
        {
            Uri    collectionUri   = new Uri(ConfigurationManager.AppSettings.Get("collectionUri"));
            string projectName     = ConfigurationManager.AppSettings.Get("projectName");
            string folderHierarchy = ConfigurationManager.AppSettings.Get("queryFolderHierarchy");
            var    folders         = ExtractFolderNames(folderHierarchy, ',');

            try
            {
                var statusRecords = await tfsService.GetDataFromTFS(collectionUri, projectName, folders);

                //var statusRecords = new List<StatusRecord>();
                emailSender.SendEmail(statusRecords);
            }
            catch (Exception ex)
            {
                Console.WriteLine("Exception :" + ex.Message);
            }

            Console.ReadKey();
        }