Beispiel #1
0
        public async Task <bool> CheckPassword(AppUserLoginDto appUserLoginDto)
        {
            var appUser = await _appUserDal.GetByFilterAsync
                              (I => I.UserName == appUserLoginDto.UserName);

            return(appUser.Password == appUserLoginDto.Password ? true : false);
        }