public async Task <UserViewModel> GetUserGroups(string user)
        {
            CoreEngine core    = new CoreEngine();
            var        userObj = await core.GetUserGroupsAsync(_repo, TestingSettings.DEFAULT_GAME, user);

            UserViewModel userGroups = new UserViewModel
            {
                UserName   = userObj.UserName,
                Game       = userObj.Game,
                UserGroups = from ug in userObj.UserGroups select new GroupNameViewModel {
                    Id = ug.Id, Name = ug.Name
                },
                OtherGroups = from og in userObj.OtherGroups select new GroupNameViewModel {
                    Id = og.Id, Name = og.Name
                },
            };

            return(userGroups);
        }