public Task <TResource> SelectByIdAsync <TResource>(object primaryKey)
            where TResource : class, IRestResource
        {
            IReadOnlyJsonRuntimeConfiguration <TResource> config = GetConfig <TResource>();

            return(Task.FromResult(config.GetEntryByPrimaryKey(primaryKey.ToString())));
        }
        public Task <IEnumerable <TResource> > SelectAllAsync <TResource>()
            where TResource : class, IRestResource
        {
            IReadOnlyJsonRuntimeConfiguration <TResource> config = GetConfig <TResource>();

            return(Task.FromResult(config.GetAllEntries()));
        }