public async Task <User> Put(SignUpUser userModel) { var userEntity = Mapper.Map <User>(userModel); userEntity.SaltAndHash = _encryptionService.CreatePasswordSaltHash(userModel.Password); return(await Put(userEntity)); }
public async Task <User> Put(SignUpUser userModel) { var userEntity = Mapper.Map <User>(userModel); userEntity.SaltAndHash = _encryptionService.CreatePasswordSaltHash(userModel.Password); return(await Put(userEntity)); }