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