public void Insert(Guid ApplicationId, Guid UserId, string UserName, string LoweredUserName, string MobileAlias, bool IsAnonymous, DateTime LastActivityDate) { AspnetUser item = new AspnetUser(); item.ApplicationId = ApplicationId; item.UserId = UserId; item.UserName = UserName; item.LoweredUserName = LoweredUserName; item.MobileAlias = MobileAlias; item.IsAnonymous = IsAnonymous; item.LastActivityDate = LastActivityDate; item.Save(UserName); }
public bool Destroy(object UserId) { return(AspnetUser.Destroy(UserId) == 1); }
public bool Delete(object UserId) { return(AspnetUser.Delete(UserId) == 1); }