public ExecutionResult Execute() { var groups = _groupService.GetAll(); foreach (var group in groups) { var creator = _groupMemberService.GetGroupMemberByMemberIdAndGroupId(group.CreatorId, group.Id); if (creator == null) { continue; } if (creator.IsAdmin) { continue; } creator.IsAdmin = true; _groupMemberService.Update(creator); } return(ExecutionResult.Success); }