public EditAccountViewModel(EditAccountModel model, IPleaseWaitService pleaseWaitService, IMessageService messageService) { EditAccount = model; _messageService = messageService; _pleaseWaitService = pleaseWaitService; SaveAccountCommand = new Command(SaveAccount); DeleteAccountCommand = new Command(DeleteAccount); }
private void ShowEditAccount() { EditAccountModel model = new EditAccountModel(); _uiVisualizerService.ShowDialog(new EditAccountViewModel(model, _pleaseWaitService, _messageService)); }