/// <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); }
/// <summary> /// Saves a user salt, insert or update. /// </summary> /// <param name="salt"></param> protected override void SaveUserSalt(UserSalt salt) { TableProxyUserSalt.InsertOrUpdate(salt); }