public void RefundAction() { try { var refundAction = RefundActionCollectionViewModel.Create(); DocumentManagerService.CreateDocument(GetStringValue(Next.Enums.Enums.Views.RefundAction), refundAction, null, this).Show(); } catch (Exception ex) { MessageBoxService.ShowMessage(ex.Message, "Error", MessageButton.OK, MessageIcon.Error); } }
public void RefundAction() { try { DocumentManagerService.CreateDocument(GetStringValue(Next.Enums.Enums.Views.RefundAction), RefundActionCollectionViewModel.Create(), null, this).Show(); } catch (Exception ex) { MessageBoxService.ShowMessage(GetStringValue(Next.Enums.Enums.MessageError.WindowError) + ex.Message, ex.Message, MessageButton.OK, MessageIcon.Error); } }