Ejemplo n.º 1
0
 public async Task UpdateApiKeys(string content)
 {
     try
     {
         await _blobProvider.SetBlobValue(_config.AuthorizedApiKeysBlobObjectName, content);
     }
     catch (ArgumentException e)
     {
         _loggerAdapter.Error("Unable to update authorized API keys: " + e.Message);
         throw new ResultException(ResultKey.UnexpectedError);
     }
 }
Ejemplo n.º 2
0
 public async Task SaveStringsResources(string value) =>
 await _blobProvider.SetBlobValue(_config.StringsResourcesBlobObjectName, value);