public async Task <IActionResult> GetKey(string apiKey)
        {
            if (string.IsNullOrWhiteSpace(apiKey))
            {
                return(BadRequest());
            }

            var key = await _apiKeyService.GetApiKeyAsync(apiKey);

            return(Ok(_mapper.Map <ApiKeyDto>(key)));
        }
        public async Task <IActionResult> DeleteKey(string key)
        {
            if (string.IsNullOrWhiteSpace(key))
            {
                return(BadRequest());
            }

            var apiKey = await _apiKeyService.GetApiKeyAsync(key);

            if (apiKey == null)
            {
                return(NotFound());
            }

            await _walletService.DeleteWallet(apiKey);

            return(Ok());
        }