private static T GetPropertyFromAggregateReference <T>(IEntityWithAggregateReference entity, string propertyName)
 {
     return(JwtHelper.GetDecodedPropertyFromJwtString <T>(entity.AggregateReference, propertyName));
 }