diff --git a/COP/PluginsApp/Plugins/ComponentsLibraryNet60.dll b/COP/PluginsApp/Plugins/ComponentsLibraryNet60.dll
new file mode 100644
index 0000000..9807306
Binary files /dev/null and b/COP/PluginsApp/Plugins/ComponentsLibraryNet60.dll differ
diff --git a/COP/PluginsApp/Plugins/ControlsLibraryNet60.dll b/COP/PluginsApp/Plugins/ControlsLibraryNet60.dll
new file mode 100644
index 0000000..3d14013
Binary files /dev/null and b/COP/PluginsApp/Plugins/ControlsLibraryNet60.dll differ
diff --git a/COP/PluginsApp/Plugins/DocumentFormat.OpenXml.dll b/COP/PluginsApp/Plugins/DocumentFormat.OpenXml.dll
new file mode 100644
index 0000000..846973a
Binary files /dev/null and b/COP/PluginsApp/Plugins/DocumentFormat.OpenXml.dll differ
diff --git a/COP/PluginsApp/Plugins/Humanizer.dll b/COP/PluginsApp/Plugins/Humanizer.dll
new file mode 100644
index 0000000..c9a7ef8
Binary files /dev/null and b/COP/PluginsApp/Plugins/Humanizer.dll differ
diff --git a/COP/PluginsApp/Plugins/Microsoft.EntityFrameworkCore.Abstractions.dll b/COP/PluginsApp/Plugins/Microsoft.EntityFrameworkCore.Abstractions.dll
new file mode 100644
index 0000000..96ea845
Binary files /dev/null and b/COP/PluginsApp/Plugins/Microsoft.EntityFrameworkCore.Abstractions.dll differ
diff --git a/COP/PluginsApp/Plugins/Microsoft.EntityFrameworkCore.Design.dll b/COP/PluginsApp/Plugins/Microsoft.EntityFrameworkCore.Design.dll
new file mode 100644
index 0000000..44b215b
Binary files /dev/null and b/COP/PluginsApp/Plugins/Microsoft.EntityFrameworkCore.Design.dll differ
diff --git a/COP/PluginsApp/Plugins/Microsoft.EntityFrameworkCore.Relational.dll b/COP/PluginsApp/Plugins/Microsoft.EntityFrameworkCore.Relational.dll
new file mode 100644
index 0000000..ca681c4
Binary files /dev/null and b/COP/PluginsApp/Plugins/Microsoft.EntityFrameworkCore.Relational.dll differ
diff --git a/COP/PluginsApp/Plugins/Microsoft.EntityFrameworkCore.dll b/COP/PluginsApp/Plugins/Microsoft.EntityFrameworkCore.dll
new file mode 100644
index 0000000..37ace74
Binary files /dev/null and b/COP/PluginsApp/Plugins/Microsoft.EntityFrameworkCore.dll differ
diff --git a/COP/PluginsApp/Plugins/Microsoft.Extensions.Caching.Abstractions.dll b/COP/PluginsApp/Plugins/Microsoft.Extensions.Caching.Abstractions.dll
new file mode 100644
index 0000000..be73869
Binary files /dev/null and b/COP/PluginsApp/Plugins/Microsoft.Extensions.Caching.Abstractions.dll differ
diff --git a/COP/PluginsApp/Plugins/Microsoft.Extensions.Caching.Memory.dll b/COP/PluginsApp/Plugins/Microsoft.Extensions.Caching.Memory.dll
new file mode 100644
index 0000000..561804a
Binary files /dev/null and b/COP/PluginsApp/Plugins/Microsoft.Extensions.Caching.Memory.dll differ
diff --git a/COP/PluginsApp/Plugins/Microsoft.Extensions.Configuration.Abstractions.dll b/COP/PluginsApp/Plugins/Microsoft.Extensions.Configuration.Abstractions.dll
new file mode 100644
index 0000000..335bb77
Binary files /dev/null and b/COP/PluginsApp/Plugins/Microsoft.Extensions.Configuration.Abstractions.dll differ
diff --git a/COP/PluginsApp/Plugins/Microsoft.Extensions.Configuration.dll b/COP/PluginsApp/Plugins/Microsoft.Extensions.Configuration.dll
new file mode 100644
index 0000000..67d4dff
Binary files /dev/null and b/COP/PluginsApp/Plugins/Microsoft.Extensions.Configuration.dll differ
diff --git a/COP/PluginsApp/Plugins/Microsoft.Extensions.DependencyInjection.Abstractions.dll b/COP/PluginsApp/Plugins/Microsoft.Extensions.DependencyInjection.Abstractions.dll
new file mode 100644
index 0000000..92608ae
Binary files /dev/null and b/COP/PluginsApp/Plugins/Microsoft.Extensions.DependencyInjection.Abstractions.dll differ
diff --git a/COP/PluginsApp/Plugins/Microsoft.Extensions.DependencyInjection.dll b/COP/PluginsApp/Plugins/Microsoft.Extensions.DependencyInjection.dll
new file mode 100644
index 0000000..2b34ca7
Binary files /dev/null and b/COP/PluginsApp/Plugins/Microsoft.Extensions.DependencyInjection.dll differ
diff --git a/COP/PluginsApp/Plugins/Microsoft.Extensions.DependencyModel.dll b/COP/PluginsApp/Plugins/Microsoft.Extensions.DependencyModel.dll
new file mode 100644
index 0000000..072af1f
Binary files /dev/null and b/COP/PluginsApp/Plugins/Microsoft.Extensions.DependencyModel.dll differ
diff --git a/COP/PluginsApp/Plugins/Microsoft.Extensions.Logging.Abstractions.dll b/COP/PluginsApp/Plugins/Microsoft.Extensions.Logging.Abstractions.dll
new file mode 100644
index 0000000..03edd8f
Binary files /dev/null and b/COP/PluginsApp/Plugins/Microsoft.Extensions.Logging.Abstractions.dll differ
diff --git a/COP/PluginsApp/Plugins/Microsoft.Extensions.Logging.dll b/COP/PluginsApp/Plugins/Microsoft.Extensions.Logging.dll
new file mode 100644
index 0000000..c53f5d2
Binary files /dev/null and b/COP/PluginsApp/Plugins/Microsoft.Extensions.Logging.dll differ
diff --git a/COP/PluginsApp/Plugins/Microsoft.Extensions.Options.dll b/COP/PluginsApp/Plugins/Microsoft.Extensions.Options.dll
new file mode 100644
index 0000000..3987d66
Binary files /dev/null and b/COP/PluginsApp/Plugins/Microsoft.Extensions.Options.dll differ
diff --git a/COP/PluginsApp/Plugins/Microsoft.Extensions.Primitives.dll b/COP/PluginsApp/Plugins/Microsoft.Extensions.Primitives.dll
new file mode 100644
index 0000000..bdad45f
Binary files /dev/null and b/COP/PluginsApp/Plugins/Microsoft.Extensions.Primitives.dll differ
diff --git a/COP/PluginsApp/Plugins/MigraDoc.DocumentObjectModel.dll b/COP/PluginsApp/Plugins/MigraDoc.DocumentObjectModel.dll
new file mode 100644
index 0000000..2bf457c
Binary files /dev/null and b/COP/PluginsApp/Plugins/MigraDoc.DocumentObjectModel.dll differ
diff --git a/COP/PluginsApp/Plugins/MigraDoc.Rendering.dll b/COP/PluginsApp/Plugins/MigraDoc.Rendering.dll
new file mode 100644
index 0000000..9c14fbe
Binary files /dev/null and b/COP/PluginsApp/Plugins/MigraDoc.Rendering.dll differ
diff --git a/COP/PluginsApp/Plugins/Mono.TextTemplating.dll b/COP/PluginsApp/Plugins/Mono.TextTemplating.dll
new file mode 100644
index 0000000..d5a4b3c
Binary files /dev/null and b/COP/PluginsApp/Plugins/Mono.TextTemplating.dll differ
diff --git a/COP/PluginsApp/Plugins/Npgsql.EntityFrameworkCore.PostgreSQL.dll b/COP/PluginsApp/Plugins/Npgsql.EntityFrameworkCore.PostgreSQL.dll
new file mode 100644
index 0000000..bd22f65
Binary files /dev/null and b/COP/PluginsApp/Plugins/Npgsql.EntityFrameworkCore.PostgreSQL.dll differ
diff --git a/COP/PluginsApp/Plugins/Npgsql.dll b/COP/PluginsApp/Plugins/Npgsql.dll
new file mode 100644
index 0000000..4a8471b
Binary files /dev/null and b/COP/PluginsApp/Plugins/Npgsql.dll differ
diff --git a/COP/PluginsApp/Plugins/PdfSharp.Charting.dll b/COP/PluginsApp/Plugins/PdfSharp.Charting.dll
new file mode 100644
index 0000000..384a0f0
Binary files /dev/null and b/COP/PluginsApp/Plugins/PdfSharp.Charting.dll differ
diff --git a/COP/PluginsApp/Plugins/PdfSharp.dll b/COP/PluginsApp/Plugins/PdfSharp.dll
new file mode 100644
index 0000000..aa564e1
Binary files /dev/null and b/COP/PluginsApp/Plugins/PdfSharp.dll differ
diff --git a/COP/PluginsApp/Plugins/PluginsConventionLibrary.dll b/COP/PluginsApp/Plugins/PluginsConventionLibrary.dll
new file mode 100644
index 0000000..ae31ac1
Binary files /dev/null and b/COP/PluginsApp/Plugins/PluginsConventionLibrary.dll differ
diff --git a/COP/PluginsApp/Plugins/PortalAccountsBusinessLogic.dll b/COP/PluginsApp/Plugins/PortalAccountsBusinessLogic.dll
new file mode 100644
index 0000000..8057a2f
Binary files /dev/null and b/COP/PluginsApp/Plugins/PortalAccountsBusinessLogic.dll differ
diff --git a/COP/PluginsApp/Plugins/PortalAccountsContracts.dll b/COP/PluginsApp/Plugins/PortalAccountsContracts.dll
new file mode 100644
index 0000000..bf4fa6b
Binary files /dev/null and b/COP/PluginsApp/Plugins/PortalAccountsContracts.dll differ
diff --git a/COP/PluginsApp/Plugins/PortalAccountsDataModels.dll b/COP/PluginsApp/Plugins/PortalAccountsDataModels.dll
new file mode 100644
index 0000000..1bd430e
Binary files /dev/null and b/COP/PluginsApp/Plugins/PortalAccountsDataModels.dll differ
diff --git a/COP/PluginsApp/Plugins/PortalAccountsDatabaseImplement.dll b/COP/PluginsApp/Plugins/PortalAccountsDatabaseImplement.dll
new file mode 100644
index 0000000..493af43
Binary files /dev/null and b/COP/PluginsApp/Plugins/PortalAccountsDatabaseImplement.dll differ
diff --git a/COP/PluginsApp/Plugins/PortalAccountsView.dll b/COP/PluginsApp/Plugins/PortalAccountsView.dll
new file mode 100644
index 0000000..5c5aaf8
Binary files /dev/null and b/COP/PluginsApp/Plugins/PortalAccountsView.dll differ
diff --git a/COP/PluginsApp/Plugins/RodionovLibrary.dll b/COP/PluginsApp/Plugins/RodionovLibrary.dll
new file mode 100644
index 0000000..82a52b3
Binary files /dev/null and b/COP/PluginsApp/Plugins/RodionovLibrary.dll differ
diff --git a/COP/PluginsApp/PluginsApp.csproj b/COP/PluginsApp/PluginsApp.csproj
index 8482b18..772544d 100644
--- a/COP/PluginsApp/PluginsApp.csproj
+++ b/COP/PluginsApp/PluginsApp.csproj
@@ -9,11 +9,11 @@
-
+
-
+
\ No newline at end of file
diff --git a/COP/PortalAccountsView/FormMain.cs b/COP/PortalAccountsView/FormMain.cs
index a98e724..71903ec 100644
--- a/COP/PortalAccountsView/FormMain.cs
+++ b/COP/PortalAccountsView/FormMain.cs
@@ -4,6 +4,7 @@ using PortalAccountsContracts.BindingModels;
using PortalAccountsContracts.BusinessLogicsContracts;
using PortalAccountsContracts.ViewModels;
using RodionovLibrary.NonVisualComponents.HelperModels;
+using System.Text;
namespace PortalAccountsView
{
@@ -176,6 +177,7 @@ namespace PortalAccountsView
private void ToolStripMenuItem_Click(object sender, EventArgs e)
{
+ Encoding.RegisterProvider(CodePagesEncodingProvider.Instance);
using var dialog = new SaveFileDialog
{
Filter = "PDF Files|*.pdf"
@@ -201,7 +203,7 @@ namespace PortalAccountsView
(2, 0, "", "RoleName"),
(3, 0, "", "OutputRating")
},
- Data = accounts
+ Data = accounts.OrderBy(x => x.Id).ToList()
});
MessageBox.Show("!");
}
diff --git a/COP/PortalAccountsView/PluginsConvention.cs b/COP/PortalAccountsView/PluginsConvention.cs
index 3e81346..7e8126f 100644
--- a/COP/PortalAccountsView/PluginsConvention.cs
+++ b/COP/PortalAccountsView/PluginsConvention.cs
@@ -122,12 +122,10 @@ namespace PortalAccountsView
Title = "Аккаунты без рейтинга",
Paragraphs = paragraphs.ToArray()
});
- MessageBox.Show("Готово!");
return true;
}
- catch (Exception ex)
+ catch (Exception)
{
- MessageBox.Show("Произошла ошибка: " + ex.Message, "Ошибка", MessageBoxButtons.OK, MessageBoxIcon.Error);
return false;
}
}
@@ -156,12 +154,10 @@ namespace PortalAccountsView
},
Data = accounts.OrderBy(x => x.Id).ToList()
});
- MessageBox.Show("Готово!");
return true;
}
- catch (Exception ex)
+ catch (Exception)
{
- MessageBox.Show("Произошла ошибка: " + ex.Message, "Ошибка", MessageBoxButtons.OK, MessageBoxIcon.Error);
return false;
}
}
@@ -196,12 +192,10 @@ namespace PortalAccountsView
LegendLocation = Location.Bottom,
Data = data
});
- MessageBox.Show("Готово!");
return true;
}
- catch (Exception ex)
+ catch (Exception)
{
- MessageBox.Show("Произошла ошибка: " + ex.Message, "Ошибка", MessageBoxButtons.OK, MessageBoxIcon.Error);
return false;
}
}
diff --git a/COP/PortalAccountsView/PortalAccountsView.csproj b/COP/PortalAccountsView/PortalAccountsView.csproj
index bdaaf3a..e7d5a42 100644
--- a/COP/PortalAccountsView/PortalAccountsView.csproj
+++ b/COP/PortalAccountsView/PortalAccountsView.csproj
@@ -17,6 +17,7 @@
+