public static T GetProfilePropertyForCurrentUser <T>(this DragonContext ctx, string key, object value) { return(DragonContext.ProfileStore.GetProperty <T>(ctx.CurrentUserID, key)); }
public static bool IsAuthenticated(this DragonContext ctx) { return(!ctx.CurrentUserID.Equals(Guid.Empty)); }
public static void SetProfilePropertyForCurrentUser(this DragonContext ctx, string key, object value) { DragonContext.ProfileStore.SetProperty(ctx.CurrentUserID, key, value); }