public LoginViewModel(AuthorizationViewModel frame) { _frame = frame; LoginCommand = new RelayCommand(LoginAction); RegisterCommand = new RelayCommand(RegisterAction); }
public RegisterViewModel(AuthorizationViewModel frame) { _frame = frame; BackCommand = new RelayCommand(BackAction); RegisterCommand = new RelayCommand(RegisterAction); }