public void RemoveInterest(string grpId) { PLMPackEntities db = new PLMPackEntities(); AspNetUser user = AspNetUser.GetByUserName(db, UserName); Group grp = Group.GetById(db, grpId); user.RemoveGroupOfInterest(db, grp); }
public void RemoveInterest(string grpId) { PLMPackEntities db = new PLMPackEntities(); AspNetUser user = AspNetUser.GetByUserName(db, UserName); Group grp = Group.GetById(db, grpId); user.RemoveGroupOfInterest(db, grp); }