public void Execute(object parameter) { var user = parameter as User; if (user != null) { RegisterVM.Register(user); } }
public void Execute(object parameter) { User user = (User)parameter; viewModel.Register(user); }
public void Execute(object parameter) { Users Users = (Users)parameter; viewModel.Register(Users); }
public void Execute(object parameter) { var userToCreate = parameter as UserForRegisterDto; _viewModel.Register(userToCreate); }
public void Execute(object parameter) { RegisterViewModel.Register(); }
private void btnRegister_Clicked(object sender, EventArgs e) { viewModel.Register(); }