public AddAccountViewModel(AddAccountModel model, IPleaseWaitService pleaseWaitService, IMessageService messageService) { AddAccount = model; _messageService = messageService; _pleaseWaitService = pleaseWaitService; CreateAccountCommand = new Command(CreateAccount); }
private void AddAccount() { AddAccountModel model = new AddAccountModel(); _uiVisualizerService.ShowDialog(new AddAccountViewModel(model, _pleaseWaitService, _messageService)); }