/// <summary>
        /// Stores the identity resource.
        /// </summary>
        /// <returns>The identity resource.</returns>
        /// <param name="item">Item.</param>
        public async Task StoreIdentityResource(IdentityResource item)
        {
            try
            {
                using (var context = new DynamoDBContext(client, ddbConfig))
                {
                    await context.SaveAsync(item.GetIdentityResourceDynamoDB());
                }
            }
            catch (Exception ex)
            {
                logger.LogError(default(EventId), ex, "ResourceRepository.StoreIdentityResource failed with IdentityResource {item}", item);
                throw;
            }

            await Task.CompletedTask;
        }