// API
        // API
        // API

        public async Task <Authorization> GetItemAsync(string resourceName)
        {
            Authorization data = await DataProvider.GetAsync(resourceName);

            if (data != null)
            {
                data.CanDelete = true;
                return(data);
            }
            AuthorizationResourceDataProvider authResDP = new AuthorizationResourceDataProvider();

            using (RoleDefinitionDataProvider roleDP = new RoleDefinitionDataProvider(SiteIdentity)) {
                return(GetFromAuthorizationResource(roleDP, authResDP.GetItem(resourceName)));
            }
        }