Exemple #1
0
 /// <summary>
 /// Updates reflection message id.
 /// </summary>
 /// <param name="reflectionDataEntity">reflectionDataEntity.</param>
 /// <returns>Null.</returns>
 public async Task UpdateReflectionMessageIdAsync(ReflectionDataEntity reflectionDataEntity)
 {
     _telemetry.TrackEvent("SaveReflectionMessageIdAsync");
     try
     {
         ReflectionDataRepository reflectionDataRepository = new ReflectionDataRepository(_configuration, _telemetry);
         await reflectionDataRepository.CreateOrUpdateAsync(reflectionDataEntity);
     }
     catch (Exception ex)
     {
         _telemetry.TrackException(ex);
     }
 }