/// <summary>
 /// Consume "user deleted" event.
 /// </summary>
 /// <param name="context">Event context.</param>
 public async Task Consume(ConsumeContext <IUserDeleted> context)
 {
     try
     {
         var profileId = context.Message.ProfileId;
         var success   = await _sensorService.DeleteAllSensorsByProfileIdAsync(profileId);
     }
     catch (Exception ex)
     {
         _logger.LogError($"{SensorsConstants.EVENT_BUS_CONSUMER_ERROR}: {ex.Message}");
     }
 }