public Task <ApiResourcePoco> FindApiRecourceByNameAsync(string apiName)
 {
     return(Task.FromResult(ResourceData.GetApis(apiName)));
 }
        // -------API SCOPES-------------
        public Task <List <ApiScopePoco> > FindApiScopesAsync(string apiName)
        {
            var apiScopes = ResourceData.GetApis(apiName).ApiScopes;

            return(Task.FromResult(apiScopes));
        }
        // -------API-------------

        public Task <IEnumerable <ApiResourcePoco> > GetAllApiRecourcesAsync()
        {
            var ApiResources = ResourceData.GetApis();

            return(Task.FromResult(ApiResources));
        }