public async Task <bool> CheckPassword(AppUserLoginDto appUserLoginDto) { var appUser = await _appUserDal.GetByFilterAsync (I => I.UserName == appUserLoginDto.UserName); return(appUser.Password == appUserLoginDto.Password ? true : false); }