Example #1
0
 public async Task<ProfileRef> ProfileToRef(IContext context, ProfileHandle profile)
 {
     return new ProfileRef()
     {
         Uri = await profile.GetUri(profileManager, context),
         FriendlyUri = await profile.GetFriendlyUri(profileManager, context),
         Id = profile.Metadata.Id,
     };
 }