private void SetGamingGroupOnCurrentUser(ApplicationUser currentUser, GamingGroup newGamingGroup) { var user = dataContext.FindById<ApplicationUser>(currentUser.Id); user.CurrentGamingGroupId = newGamingGroup.Id; dataContext.Save(user, currentUser); currentUser.CurrentGamingGroupId = user.CurrentGamingGroupId; }