コード例 #1
0
 private async Task DeleteInvitationsAsync(UserId userId)
 {
     try
     {
         await _invitationService.DeleteInvitationsAsync(userId);
     }
     catch (Exception exception)
     {
         _logger.LogCritical(exception, "The user's clan invitations have not been deleted correctly.");
     }
 }
コード例 #2
0
 private async Task DeleteCandidaturesAsync(ClanId clanId)
 {
     try
     {
         await _invitationService.DeleteInvitationsAsync(clanId);
     }
     catch (Exception exception)
     {
         _logger.LogCritical(exception, "The clan's user invitations have not been deleted correctly.");
     }
 }