Beispiel #1
0
        public async Task <bool> UserExists(string userName)
        {
            //ServiceResponse<bool> serviceResponse = new ServiceResponse<bool>();

            if (await _timeRepository.GetSingle(u => u.Questionname.ToLower().Equals(userName.ToLower())) != null)
            {
                return(true);
            }



            return(false);
        }