public ActionResult GetFileLists(string menuItemPath, string contollerName)
        {
            //string menuItem = new DirectoryInfo(menuItemPath).Name;

            bool hasDeleteRights = false;

            //check user permissions for delete
            using (var featurePermissionManager = new FeaturePermissionManager())
                using (var featureManager = new FeatureManager())
                    using (UserManager userManager = new UserManager())
                    {
                        var userTask = userManager.FindByNameAsync(GetUsernameOrDefault());
                        userTask.Wait();
                        var            user     = userTask.Result;
                        List <Feature> features = featureManager.FeatureRepository.Get().ToList();
                        Feature        feature  = features.FirstOrDefault(f => f.Name.Equals(contollerName + "Admin"));
                        if (feature != null)
                        {
                            if (featurePermissionManager.HasAccess(user.Id, feature.Id))
                            {
                                hasDeleteRights = true;
                            }
                        }

                        var fileModelList = FileModel.GetFileModelList(menuItemPath, hasDeleteRights);
                        fileModelList.ForEach(a => a.controllerName = contollerName);


                        return(PartialView("~/Areas/FMT/Views/Shared/_fileList.cshtml", fileModelList));
                    }
        }