private async Task <LoginViewModel> RegisterUserLogin() { var userLogin = await LoginViewModel.Create(); userLogin.UserName = UserName; userLogin.Salt = PasswordUtils.CreateSalt(); userLogin.PasswordHash = PasswordUtils.ComputePassword(Password, userLogin.Salt); await userLogin.Insert(); return(userLogin); }