private void InsertUserGroup(User user, string group) { UserGroup usergroup = new UserGroup { UserId = user.Id, Group = group }; Groups.Add(usergroup); }
private void UpdateUserGroup(UserGroup userGroup, string group) { userGroup.Group = group; }