public void PrintReprocess()
 {
     try
     {
         DocumentManagerService.CreateDocument(GetStringValue(Next.Enums.Enums.Views.Reporter),
                                               ReporterViewModel.Create(unitOfWork.GetDocumentsByDocNumber(SelectedEntity.DocNum),
                                                                        GetStringValue(Next.Enums.Enums.Report.Reproceso), "Reporte de Reentregas", unitOfWork), null, this).Show();
     }
     catch (Exception ex)
     {
         MessageBoxService.ShowMessage(GetStringValue(Next.Enums.Enums.MessageError.ReportError), ex.Message,
                                       MessageButton.OK, MessageIcon.Error);
     }
 }
 public void PrintTask()
 {
     try
     {
         var UnitOfWork = UnitOfWorkFactory.CreateUnitOfWork();
         DocumentManagerService.CreateDocument(GetStringValue(Next.Enums.Enums.Views.Reporter),
                                               ReporterViewModel.Create(ReportInfoFactory.GetDeliveryReport(Entity, UnitOfWork),
                                                                        "Entrega:  " + Entity.Id), null, this).Show();
     }
     catch (Exception ex)
     {
         MessageBoxService.ShowMessage(GetStringValue(Next.Enums.Enums.MessageError.ReportError), ex.Message,
                                       MessageButton.OK, MessageIcon.Error);
     }
 }
 public void PrintProfileUser()
 {
     try
     {
         Entity.ImageOb = Entity.Image == null ? null : Convert.FromBase64String(Entity.Image);
         DocumentManagerService.CreateDocument(GetStringValue(Next.Enums.Enums.Views.Reporter),
                                               ReporterViewModel.Create(Entity, GetStringValue(Next.Enums.Enums.Report.Usuarios),
                                                                        "Datos completos del usuario " + Entity.Id + " " + Entity.Name, UnitOfWork), null, this).Show();
     }
     catch (Exception ex)
     {
         MessageBoxService.ShowMessage(GetStringValue(Next.Enums.Enums.MessageError.ReportError) + ex.Message, ex.Message,
                                       MessageButton.OK, MessageIcon.Error);
     }
 }