예제 #1
0
        /// <summary>
        /// Gets a user's salt metadata.
        /// </summary>
        /// <param name="userId"></param>
        /// <returns></returns>
        protected override UserSalt GetUserSalt(Guid userId)
        {
            var item = TableProxyUserSalt.Get(userId);

            return(item == null ? null : item.Entity);
        }
예제 #2
0
 /// <summary>
 /// Saves a user salt, insert or update.
 /// </summary>
 /// <param name="salt"></param>
 protected override void SaveUserSalt(UserSalt salt)
 {
     TableProxyUserSalt.InsertOrUpdate(salt);
 }