public void GetAllFilesTest()
 {
     var ops = new PolicyDocumentsOperations();
     var filePath = @"C:\Users\Apprentice\Desktop\GitHub\KileyDowling\SGCorpHRV2\SGCorpHR\SGCorpHR.TEST\PolicyDocuments";
         string categoryName = "DressCode";
     var response = ops.GetAllPolicyDocuments(filePath, categoryName);
     Assert.IsTrue(response.Success);
 }
        public ActionResult ViewPolicyDocuments(string nameOfCategory)
        {
            var filePathToMap = string.Format(@"~/PolicyDocuments/{0}", nameOfCategory);
            var filePath = Server.MapPath(@filePathToMap);
            var ops = new PolicyDocumentsOperations();
            var model = new CategoryVM()
            {
                Response = ops.GetAllPolicyDocuments(filePath, nameOfCategory),
                Category = new Category()
                {
                    CategoryName = nameOfCategory
                }

            };

            return View(model);
        }