Пример #1
0
        public async Task <bool> CheckLogin(CheckLoginRequestModel model)
        {
            var login = await _context.PlayerIdentity.FirstOrDefaultAsync(t => t.Login == model.Login);

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

            return(true);
        }
 public async Task <bool> CheckLoginExists(CheckLoginRequestModel model)
 {
     return(await _userService.CheckLogin(model));
 }