//methods private void InitializeCommands() { GoBackCommand = new RelayCommand(() => { _navigationService.GoBack(); }); CreateCommunication = new RelayCommand(() => { Communication.DestinationNumber = DestinationLine.Number; Communication.Line = Line; _simulatorService.CreateCommunication(Communication, SMSIsChecked, Duration); }); }