public void LikeDocument(UserInterest interest, FeedItem document) { UserInterestRepository uiRep = new UserInterestRepository(); interest.AddDocument(document); uiRep.Update(interest); }
public void UpdateUser(UserInterest interest) { UserInterestRepository uiRep = new UserInterestRepository(); uiRep.Update(interest); }