Beispiel #1
0
        public async Task <bool> CheckNickName(CheckNickNameRequestModel model)
        {
            var nickName = await _context.PlayerIdentity.FirstOrDefaultAsync(t => t.Nick == model.NickName);

            if (nickName != null)
            {
                return(false);
            }

            return(true);
        }
 public async Task <bool> CheckNickNameExists(CheckNickNameRequestModel model)
 {
     return(await _userService.CheckNickName(model));
 }