public void Update(UserTokenRelationship model) { var entry = this._dbContext.Entry <UserTokenRelationship>(model); entry.Property("RefreshToken").IsModified = true; entry.Property("AccessToken").IsModified = true; this._dbContext.SaveChanges(); }
public void Add(UserTokenRelationship model) { this._dbContext.UserTokenRelationship.Add(model); this._dbContext.SaveChanges(); }