private void Save(SaveEvent saveEvent) { WebResponse <MdmId> response = this.mappingService.CreateMapping( this.entityName, this.entityId, this.Mapping.Model()); if (response.IsValid) { this.eventAggregator.Publish(new StatusEvent(Message.MappingAdded)); this.eventAggregator.Publish(new MappingClonedEvent(this.originalEntityId, this.originalMappingId)); this.Mapping = new MappingViewModel(this.eventAggregator); this.navigationService.NavigateMainBackWithStatus(new StatusEvent(Message.MappingAdded)); return; } this.eventAggregator.Publish( new ErrorEvent(response.Fault != null ? response.Fault.Message : "Unkown Error")); }