Beispiel #1
0
 public async Task DeleteApprenticeshipFavourites(string employerAccountId, string apprenticeshipId)
 {
     try
     {
         await _retryPolicy.ExecuteAsync(context => _favouritesApi.DeleteAsync(employerAccountId, apprenticeshipId), new Context(nameof(DeleteApprenticeshipFavourites)));
     }
     catch (Exception ex)
     {
         _logger.LogError(ex, "Unable to Delete Apprenticeship Favourites to Api for Account: {employerAccountId} and apprenticeshipId:", employerAccountId, apprenticeshipId);
         throw;
     }
 }