public ActionResult DeleteResourceStructureAttribute(long id)
        {
            using (var rsaManager = new ResourceStructureAttributeManager())
                using (var permissionManager = new EntityPermissionManager())
                    using (var entityTypeManager = new EntityManager())
                    {
                        ResourceStructureAttribute rsa = rsaManager.GetResourceStructureAttributesById(id);
                        if (rsa != null)
                        {
                            bool deleted = rsaManager.DeleteResourceStructureAttribute(rsa);

                            if (deleted)
                            {
                                Type entityType = entityTypeManager.FindByName("Notification").EntityType;
                                //delete security
                                permissionManager.Delete(entityType, id);
                            }
                        }
                        else
                        {
                            //rsa not exsits, need implemention here
                        }
                    }
            return(View("ResourceStructureAttributeManager"));
        }