diff --git a/zero.Core/Entities/Applications/Application.cs b/zero.Core/Entities/Applications/Application.cs
index 87bd341a..cf64d74d 100644
--- a/zero.Core/Entities/Applications/Application.cs
+++ b/zero.Core/Entities/Applications/Application.cs
@@ -19,10 +19,10 @@ namespace zero.Core.Entities
public string Email { get; set; }
///
- public MediaRef ImageId { get; set; }
+ public string ImageId { get; set; }
///
- public MediaRef IconId { get; set; }
+ public string IconId { get; set; }
///
public Uri[] Domains { get; set; } = new Uri[] { };
@@ -53,12 +53,12 @@ namespace zero.Core.Entities
///
/// Image of the application
///
- MediaRef ImageId { get; set; }
+ string ImageId { get; set; }
///
/// Simple image of the application (can be used as favicon)
///
- MediaRef IconId { get; set; }
+ string IconId { get; set; }
///
/// All assigned domains for this application
diff --git a/zero.Core/Entities/User/BackofficeUser.cs b/zero.Core/Entities/User/BackofficeUser.cs
index 74f426dc..29d6d7d1 100644
--- a/zero.Core/Entities/User/BackofficeUser.cs
+++ b/zero.Core/Entities/User/BackofficeUser.cs
@@ -32,7 +32,7 @@ namespace zero.Core.Entities
public string SecurityStamp { get; set; }
///
- public MediaRef AvatarId { get; set; }
+ public string AvatarId { get; set; }
///
public string LanguageId { get; set; }
@@ -99,7 +99,7 @@ namespace zero.Core.Entities
///
/// Avatar image
///
- MediaRef AvatarId { get; set; }
+ string AvatarId { get; set; }
///
/// Backoffice display language