Browse Source

first commit

midvl 2 năm trước cách đây
commit
0449f84824
100 tập tin đã thay đổi với 3469 bổ sung0 xóa
  1. BIN
      Agency/.vs/Agency/DesignTimeBuild/.dtbcache.v2
  2. 16 0
      Agency/.vs/Agency/project-colors.json
  3. BIN
      Agency/.vs/Agency/v17/.futdcache.v1
  4. BIN
      Agency/.vs/Agency/v17/.suo
  5. 25 0
      Agency/Agency.sln
  6. 21 0
      Agency/Agency/Addrese.cs
  7. 38 0
      Agency/Agency/Agency.csproj
  8. 52 0
      Agency/Agency/Agency.csproj.user
  9. 9 0
      Agency/Agency/App.xaml
  10. 17 0
      Agency/Agency/App.xaml.cs
  11. 10 0
      Agency/Agency/AssemblyInfo.cs
  12. 21 0
      Agency/Agency/ListPerson.cs
  13. 17 0
      Agency/Agency/Passport.cs
  14. 25 0
      Agency/Agency/Person.cs
  15. 20 0
      Agency/Agency/PersonSave.cs
  16. 81 0
      Agency/Agency/Properties/Resources.Designer.cs
  17. 126 0
      Agency/Agency/Properties/Resources.resx
  18. 31 0
      Agency/Agency/TheProperty.cs
  19. 18 0
      Agency/Agency/Treaty.cs
  20. 40 0
      Agency/Agency/Windows/BuyProperty.xaml
  21. 101 0
      Agency/Agency/Windows/BuyProperty.xaml.cs
  22. 52 0
      Agency/Agency/Windows/CreateAc.xaml
  23. 97 0
      Agency/Agency/Windows/CreateAc.xaml.cs
  24. 28 0
      Agency/Agency/Windows/HomeWindow.xaml
  25. 64 0
      Agency/Agency/Windows/HomeWindow.xaml.cs
  26. 43 0
      Agency/Agency/Windows/MainWindow.xaml
  27. 74 0
      Agency/Agency/Windows/MainWindow.xaml.cs
  28. 60 0
      Agency/Agency/Windows/Rent.xaml
  29. 94 0
      Agency/Agency/Windows/Rent.xaml.cs
  30. 44 0
      Agency/Agency/Windows/RentProperty.xaml
  31. 107 0
      Agency/Agency/Windows/RentProperty.xaml.cs
  32. 56 0
      Agency/Agency/Windows/Sell.xaml
  33. 74 0
      Agency/Agency/Windows/Sell.xaml.cs
  34. 722 0
      Agency/Agency/bin/Debug/net6.0-windows/Agency.deps.json
  35. BIN
      Agency/Agency/bin/Debug/net6.0-windows/Agency.dll
  36. BIN
      Agency/Agency/bin/Debug/net6.0-windows/Agency.exe
  37. BIN
      Agency/Agency/bin/Debug/net6.0-windows/Agency.pdb
  38. 15 0
      Agency/Agency/bin/Debug/net6.0-windows/Agency.runtimeconfig.json
  39. BIN
      Agency/Agency/bin/Debug/net6.0-windows/Humanizer.dll
  40. BIN
      Agency/Agency/bin/Debug/net6.0-windows/Microsoft.Data.SqlClient.dll
  41. BIN
      Agency/Agency/bin/Debug/net6.0-windows/Microsoft.EntityFrameworkCore.Abstractions.dll
  42. BIN
      Agency/Agency/bin/Debug/net6.0-windows/Microsoft.EntityFrameworkCore.Design.dll
  43. BIN
      Agency/Agency/bin/Debug/net6.0-windows/Microsoft.EntityFrameworkCore.Relational.dll
  44. BIN
      Agency/Agency/bin/Debug/net6.0-windows/Microsoft.EntityFrameworkCore.SqlServer.dll
  45. BIN
      Agency/Agency/bin/Debug/net6.0-windows/Microsoft.EntityFrameworkCore.dll
  46. BIN
      Agency/Agency/bin/Debug/net6.0-windows/Microsoft.Extensions.Caching.Abstractions.dll
  47. BIN
      Agency/Agency/bin/Debug/net6.0-windows/Microsoft.Extensions.Caching.Memory.dll
  48. BIN
      Agency/Agency/bin/Debug/net6.0-windows/Microsoft.Extensions.Configuration.Abstractions.dll
  49. BIN
      Agency/Agency/bin/Debug/net6.0-windows/Microsoft.Extensions.DependencyInjection.Abstractions.dll
  50. BIN
      Agency/Agency/bin/Debug/net6.0-windows/Microsoft.Extensions.DependencyInjection.dll
  51. BIN
      Agency/Agency/bin/Debug/net6.0-windows/Microsoft.Extensions.Logging.Abstractions.dll
  52. BIN
      Agency/Agency/bin/Debug/net6.0-windows/Microsoft.Extensions.Logging.dll
  53. BIN
      Agency/Agency/bin/Debug/net6.0-windows/Microsoft.Extensions.Options.dll
  54. BIN
      Agency/Agency/bin/Debug/net6.0-windows/Microsoft.Extensions.Primitives.dll
  55. BIN
      Agency/Agency/bin/Debug/net6.0-windows/Microsoft.Identity.Client.dll
  56. BIN
      Agency/Agency/bin/Debug/net6.0-windows/Microsoft.IdentityModel.JsonWebTokens.dll
  57. BIN
      Agency/Agency/bin/Debug/net6.0-windows/Microsoft.IdentityModel.Logging.dll
  58. BIN
      Agency/Agency/bin/Debug/net6.0-windows/Microsoft.IdentityModel.Protocols.OpenIdConnect.dll
  59. BIN
      Agency/Agency/bin/Debug/net6.0-windows/Microsoft.IdentityModel.Protocols.dll
  60. BIN
      Agency/Agency/bin/Debug/net6.0-windows/Microsoft.IdentityModel.Tokens.dll
  61. BIN
      Agency/Agency/bin/Debug/net6.0-windows/System.IdentityModel.Tokens.Jwt.dll
  62. BIN
      Agency/Agency/bin/Debug/net6.0-windows/System.Runtime.Caching.dll
  63. BIN
      Agency/Agency/bin/Debug/net6.0-windows/ref/Agency.dll
  64. BIN
      Agency/Agency/bin/Debug/net6.0-windows/runtimes/unix/lib/netcoreapp3.1/Microsoft.Data.SqlClient.dll
  65. BIN
      Agency/Agency/bin/Debug/net6.0-windows/runtimes/win-arm/native/Microsoft.Data.SqlClient.SNI.dll
  66. BIN
      Agency/Agency/bin/Debug/net6.0-windows/runtimes/win-arm64/native/Microsoft.Data.SqlClient.SNI.dll
  67. BIN
      Agency/Agency/bin/Debug/net6.0-windows/runtimes/win-x64/native/Microsoft.Data.SqlClient.SNI.dll
  68. BIN
      Agency/Agency/bin/Debug/net6.0-windows/runtimes/win-x86/native/Microsoft.Data.SqlClient.SNI.dll
  69. BIN
      Agency/Agency/bin/Debug/net6.0-windows/runtimes/win/lib/netcoreapp3.1/Microsoft.Data.SqlClient.dll
  70. BIN
      Agency/Agency/bin/Debug/net6.0-windows/runtimes/win/lib/netstandard2.0/System.Runtime.Caching.dll
  71. 167 0
      Agency/Agency/gr606_midvlContext.cs
  72. 91 0
      Agency/Agency/obj/Agency.csproj.nuget.dgspec.json
  73. 22 0
      Agency/Agency/obj/Agency.csproj.nuget.g.props
  74. 2 0
      Agency/Agency/obj/Agency.csproj.nuget.g.targets
  75. 91 0
      Agency/Agency/obj/Agency_2oiq0cj0_wpftmp.csproj.nuget.dgspec.json
  76. 22 0
      Agency/Agency/obj/Agency_2oiq0cj0_wpftmp.csproj.nuget.g.props
  77. 2 0
      Agency/Agency/obj/Agency_2oiq0cj0_wpftmp.csproj.nuget.g.targets
  78. 91 0
      Agency/Agency/obj/Agency_c30zwynp_wpftmp.csproj.nuget.dgspec.json
  79. 22 0
      Agency/Agency/obj/Agency_c30zwynp_wpftmp.csproj.nuget.g.props
  80. 2 0
      Agency/Agency/obj/Agency_c30zwynp_wpftmp.csproj.nuget.g.targets
  81. 91 0
      Agency/Agency/obj/Agency_db1cys1r_wpftmp.csproj.nuget.dgspec.json
  82. 22 0
      Agency/Agency/obj/Agency_db1cys1r_wpftmp.csproj.nuget.g.props
  83. 2 0
      Agency/Agency/obj/Agency_db1cys1r_wpftmp.csproj.nuget.g.targets
  84. 91 0
      Agency/Agency/obj/Agency_ifiea1r3_wpftmp.csproj.nuget.dgspec.json
  85. 22 0
      Agency/Agency/obj/Agency_ifiea1r3_wpftmp.csproj.nuget.g.props
  86. 2 0
      Agency/Agency/obj/Agency_ifiea1r3_wpftmp.csproj.nuget.g.targets
  87. 91 0
      Agency/Agency/obj/Agency_luv0f2d2_wpftmp.csproj.nuget.dgspec.json
  88. 22 0
      Agency/Agency/obj/Agency_luv0f2d2_wpftmp.csproj.nuget.g.props
  89. 2 0
      Agency/Agency/obj/Agency_luv0f2d2_wpftmp.csproj.nuget.g.targets
  90. 91 0
      Agency/Agency/obj/Agency_n4t2gmss_wpftmp.csproj.nuget.dgspec.json
  91. 22 0
      Agency/Agency/obj/Agency_n4t2gmss_wpftmp.csproj.nuget.g.props
  92. 2 0
      Agency/Agency/obj/Agency_n4t2gmss_wpftmp.csproj.nuget.g.targets
  93. 91 0
      Agency/Agency/obj/Agency_paa5u0ks_wpftmp.csproj.nuget.dgspec.json
  94. 22 0
      Agency/Agency/obj/Agency_paa5u0ks_wpftmp.csproj.nuget.g.props
  95. 2 0
      Agency/Agency/obj/Agency_paa5u0ks_wpftmp.csproj.nuget.g.targets
  96. 91 0
      Agency/Agency/obj/Agency_pnuuc20w_wpftmp.csproj.nuget.dgspec.json
  97. 22 0
      Agency/Agency/obj/Agency_pnuuc20w_wpftmp.csproj.nuget.g.props
  98. 2 0
      Agency/Agency/obj/Agency_pnuuc20w_wpftmp.csproj.nuget.g.targets
  99. 69 0
      Agency/Agency/obj/Agency_pv4moohm_wpftmp.csproj.nuget.dgspec.json
  100. 0 0
      Agency/Agency/obj/Agency_pv4moohm_wpftmp.csproj.nuget.g.props

BIN
Agency/.vs/Agency/DesignTimeBuild/.dtbcache.v2


+ 16 - 0
Agency/.vs/Agency/project-colors.json

@@ -0,0 +1,16 @@
+{
+  "Version": 1,
+  "ProjectMap": {
+    "c7d398f1-1195-4e28-9809-b50ec00ad5c5": {
+      "ProjectGuid": "c7d398f1-1195-4e28-9809-b50ec00ad5c5",
+      "DisplayName": "Agency",
+      "ColorIndex": 0
+    },
+    "a2fe74e1-b743-11d0-ae1a-00a0c90fffc3": {
+      "ProjectGuid": "a2fe74e1-b743-11d0-ae1a-00a0c90fffc3",
+      "DisplayName": "Прочие файлы",
+      "ColorIndex": -1
+    }
+  },
+  "NextColorIndex": 1
+}

BIN
Agency/.vs/Agency/v17/.futdcache.v1


BIN
Agency/.vs/Agency/v17/.suo


+ 25 - 0
Agency/Agency.sln

@@ -0,0 +1,25 @@
+
+Microsoft Visual Studio Solution File, Format Version 12.00
+# Visual Studio Version 17
+VisualStudioVersion = 17.0.32126.317
+MinimumVisualStudioVersion = 10.0.40219.1
+Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Agency", "Agency\Agency.csproj", "{C7D398F1-1195-4E28-9809-B50EC00AD5C5}"
+EndProject
+Global
+	GlobalSection(SolutionConfigurationPlatforms) = preSolution
+		Debug|Any CPU = Debug|Any CPU
+		Release|Any CPU = Release|Any CPU
+	EndGlobalSection
+	GlobalSection(ProjectConfigurationPlatforms) = postSolution
+		{C7D398F1-1195-4E28-9809-B50EC00AD5C5}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
+		{C7D398F1-1195-4E28-9809-B50EC00AD5C5}.Debug|Any CPU.Build.0 = Debug|Any CPU
+		{C7D398F1-1195-4E28-9809-B50EC00AD5C5}.Release|Any CPU.ActiveCfg = Release|Any CPU
+		{C7D398F1-1195-4E28-9809-B50EC00AD5C5}.Release|Any CPU.Build.0 = Release|Any CPU
+	EndGlobalSection
+	GlobalSection(SolutionProperties) = preSolution
+		HideSolutionNode = FALSE
+	EndGlobalSection
+	GlobalSection(ExtensibilityGlobals) = postSolution
+		SolutionGuid = {71EB657B-0144-4A8F-A50B-B278EC847343}
+	EndGlobalSection
+EndGlobal

+ 21 - 0
Agency/Agency/Addrese.cs

@@ -0,0 +1,21 @@
+using System;
+using System.Collections.Generic;
+
+namespace Agency
+{
+    public partial class Addrese
+    {
+        public Addrese()
+        {
+            TheProperties = new HashSet<TheProperty>();
+        }
+
+        public int Id { get; set; }
+        public string? Streat { get; set; } 
+        public int? HouseNumber { get; set; }
+        public int? FlatNumber { get; set; }
+        public string? City { get; set; } = null!;
+
+        public virtual ICollection<TheProperty> TheProperties { get; set; }
+    }
+}

+ 38 - 0
Agency/Agency/Agency.csproj

@@ -0,0 +1,38 @@
+<Project Sdk="Microsoft.NET.Sdk">
+
+  <PropertyGroup>
+    <OutputType>WinExe</OutputType>
+    <TargetFramework>net6.0-windows</TargetFramework>
+    <Nullable>enable</Nullable>
+    <UseWPF>true</UseWPF>
+  </PropertyGroup>
+
+  <ItemGroup>
+    <PackageReference Include="Microsoft.EntityFrameworkCore" Version="6.0.5" />
+    <PackageReference Include="Microsoft.EntityFrameworkCore.Design" Version="6.0.5">
+      <PrivateAssets>all</PrivateAssets>
+      <IncludeAssets>runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets>
+    </PackageReference>
+    <PackageReference Include="Microsoft.EntityFrameworkCore.SqlServer" Version="6.0.5" />
+    <PackageReference Include="Microsoft.EntityFrameworkCore.Tools" Version="6.0.5">
+      <PrivateAssets>all</PrivateAssets>
+      <IncludeAssets>runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets>
+    </PackageReference>
+  </ItemGroup>
+
+  <ItemGroup>
+    <Compile Update="Properties\Resources.Designer.cs">
+      <DesignTime>True</DesignTime>
+      <AutoGen>True</AutoGen>
+      <DependentUpon>Resources.resx</DependentUpon>
+    </Compile>
+  </ItemGroup>
+
+  <ItemGroup>
+    <EmbeddedResource Update="Properties\Resources.resx">
+      <Generator>ResXFileCodeGenerator</Generator>
+      <LastGenOutput>Resources.Designer.cs</LastGenOutput>
+    </EmbeddedResource>
+  </ItemGroup>
+
+</Project>

+ 52 - 0
Agency/Agency/Agency.csproj.user

@@ -0,0 +1,52 @@
+<?xml version="1.0" encoding="utf-8"?>
+<Project ToolsVersion="Current" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
+  <PropertyGroup />
+  <ItemGroup>
+    <ApplicationDefinition Update="App.xaml">
+      <SubType>Designer</SubType>
+    </ApplicationDefinition>
+  </ItemGroup>
+  <ItemGroup>
+    <Compile Update="Windows\BuyProperty.xaml.cs">
+      <SubType>Code</SubType>
+    </Compile>
+    <Compile Update="Windows\CreateAc.xaml.cs">
+      <SubType>Code</SubType>
+    </Compile>
+    <Compile Update="Windows\HomeWindow.xaml.cs">
+      <SubType>Code</SubType>
+    </Compile>
+    <Compile Update="Windows\Rent.xaml.cs">
+      <SubType>Code</SubType>
+    </Compile>
+    <Compile Update="Windows\RentProperty.xaml.cs">
+      <SubType>Code</SubType>
+    </Compile>
+    <Compile Update="Windows\Sell.xaml.cs">
+      <SubType>Code</SubType>
+    </Compile>
+  </ItemGroup>
+  <ItemGroup>
+    <Page Update="Windows\BuyProperty.xaml">
+      <SubType>Designer</SubType>
+    </Page>
+    <Page Update="Windows\CreateAc.xaml">
+      <SubType>Designer</SubType>
+    </Page>
+    <Page Update="Windows\HomeWindow.xaml">
+      <SubType>Designer</SubType>
+    </Page>
+    <Page Update="Windows\MainWindow.xaml">
+      <SubType>Designer</SubType>
+    </Page>
+    <Page Update="Windows\Rent.xaml">
+      <SubType>Designer</SubType>
+    </Page>
+    <Page Update="Windows\RentProperty.xaml">
+      <SubType>Designer</SubType>
+    </Page>
+    <Page Update="Windows\Sell.xaml">
+      <SubType>Designer</SubType>
+    </Page>
+  </ItemGroup>
+</Project>

+ 9 - 0
Agency/Agency/App.xaml

@@ -0,0 +1,9 @@
+<Application x:Class="Agency.App"
+             xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
+             xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
+             xmlns:local="clr-namespace:Agency"
+             StartupUri="Windows/MainWindow.xaml">
+    <Application.Resources>
+         
+    </Application.Resources>
+</Application>

+ 17 - 0
Agency/Agency/App.xaml.cs

@@ -0,0 +1,17 @@
+using System;
+using System.Collections.Generic;
+using System.Configuration;
+using System.Data;
+using System.Linq;
+using System.Threading.Tasks;
+using System.Windows;
+
+namespace Agency
+{
+    /// <summary>
+    /// Interaction logic for App.xaml
+    /// </summary>
+    public partial class App : Application
+    {
+    }
+}

+ 10 - 0
Agency/Agency/AssemblyInfo.cs

@@ -0,0 +1,10 @@
+using System.Windows;
+
+[assembly: ThemeInfo(
+    ResourceDictionaryLocation.None, //where theme specific resource dictionaries are located
+                                     //(used if a resource is not found in the page,
+                                     // or application resource dictionaries)
+    ResourceDictionaryLocation.SourceAssembly //where the generic resource dictionary is located
+                                              //(used if a resource is not found in the page,
+                                              // app, or any theme specific resource dictionaries)
+)]

+ 21 - 0
Agency/Agency/ListPerson.cs

@@ -0,0 +1,21 @@
+using System;
+using System.Collections.Generic;
+
+namespace Agency
+{
+    public partial class ListPerson
+    {
+        public ListPerson()
+        {
+            Treaties = new HashSet<Treaty>();
+        }
+
+        public int Idlist { get; set; }
+        public int Idperson { get; set; }
+        public int Idproperty { get; set; }
+
+        public virtual Person IdpersonNavigation { get; set; } = null!;
+        public virtual TheProperty IdpropertyNavigation { get; set; } = null!;
+        public virtual ICollection<Treaty> Treaties { get; set; }
+    }
+}

+ 17 - 0
Agency/Agency/Passport.cs

@@ -0,0 +1,17 @@
+using System;
+using System.Collections.Generic;
+
+namespace Agency
+{
+    public partial class Passport
+    {
+        public int Id { get; set; }
+        public string Serial { get; set; } = null!;
+        public string Number { get; set; } = null!;
+        public string Issuedby { get; set; } = null!;
+        public DateTime DateOfIssue { get; set; }
+        public int OwnerId { get; set; }
+
+        public virtual Person Owner { get; set; } = null!;
+    }
+}

+ 25 - 0
Agency/Agency/Person.cs

@@ -0,0 +1,25 @@
+using System;
+using System.Collections.Generic;
+
+namespace Agency
+{
+    public partial class Person
+    {
+        public Person()
+        {
+            ListPeople = new HashSet<ListPerson>();
+            Passports = new HashSet<Passport>();
+        }
+
+        public int IdPerson { get; set; }
+        public string? FirstName { get; set; }
+        public string? LastName { get; set; }
+        public string? MidleName { get; set; }
+        public string? Login { get; set; }
+        public string? Password { get; set; }
+        public string? PhoneNumber { get; set; }
+
+        public virtual ICollection<ListPerson> ListPeople { get; set; }
+        public virtual ICollection<Passport> Passports { get; set; }
+    }
+}

+ 20 - 0
Agency/Agency/PersonSave.cs

@@ -0,0 +1,20 @@
+using System;
+using System.Collections.Generic;
+using System.Linq;
+using System.Text;
+using System.Threading.Tasks;
+
+namespace Agency
+{
+    static class PersonSave
+    {
+        public static int Id { get; set; }
+        public static string? Name { get; set; }
+        public static string? LastName { get; set; }
+        public static string? MidleName { get; set; }
+        public static string? Login { get; set; }
+        public static string? Password { get; set; }
+        public static string? PhoneNumber { get; set; }
+        public static int Passport { get; set; }
+    }
+}

+ 81 - 0
Agency/Agency/Properties/Resources.Designer.cs

@@ -0,0 +1,81 @@
+//------------------------------------------------------------------------------
+// <auto-generated>
+//     Этот код создан программой.
+//     Исполняемая версия:4.0.30319.42000
+//
+//     Изменения в этом файле могут привести к неправильной работе и будут потеряны в случае
+//     повторной генерации кода.
+// </auto-generated>
+//------------------------------------------------------------------------------
+
+namespace Agency.Properties {
+    using System;
+    
+    
+    /// <summary>
+    ///   Класс ресурса со строгой типизацией для поиска локализованных строк и т.д.
+    /// </summary>
+    // Этот класс создан автоматически классом StronglyTypedResourceBuilder
+    // с помощью такого средства, как ResGen или Visual Studio.
+    // Чтобы добавить или удалить член, измените файл .ResX и снова запустите ResGen
+    // с параметром /str или перестройте свой проект VS.
+    [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Resources.Tools.StronglyTypedResourceBuilder", "17.0.0.0")]
+    [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+    [global::System.Runtime.CompilerServices.CompilerGeneratedAttribute()]
+    internal class Resources {
+        
+        private static global::System.Resources.ResourceManager resourceMan;
+        
+        private static global::System.Globalization.CultureInfo resourceCulture;
+        
+        [global::System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1811:AvoidUncalledPrivateCode")]
+        internal Resources() {
+        }
+        
+        /// <summary>
+        ///   Возвращает кэшированный экземпляр ResourceManager, использованный этим классом.
+        /// </summary>
+        [global::System.ComponentModel.EditorBrowsableAttribute(global::System.ComponentModel.EditorBrowsableState.Advanced)]
+        internal static global::System.Resources.ResourceManager ResourceManager {
+            get {
+                if (object.ReferenceEquals(resourceMan, null)) {
+                    global::System.Resources.ResourceManager temp = new global::System.Resources.ResourceManager("Agency.Properties.Resources", typeof(Resources).Assembly);
+                    resourceMan = temp;
+                }
+                return resourceMan;
+            }
+        }
+        
+        /// <summary>
+        ///   Перезаписывает свойство CurrentUICulture текущего потока для всех
+        ///   обращений к ресурсу с помощью этого класса ресурса со строгой типизацией.
+        /// </summary>
+        [global::System.ComponentModel.EditorBrowsableAttribute(global::System.ComponentModel.EditorBrowsableState.Advanced)]
+        internal static global::System.Globalization.CultureInfo Culture {
+            get {
+                return resourceCulture;
+            }
+            set {
+                resourceCulture = value;
+            }
+        }
+        
+        /// <summary>
+        ///   Ищет локализованную строку, похожую на .
+        /// </summary>
+        internal static string Login {
+            get {
+                return ResourceManager.GetString("Login", resourceCulture);
+            }
+        }
+        
+        /// <summary>
+        ///   Ищет локализованную строку, похожую на .
+        /// </summary>
+        internal static string Password {
+            get {
+                return ResourceManager.GetString("Password", resourceCulture);
+            }
+        }
+    }
+}

+ 126 - 0
Agency/Agency/Properties/Resources.resx

@@ -0,0 +1,126 @@
+<?xml version="1.0" encoding="utf-8"?>
+<root>
+  <!-- 
+    Microsoft ResX Schema 
+    
+    Version 2.0
+    
+    The primary goals of this format is to allow a simple XML format 
+    that is mostly human readable. The generation and parsing of the 
+    various data types are done through the TypeConverter classes 
+    associated with the data types.
+    
+    Example:
+    
+    ... ado.net/XML headers & schema ...
+    <resheader name="resmimetype">text/microsoft-resx</resheader>
+    <resheader name="version">2.0</resheader>
+    <resheader name="reader">System.Resources.ResXResourceReader, System.Windows.Forms, ...</resheader>
+    <resheader name="writer">System.Resources.ResXResourceWriter, System.Windows.Forms, ...</resheader>
+    <data name="Name1"><value>this is my long string</value><comment>this is a comment</comment></data>
+    <data name="Color1" type="System.Drawing.Color, System.Drawing">Blue</data>
+    <data name="Bitmap1" mimetype="application/x-microsoft.net.object.binary.base64">
+        <value>[base64 mime encoded serialized .NET Framework object]</value>
+    </data>
+    <data name="Icon1" type="System.Drawing.Icon, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
+        <value>[base64 mime encoded string representing a byte array form of the .NET Framework object]</value>
+        <comment>This is a comment</comment>
+    </data>
+                
+    There are any number of "resheader" rows that contain simple 
+    name/value pairs.
+    
+    Each data row contains a name, and value. The row also contains a 
+    type or mimetype. Type corresponds to a .NET class that support 
+    text/value conversion through the TypeConverter architecture. 
+    Classes that don't support this are serialized and stored with the 
+    mimetype set.
+    
+    The mimetype is used for serialized objects, and tells the 
+    ResXResourceReader how to depersist the object. This is currently not 
+    extensible. For a given mimetype the value must be set accordingly:
+    
+    Note - application/x-microsoft.net.object.binary.base64 is the format 
+    that the ResXResourceWriter will generate, however the reader can 
+    read any of the formats listed below.
+    
+    mimetype: application/x-microsoft.net.object.binary.base64
+    value   : The object must be serialized with 
+            : System.Runtime.Serialization.Formatters.Binary.BinaryFormatter
+            : and then encoded with base64 encoding.
+    
+    mimetype: application/x-microsoft.net.object.soap.base64
+    value   : The object must be serialized with 
+            : System.Runtime.Serialization.Formatters.Soap.SoapFormatter
+            : and then encoded with base64 encoding.
+
+    mimetype: application/x-microsoft.net.object.bytearray.base64
+    value   : The object must be serialized into a byte array 
+            : using a System.ComponentModel.TypeConverter
+            : and then encoded with base64 encoding.
+    -->
+  <xsd:schema id="root" xmlns="" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:msdata="urn:schemas-microsoft-com:xml-msdata">
+    <xsd:import namespace="http://www.w3.org/XML/1998/namespace" />
+    <xsd:element name="root" msdata:IsDataSet="true">
+      <xsd:complexType>
+        <xsd:choice maxOccurs="unbounded">
+          <xsd:element name="metadata">
+            <xsd:complexType>
+              <xsd:sequence>
+                <xsd:element name="value" type="xsd:string" minOccurs="0" />
+              </xsd:sequence>
+              <xsd:attribute name="name" use="required" type="xsd:string" />
+              <xsd:attribute name="type" type="xsd:string" />
+              <xsd:attribute name="mimetype" type="xsd:string" />
+              <xsd:attribute ref="xml:space" />
+            </xsd:complexType>
+          </xsd:element>
+          <xsd:element name="assembly">
+            <xsd:complexType>
+              <xsd:attribute name="alias" type="xsd:string" />
+              <xsd:attribute name="name" type="xsd:string" />
+            </xsd:complexType>
+          </xsd:element>
+          <xsd:element name="data">
+            <xsd:complexType>
+              <xsd:sequence>
+                <xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />
+                <xsd:element name="comment" type="xsd:string" minOccurs="0" msdata:Ordinal="2" />
+              </xsd:sequence>
+              <xsd:attribute name="name" type="xsd:string" use="required" msdata:Ordinal="1" />
+              <xsd:attribute name="type" type="xsd:string" msdata:Ordinal="3" />
+              <xsd:attribute name="mimetype" type="xsd:string" msdata:Ordinal="4" />
+              <xsd:attribute ref="xml:space" />
+            </xsd:complexType>
+          </xsd:element>
+          <xsd:element name="resheader">
+            <xsd:complexType>
+              <xsd:sequence>
+                <xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />
+              </xsd:sequence>
+              <xsd:attribute name="name" type="xsd:string" use="required" />
+            </xsd:complexType>
+          </xsd:element>
+        </xsd:choice>
+      </xsd:complexType>
+    </xsd:element>
+  </xsd:schema>
+  <resheader name="resmimetype">
+    <value>text/microsoft-resx</value>
+  </resheader>
+  <resheader name="version">
+    <value>2.0</value>
+  </resheader>
+  <resheader name="reader">
+    <value>System.Resources.ResXResourceReader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
+  </resheader>
+  <resheader name="writer">
+    <value>System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
+  </resheader>
+  <data name="Login" xml:space="preserve">
+    <value />
+  </data>
+  <data name="Password" xml:space="preserve">
+    <value />
+  </data>
+</root>

+ 31 - 0
Agency/Agency/TheProperty.cs

@@ -0,0 +1,31 @@
+using System;
+using System.Collections.Generic;
+
+namespace Agency
+{
+    public partial class TheProperty
+    {
+        public TheProperty()
+        {
+            ListPeople = new HashSet<ListPerson>();
+            Treaties = new HashSet<Treaty>();
+        }
+
+        public int Id { get; set; }
+        public string? Name { get; set; }
+        public double? Area { get; set; }
+        public int? Rooms { get; set; }
+        public string? PropertyType { get; set; }
+        public string? District { get; set; }
+        public DateTime? YearOfConstruction { get; set; }
+        public int? Floor { get; set; }
+        public int? Owner { get; set; }
+        public int? Address { get; set; }
+        public decimal? Price { get; set; }
+        public string? TypeRent { get; set; }
+
+        public virtual Addrese? AddressNavigation { get; set; }
+        public virtual ICollection<ListPerson> ListPeople { get; set; }
+        public virtual ICollection<Treaty> Treaties { get; set; }
+    }
+}

+ 18 - 0
Agency/Agency/Treaty.cs

@@ -0,0 +1,18 @@
+using System;
+using System.Collections.Generic;
+
+namespace Agency
+{
+    public partial class Treaty
+    {
+        public int IdTreaty { get; set; }
+        public int PropertyId { get; set; }
+        public int? RentalPeriod { get; set; }
+        public DateTime? DateOfConclusion { get; set; }
+        public decimal Cost { get; set; }
+        public int PersonsInTreaty { get; set; }
+
+        public virtual ListPerson PersonsInTreatyNavigation { get; set; } = null!;
+        public virtual TheProperty Property { get; set; } = null!;
+    }
+}

+ 40 - 0
Agency/Agency/Windows/BuyProperty.xaml

@@ -0,0 +1,40 @@
+<Window x:Class="Agency.Windows.BuyProperty"
+        xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
+        xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
+        xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
+        xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
+        xmlns:local="clr-namespace:Agency.Windows"
+        mc:Ignorable="d"
+        Title="Купить недвижимость" Height="450" Width="800">
+    <Grid>
+        <Grid.ColumnDefinitions>
+            <ColumnDefinition Width="235"></ColumnDefinition>
+            <ColumnDefinition></ColumnDefinition>
+            <ColumnDefinition Width="350"></ColumnDefinition>
+        </Grid.ColumnDefinitions>
+        <Grid.RowDefinitions>
+            <RowDefinition></RowDefinition>
+            <RowDefinition></RowDefinition>
+            <RowDefinition></RowDefinition>
+            <RowDefinition></RowDefinition>
+            <RowDefinition></RowDefinition>
+        </Grid.RowDefinitions>
+        <Label Grid.Row="0" Grid.Column="0" FontSize="26" FontFamily="Bahnschrift" Content="Крайняя цена:"></Label>
+        <Label Grid.Row="1" Grid.Column="0" FontSize="26" FontFamily="Bahnschrift" Content="Тип недвижимости:"></Label>
+        <Label Grid.Row="2" Grid.Column="0" FontSize="26" FontFamily="Bahnschrift" Content="Город:"></Label>
+        <Label Grid.Row="3" Grid.Column="0" FontSize="26" FontFamily="Bahnschrift" Content="Район:"></Label>
+        <TextBox x:Name="BorderPrice" Grid.Row="0" Grid.Column="1" FontSize="26" FontFamily="Bahnschrift" Margin="10"></TextBox>
+        <ComboBox x:Name="TypeProperty" Grid.Row="1" Grid.Column="1" FontSize="26" FontFamily="Bahnschrift" Margin="10"></ComboBox>
+        <ComboBox x:Name="CityRent" Grid.Row="2" Grid.Column="1" FontSize="26" FontFamily="Bahnschrift" Margin="10"></ComboBox>
+        <ComboBox x:Name="RayonProperty" Grid.Row="3" Grid.Column="1" FontSize="26" FontFamily="Bahnschrift" Margin="10"></ComboBox>
+        <Button x:Name="SearhBtn" Grid.Row="5" Grid.Column="0" Content="Поиск" FontSize="26" FontFamily="Bahnschrift" Click="Search" Margin="15"></Button>
+        <Button x:Name="CloseForm" Grid.Row="5" Grid.Column="1" Content="Отмена" FontSize="26" FontFamily="Bahnschrift" Margin="15" Click="Close"/>
+        <ScrollViewer Grid.Column="2" Grid.Row="0" Grid.RowSpan="6">
+            <StackPanel Grid.Column="2" Grid.Row="0" Grid.RowSpan="6">
+                <ListBox x:Name="ListProperty">
+
+                </ListBox>
+            </StackPanel>
+        </ScrollViewer>
+    </Grid>
+</Window>

+ 101 - 0
Agency/Agency/Windows/BuyProperty.xaml.cs

@@ -0,0 +1,101 @@
+using System;
+using System.Collections.Generic;
+using System.Linq;
+using System.Text;
+using System.Threading.Tasks;
+using System.Windows;
+using System.Windows.Controls;
+using System.Windows.Data;
+using System.Windows.Documents;
+using System.Windows.Input;
+using System.Windows.Media;
+using System.Windows.Media.Imaging;
+using System.Windows.Shapes;
+
+namespace Agency.Windows
+{
+    /// <summary>
+    /// Логика взаимодействия для BuyProperty.xaml
+    /// </summary>
+    public partial class BuyProperty : Window
+    {
+        public BuyProperty()
+        {
+            InitializeComponent();
+            gr606_midvlContext context = new gr606_midvlContext();
+            var address = context.Addreses;
+            var property = context.TheProperties;
+            foreach (var item in address)
+            {
+                if (CityRent.Items.Contains(item.City)) { }
+                else 
+                { 
+                    CityRent.Items.Add(item.City); 
+                }
+                    
+            }
+            foreach (var prpIt in property)
+            {
+                if (TypeProperty.Items.Contains(prpIt.PropertyType)) { }
+                else
+                {
+                    TypeProperty.Items.Add(prpIt.PropertyType);
+                }
+                if (RayonProperty.Items.Contains(prpIt.District)) { }
+                else
+                {
+                    RayonProperty.Items.Add(prpIt.District);
+                }
+            }
+        }
+
+        private void Search(object sender, RoutedEventArgs e)
+        {
+            try
+            {
+                ListProperty.Items.Clear();
+                gr606_midvlContext context = new gr606_midvlContext();
+                var items = context.TheProperties.Where(x => x.TypeRent == "Продаётся" && x.Price <= Convert.ToInt32(BorderPrice.Text)
+                && x.PropertyType == TypeProperty.Text && x.District == RayonProperty.Text);
+                var adreses = context.Addreses;
+                //string[] itemsList;
+                string post;
+                foreach (var item in items)
+                {
+
+                    //var adr = adreses.SingleOrDefault(x => x.Id == item.Address);
+                    post = $"Описание: {item.Name}\n" +
+                            $"Стоимость: {item.Price}р\n" +
+                            $"Район: {item.District}\n" +
+                            $"Тип нидвижимости: {item.PropertyType}\n" +
+                            $"Этаж: {item.Floor}\n" +
+                            $"Кол-во комнат: {item.Rooms}\n" +
+                            $"Плащадь: {item.Area}. м2\n" +
+                            $"*************************************\n" +
+                            $"Если заинтересовала недвижимость то обезательно\n" +
+                            $"Звоните в Агенство! Номер этой недвижимости: ({item.Id})\n" +
+                            $"Номер Агенства: (Тут уже будет номер)\n" +
+                            $"*************************************";
+                    ListProperty.Items.Add(post);
+                }
+
+                if (ListProperty.Items.Count == 0)
+                {
+                    ListProperty.Items.Add("Увы по вашим критериям недвижимости нет!");
+                }
+            }
+            catch (Exception)
+            {
+                ListProperty.Items.Add("Увы по вашим критериям недвижимости нет!");
+
+            }
+        }
+
+        private void Close(object sender, RoutedEventArgs e)
+        {
+            Windows.HomeWindow home = new Windows.HomeWindow();
+            home.Show();
+            this.Hide();
+        }
+    }
+}

+ 52 - 0
Agency/Agency/Windows/CreateAc.xaml

@@ -0,0 +1,52 @@
+<Window x:Class="Agency.Windows.CreateAc"
+        xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
+        xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
+        xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
+        xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
+        xmlns:local="clr-namespace:Agency.Windows"
+        mc:Ignorable="d"
+        Title="CreateAc" Height="600" Width="500">
+    <Grid>
+        <!--12 строк -->
+        <Grid.RowDefinitions>
+            <RowDefinition></RowDefinition>
+            <RowDefinition></RowDefinition>
+            <RowDefinition></RowDefinition>
+            <RowDefinition></RowDefinition>
+            <RowDefinition></RowDefinition>
+            <RowDefinition></RowDefinition>
+            <RowDefinition></RowDefinition>
+            <RowDefinition></RowDefinition>
+            <RowDefinition></RowDefinition>
+            <RowDefinition></RowDefinition>
+            <RowDefinition></RowDefinition>
+            <RowDefinition></RowDefinition>
+        </Grid.RowDefinitions>
+        <Grid.ColumnDefinitions>
+            <ColumnDefinition Width="180"></ColumnDefinition>
+            <ColumnDefinition></ColumnDefinition>
+        </Grid.ColumnDefinitions>
+        <Label Grid.Row="0" FontSize="26" Content="Имя:" FontFamily="Bahnschrift"></Label>
+        <Label Grid.Row="1" FontSize="26" Content="Фамилия:" FontFamily="Bahnschrift"></Label>
+        <Label Grid.Row="2" FontSize="26" Content="Отчёство:" FontFamily="Bahnschrift"></Label>
+        <Label Grid.Row="3" FontSize="26" Content="Логин:" FontFamily="Bahnschrift"></Label>
+        <Label Grid.Row="4" FontSize="26" Content="Пароль:" FontFamily="Bahnschrift"></Label>
+        <Label Grid.Row="5" FontSize="26" Content="Телефон:" FontFamily="Bahnschrift"></Label>
+        <Label Grid.Row="6" Grid.Column="0" Grid.ColumnSpan="2" HorizontalAlignment="Center" FontSize="35" Content="Паспортные данные:" FontFamily="Bahnschrift"></Label>
+        <Label Grid.Row="7" FontSize="26" Content="Серия:" FontFamily="Bahnschrift"></Label>
+        <Label Grid.Row="8" FontSize="26" Content="Номер:" FontFamily="Bahnschrift"></Label>
+        <Label Grid.Row="9" FontSize="26" Content="Кем выдан:" FontFamily="Bahnschrift"></Label>
+        <Label Grid.Row="10" FontSize="26" Content="Дата выдачи:" FontFamily="Bahnschrift"></Label>
+        <TextBox Grid.Row="0" Grid.Column="1" x:Name="NameBox" FontSize="26" FontFamily="Bahnschrift" Background="#FFD4CECE" Margin="15,0,15,0"></TextBox>
+        <TextBox Grid.Row="1" Grid.Column="1" x:Name="LastNameBox" FontSize="26" FontFamily="Bahnschrift" Background="#FFD4CECE" Margin="15,0,15,0"></TextBox>
+        <TextBox Grid.Row="2" Grid.Column="1" x:Name="MiddleNameBox" FontSize="26" FontFamily="Bahnschrift" Background="#FFD4CECE" Margin="15,0,15,0"></TextBox>
+        <TextBox Grid.Row="3" Grid.Column="1" x:Name="LoginBox" FontSize="26" FontFamily="Bahnschrift" Background="#FFD4CECE" Margin="15,0,15,0"></TextBox>
+        <TextBox Grid.Row="4" Grid.Column="1" x:Name="PasswordBox" FontSize="26" FontFamily="Bahnschrift" Background="#FFD4CECE" Margin="15,0,15,0"></TextBox>
+        <TextBox Grid.Row="5" Grid.Column="1" x:Name="PhoneBox" FontSize="26" FontFamily="Bahnschrift" Background="#FFD4CECE" Margin="15,0,15,0"></TextBox>
+        <TextBox Grid.Row="7" Grid.Column="1" x:Name="PasSerialBox" FontSize="26" FontFamily="Bahnschrift" Background="#FFD4CECE" Margin="15,0,15,0"></TextBox>
+        <TextBox Grid.Row="8" Grid.Column="1" x:Name="PasNumBox" FontSize="26" FontFamily="Bahnschrift" Background="#FFD4CECE" Margin="15,0,15,0"></TextBox>
+        <TextBox Grid.Row="9" Grid.Column="1" x:Name="PasKemVidanBox" FontSize="26" FontFamily="Bahnschrift" Background="#FFD4CECE" Margin="15,0,15,0"></TextBox>
+        <DatePicker Grid.Row="10" Grid.Column="1" x:Name="PasDateGived" FontSize="26" FontFamily="Bahnschrift" Background="#FFD4CECE" Margin="15,0,15,0"></DatePicker>
+        <Button x:Name="RegBtn" Margin="10,10,10,10" Grid.Row="11" Grid.Column="0" Grid.ColumnSpan="2" Content="Зарегистрироватся" FontSize="26" FontFamily="Bahnschrift" Click="RegBtn_Click"></Button>
+    </Grid>
+</Window>

+ 97 - 0
Agency/Agency/Windows/CreateAc.xaml.cs

@@ -0,0 +1,97 @@
+using System;
+using System.Collections.Generic;
+using System.Linq;
+using System.Text;
+using System.Threading.Tasks;
+using System.Windows;
+using System.Windows.Controls;
+using System.Windows.Data;
+using System.Windows.Documents;
+using System.Windows.Input;
+using System.Windows.Media;
+using System.Windows.Media.Imaging;
+using System.Windows.Shapes;
+
+namespace Agency.Windows
+{
+    /// <summary>
+    /// Логика взаимодействия для CreateAc.xaml
+    /// </summary>
+    public partial class CreateAc : Window
+    {
+        public CreateAc()
+        {
+            InitializeComponent();
+        }
+
+        private void RegBtn_Click(object sender, RoutedEventArgs e)
+        {
+            gr606_midvlContext contextCheck = new gr606_midvlContext();
+            var usersCheck = contextCheck.Persons;
+            Person user = usersCheck.SingleOrDefault(x => x.Login == LoginBox.Text);
+            if (usersCheck == null)
+            {
+                if (NameBox.Text != "" && LastNameBox.Text != "" && MiddleNameBox.Text != "" && LoginBox.Text != "" && PasswordBox.Text != "" && PhoneBox.Text != "" && PasSerialBox.Text != "" && PasNumBox.Text != "" && PasKemVidanBox.Text != "" && PasKemVidanBox.Text != "")
+                {
+                    gr606_midvlContext context = new gr606_midvlContext();
+                    var users = context.Persons;
+                    var passport = context.Passports;
+
+
+
+
+                    //context.SaveChanges(); // Сохраняю
+
+                    Passport newPassport = new Passport()
+                    {
+                        Serial = PasSerialBox.Text,
+                        Number = PasNumBox.Text,
+                        Issuedby = PasKemVidanBox.Text,
+                        DateOfIssue = Convert.ToDateTime(PasDateGived.Text),
+
+                    };
+
+                    Person newUser = new Person()
+                    {
+                        FirstName = NameBox.Text,
+                        LastName = LastNameBox.Text,
+                        MidleName = MiddleNameBox.Text,
+                        PhoneNumber = PhoneBox.Text,
+                        Login = LoginBox.Text,
+                        Password = PasswordBox.Text,
+                        Passports = new List<Passport>() { newPassport },
+                    };
+                    users.Add(newUser);
+                    context.SaveChanges();
+
+
+                    //passport.Add(newPassport); // Добовляю
+
+                    //newUser.Passport = passport.Count() + 1;
+                    // users.Update(newUser);
+
+                    //context.SaveChanges();
+
+                    PersonSave.Login = LoginBox.Text;
+                    PersonSave.Password = PasswordBox.Text;
+                    PersonSave.LastName = LastNameBox.Text;
+                    PersonSave.Name = NameBox.Text;
+                    PersonSave.MidleName = MiddleNameBox.Text;
+                    PersonSave.PhoneNumber = PhoneBox.Text;
+                    PersonSave.Passport = newPassport.Id;
+                    HomeWindow homeWindow = new HomeWindow();
+                    homeWindow.Show();
+                    this.Hide();
+                }
+                else
+                {
+                    MessageBox.Show("Все поля должны быть заполнены!");
+                }
+            }
+            else
+            {
+                MessageBox.Show("Логин занят!");
+            }
+        }
+    }
+}

+ 28 - 0
Agency/Agency/Windows/HomeWindow.xaml

@@ -0,0 +1,28 @@
+<Window x:Class="Agency.Windows.HomeWindow"
+        xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
+        xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
+        xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
+        xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
+        xmlns:local="clr-namespace:Agency.Windows"
+        mc:Ignorable="d"
+        Title="Главное окно" Height="200" Width="450">
+    <Grid>
+        <Grid.RowDefinitions>
+            <RowDefinition Height="13*"/>
+            <RowDefinition Height="14*"></RowDefinition>
+            <RowDefinition Height="15*"></RowDefinition>
+        </Grid.RowDefinitions>
+        <Grid.ColumnDefinitions>
+            <ColumnDefinition></ColumnDefinition>
+            <ColumnDefinition></ColumnDefinition>
+        </Grid.ColumnDefinitions>
+        <Label x:Name="FullNamePersonText" Grid.Row="0" Grid.Column="0" Content="ФИО Пользователя" FontSize="15" Margin="0,0,5,0"></Label>
+        <Button Grid.Row="0" Grid.Column="1" Margin="13,7,13,7" FontSize="9" Content="Выход" Click="Button_Click"></Button>
+
+        <Button Grid.Row="1" Grid.Column="0" Margin="13,7,13,7" FontSize="9" Content="Продать недвижимость" Click="Button_Click_1"></Button>
+        <Button Grid.Row="1" Grid.Column="1" Margin="13,7,13,7" FontSize="9" Content="Снять недвижимость" Click="Button_Click_3"></Button>
+
+        <Button Grid.Row="2" Grid.Column="0" Margin="13,7,13,7" FontSize="9" Content="Сдать недвижимость" Click="Button_Click_2"></Button>
+        <Button Grid.Row="2" Grid.Column="1" Margin="13,7,13,7" FontSize="9" Content="Купить недвижимость" Click="Button_Click_4"></Button>
+    </Grid>
+</Window>

+ 64 - 0
Agency/Agency/Windows/HomeWindow.xaml.cs

@@ -0,0 +1,64 @@
+using System;
+using System.Collections.Generic;
+using System.Linq;
+using System.Text;
+using System.Threading.Tasks;
+using System.Windows;
+using System.Windows.Controls;
+using System.Windows.Data;
+using System.Windows.Documents;
+using System.Windows.Input;
+using System.Windows.Media;
+using System.Windows.Media.Imaging;
+using System.Windows.Shapes;
+
+namespace Agency.Windows
+{
+    /// <summary>
+    /// Логика взаимодействия для HomeWindow.xaml
+    /// </summary>
+    public partial class HomeWindow : Window
+    {
+        public HomeWindow()
+        {
+            InitializeComponent();    
+            FullNamePersonText.Content = Convert.ToString(PersonSave.LastName + " " + PersonSave.Name + "\n" + PersonSave.MidleName);
+        }
+
+        private void Button_Click(object sender, RoutedEventArgs e)
+        {
+            MainWindow mainWindow = new MainWindow();
+            mainWindow.Show();
+            this.Hide();
+        }
+
+        private void Button_Click_1(object sender, RoutedEventArgs e)
+        {
+            Windows.Sell sell = new Windows.Sell();
+            sell.Show();
+            this.Hide();
+        }
+
+        private void Button_Click_2(object sender, RoutedEventArgs e)
+        {
+            Windows.Rent rent = new Windows.Rent();
+            rent.Show();
+            this.Hide();
+        }
+
+        private void Button_Click_3(object sender, RoutedEventArgs e)
+        {
+            Windows.RentProperty rentPr = new Windows.RentProperty();
+            rentPr.Show();
+            this.Hide();
+        }
+
+        private void Button_Click_4(object sender, RoutedEventArgs e)
+        {
+            /* BuyProperty */
+            Windows.BuyProperty buyPr = new Windows.BuyProperty();
+            buyPr.Show();
+            this.Hide();
+        }
+    }
+}

+ 43 - 0
Agency/Agency/Windows/MainWindow.xaml

@@ -0,0 +1,43 @@
+<Window x:Class="Agency.MainWindow"
+        xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
+        xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
+        xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
+        xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
+        xmlns:local="clr-namespace:Agency"
+        mc:Ignorable="d"
+        Title="Вход" Height="450" Width="600">
+    <Grid>
+        <Grid.Background>
+            <LinearGradientBrush EndPoint="0.5,1" StartPoint="0.5,0">
+                <GradientStop Color="White" Offset="1"/>
+                <GradientStop Color="#FFDAE2E8" Offset="1"/>
+                <GradientStop Color="#FFADB4B8" Offset="1"/>
+            </LinearGradientBrush>
+        </Grid.Background>
+        <Grid.RowDefinitions>
+            <RowDefinition></RowDefinition>
+            <RowDefinition></RowDefinition>
+            <RowDefinition></RowDefinition>
+        </Grid.RowDefinitions>
+        <Grid.ColumnDefinitions>
+            <ColumnDefinition></ColumnDefinition>
+            <ColumnDefinition></ColumnDefinition>
+            <ColumnDefinition></ColumnDefinition>
+        </Grid.ColumnDefinitions>
+        <Grid Grid.Column="1" Grid.Row="1">
+            <Grid.RowDefinitions>
+                <RowDefinition></RowDefinition>
+                <RowDefinition></RowDefinition>
+                <RowDefinition></RowDefinition>
+                <RowDefinition></RowDefinition>
+            </Grid.RowDefinitions>
+            <Label Grid.Row="0" FontFamily="Arial" FontSize="20" HorizontalAlignment="Center" Content="Авторизация"></Label>
+            <Label Grid.Row="1" FontFamily="Arial" FontSize="15" Content="Логин: "></Label>
+            <TextBox x:Name="LoginBox" Text="Введите логин!" Grid.Row="1" HorizontalAlignment="Stretch" Margin="71,6,0,5" MouseEnter="HideText" MouseLeave="LeaveCursor"/>
+            <Label Grid.Row="2" FontFamily="Arial" FontSize="15" Content="Пароль:"></Label>
+            <PasswordBox x:Name="PasswordBox" Grid.Row="2" HorizontalAlignment="Stretch" Margin="71,6,0,6"/>
+            <Button x:Name="JumpMainWindows" FontFamily="Arial" FontSize="15" Grid.Row="3" Content="Войти" Cursor="Hand" Margin="20,5,20,5" Click="JumpMainWindows_Click"></Button>
+        </Grid>
+        <Label Grid.Row="2" Grid.Column="1" HorizontalAlignment="Center" Foreground="Blue" Cursor="Hand" Content="Добавить аккаунт." MouseDown="Label_MouseDown"></Label>
+    </Grid>
+</Window>

+ 74 - 0
Agency/Agency/Windows/MainWindow.xaml.cs

@@ -0,0 +1,74 @@
+using System;
+using System.Collections.Generic;
+using System.Linq;
+using System.Text;
+using System.Threading.Tasks;
+using System.Windows;
+using System.Windows.Controls;
+using System.Windows.Data;
+using System.Windows.Documents;
+using System.Windows.Input;
+using System.Windows.Media;
+using System.Windows.Media.Imaging;
+using System.Windows.Navigation;
+using System.Windows.Shapes;
+
+namespace Agency
+{
+    /// <summary>
+    /// Interaction logic for MainWindow.xaml
+    /// </summary>
+    public partial class MainWindow : Window
+    {
+        public MainWindow()
+        {
+            InitializeComponent();
+        }
+
+        private void JumpMainWindows_Click(object sender, RoutedEventArgs e)
+        {
+            gr606_midvlContext context = new gr606_midvlContext();
+            var users = context.Persons;
+            Person user = users.SingleOrDefault(x => x.Login == LoginBox.Text && x.Password == PasswordBox.Password);
+            if (user == null)
+            {
+                MessageBox.Show("Пользователь не найден!");
+            }
+            else
+            {
+                PersonSave.Id = user.IdPerson;
+                PersonSave.Login = user.Login;
+                PersonSave.Password = user.Password;
+                PersonSave.LastName = user.LastName;
+                PersonSave.Name = user.FirstName;
+                PersonSave.MidleName = user.MidleName;
+                PersonSave.PhoneNumber = user.PhoneNumber;
+                Windows.HomeWindow homeWindow = new Windows.HomeWindow();
+                homeWindow.Show();
+                this.Hide();
+            }
+        }
+
+        private void HideText(object sender, MouseEventArgs e)
+        {
+            LoginBox.Text = ""; // При навидении на LoginBox делает его пустым
+            LoginBox.IsReadOnly = false;
+        }
+
+        private void LeaveCursor(object sender, MouseEventArgs e)
+        {
+            if (LoginBox.Text == "")
+            {
+                LoginBox.Text = "Введите логин!";
+                LoginBox.IsReadOnly = true;
+            }
+        }
+
+        private void Label_MouseDown(object sender, MouseButtonEventArgs e)
+        {
+            Windows.CreateAc reg = new Windows.CreateAc();
+            reg.Show();
+            this.Hide();
+        }
+    }
+}

+ 60 - 0
Agency/Agency/Windows/Rent.xaml

@@ -0,0 +1,60 @@
+<Window x:Class="Agency.Windows.Rent"
+        xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
+        xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
+        xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
+        xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
+        xmlns:local="clr-namespace:Agency.Windows"
+        mc:Ignorable="d"
+        Title="Rent" Height="480" Width="400">
+    <Grid>
+        <Grid.RowDefinitions>
+            <RowDefinition></RowDefinition>
+            <RowDefinition></RowDefinition>
+            <RowDefinition></RowDefinition>
+            <RowDefinition></RowDefinition>
+            <RowDefinition></RowDefinition>
+            <RowDefinition></RowDefinition>
+            <RowDefinition></RowDefinition>
+            <RowDefinition></RowDefinition>
+            <RowDefinition></RowDefinition>
+            <RowDefinition></RowDefinition>
+            <RowDefinition></RowDefinition>
+            <RowDefinition></RowDefinition>
+            <RowDefinition></RowDefinition>
+            <RowDefinition></RowDefinition>
+        </Grid.RowDefinitions>
+        <Grid.ColumnDefinitions>
+            <ColumnDefinition></ColumnDefinition>
+            <ColumnDefinition></ColumnDefinition>
+        </Grid.ColumnDefinitions>
+        <Label Grid.Row="0" Grid.Column="0" Content="Описание:" FontFamily="Bahnschrift Light" FontSize="24"></Label>
+        <Label Grid.Row="1" Grid.Column="0" Content="Площадь:" FontFamily="Bahnschrift Light" FontSize="24"></Label>
+        <Label Grid.Row="2" Grid.Column="0" Content="Кол-во комнат:" FontFamily="Bahnschrift Light" FontSize="24"></Label>
+        <Label Grid.Row="3" Grid.Column="0" Content="Тип нидвижимости:" FontFamily="Bahnschrift Light" FontSize="24"></Label>
+        <Label Grid.Row="4" Grid.Column="0" Content="Район:" FontFamily="Bahnschrift Light" FontSize="24"></Label>
+        <Label Grid.Row="5" Grid.Column="0" Content="Год постройки:" FontFamily="Bahnschrift Light" FontSize="24"></Label>
+        <Label Grid.Row="6" Grid.Column="0" Content="Этаж:" FontFamily="Bahnschrift Light" FontSize="24"></Label>
+        <Label Grid.Row="7" Grid.Column="0" Content="Город:" FontFamily="Bahnschrift Light" FontSize="24"></Label>
+        <Label Grid.Row="8" Grid.Column="0" Content="Улица:" FontFamily="Bahnschrift Light" FontSize="24"></Label>
+        <Label Grid.Row="9" Grid.Column="0" Content="Номер дома:" FontFamily="Bahnschrift Light" FontSize="24"></Label>
+        <Label Grid.Row="10" Grid.Column="0" Content="Номер квартиры:" FontFamily="Bahnschrift Light" FontSize="24"></Label>
+        <Label Grid.Row="11" Grid.Column="0" Content="Срок аренды:" FontFamily="Bahnschrift Light" FontSize="24"></Label>
+        <Label Grid.Row="11" Grid.Column="0" Content="Срок аренды:" FontFamily="Bahnschrift Light" FontSize="24"></Label>
+        <Label Grid.Row="12" Grid.Column="0" Content="Стоимость:" FontFamily="Bahnschrift Light" FontSize="24"></Label>
+        <TextBox x:Name="DiscriptSell" Grid.Row="0" Grid.Column="1" FontFamily="Bahnschrift Light" FontSize="24" Background="#FFE4E4E4" Margin="15,0,15,0" ></TextBox>
+        <TextBox x:Name="AreaSell" Grid.Row="1" Grid.Column="1" FontFamily="Bahnschrift Light" FontSize="24" Background="#FFE4E4E4" Margin="15,0,15,0" ></TextBox>
+        <TextBox x:Name="CollRoomSell" Grid.Row="2" Grid.Column="1" FontFamily="Bahnschrift Light" FontSize="24" Background="#FFE4E4E4" Margin="15,0,15,0" ></TextBox>
+        <TextBox x:Name="TypeSell" Grid.Row="3" Grid.Column="1" FontFamily="Bahnschrift Light" FontSize="24" Background="#FFE4E4E4" Margin="15,0,15,0" ></TextBox>
+        <TextBox x:Name="RayonSell" Grid.Row="4" Grid.Column="1" FontFamily="Bahnschrift Light" FontSize="24" Background="#FFE4E4E4" Margin="15,0,15,0" ></TextBox>
+        <TextBox x:Name="YearOfBuild" Grid.Row="5" Grid.Column="1" FontFamily="Bahnschrift Light" FontSize="24" Background="#FFE4E4E4" Margin="15,0,15,0" ></TextBox>
+        <TextBox x:Name="ItazjSell" Grid.Row="6" Grid.Column="1" FontFamily="Bahnschrift Light" FontSize="24" Background="#FFE4E4E4" Margin="15,0,15,0" ></TextBox>
+        <TextBox x:Name="CitySell" Grid.Row="7" Grid.Column="1" FontFamily="Bahnschrift Light" FontSize="24" Background="#FFE4E4E4" Margin="15,0,15,0" ></TextBox>
+        <TextBox x:Name="StratSell" Grid.Row="8" Grid.Column="1" FontFamily="Bahnschrift Light" FontSize="24" Background="#FFE4E4E4" Margin="15,0,15,0" ></TextBox>
+        <TextBox x:Name="NumHouse" Grid.Row="9" Grid.Column="1" FontFamily="Bahnschrift Light" FontSize="24" Background="#FFE4E4E4" Margin="15,0,15,0" ></TextBox>
+        <TextBox x:Name="NumHouseSell" Grid.Row="10" Grid.Column="1" FontFamily="Bahnschrift Light" FontSize="24" Background="#FFE4E4E4" Margin="15,0,15,0" ></TextBox>
+        <TextBox x:Name="SrocArendi" Grid.Row="11" Grid.Column="1" FontFamily="Bahnschrift Light" FontSize="24" Background="#FFE4E4E4" Margin="15,0,15,0" ></TextBox>
+        <TextBox x:Name="PriseSell" Grid.Row="12" Grid.Column="1" FontFamily="Bahnschrift Light" FontSize="24" Background="#FFE4E4E4" Margin="15,0,15,0" ></TextBox>
+        <Button Grid.Row="13" Grid.Column="0" Content="Сдать в аренду" FontFamily="Bahnschrift Light" FontSize="24" Click="Button_Click"></Button>
+        <Button  Grid.Row="13" Grid.Column="1" Content="Отмена" FontFamily="Bahnschrift Light" FontSize="24" Click="Button_Click_1"></Button>
+    </Grid>
+</Window>

+ 94 - 0
Agency/Agency/Windows/Rent.xaml.cs

@@ -0,0 +1,94 @@
+using System;
+using System.Collections.Generic;
+using System.Linq;
+using System.Text;
+using System.Threading.Tasks;
+using System.Windows;
+using System.Windows.Controls;
+using System.Windows.Data;
+using System.Windows.Documents;
+using System.Windows.Input;
+using System.Windows.Media;
+using System.Windows.Media.Imaging;
+using System.Windows.Shapes;
+using System.Globalization;
+
+namespace Agency.Windows
+{
+    /// <summary>
+    /// Логика взаимодействия для Rent.xaml
+    /// </summary>
+    public partial class Rent : Window
+    {
+        public Rent()
+        {
+            InitializeComponent();
+        }
+
+        private void Button_Click(object sender, RoutedEventArgs e)
+        {
+            gr606_midvlContext context = new gr606_midvlContext();
+            var Treaty = context.Treaties;
+            var Propirty = context.TheProperties;
+            var listPerson = context.ListPeople;
+            var Adress = context.Addreses;
+            int numAddres = 0;
+            int numList = 0;
+            Addrese addrese = new Addrese()
+            {
+                Streat = StratSell.Text,
+                HouseNumber = Convert.ToInt32(NumHouse.Text),
+                FlatNumber = Convert.ToInt32(NumHouseSell.Text),
+                City = CitySell.Text,
+            };
+            numAddres = addrese.Id;
+            Adress.Add(addrese);
+            context.SaveChanges();
+            TheProperty newProperty = new TheProperty()
+            {
+                Name = DiscriptSell.Text,
+                Area = Convert.ToDouble(AreaSell.Text),
+                Rooms = Convert.ToInt32(CollRoomSell.Text),
+                PropertyType = TypeSell.Text,
+                District = Convert.ToString(RayonSell.Text),
+                YearOfConstruction = Convert.ToDateTime(YearOfBuild.Text),
+                Floor = Convert.ToInt32(ItazjSell.Text),
+                Owner = PersonSave.Id,
+                Address = addrese.Id,
+                Price = Convert.ToDecimal(PriseSell.Text),
+                TypeRent = "Сдаётся",
+            };
+            int numProperty = newProperty.Id;
+            Propirty.Add(newProperty);
+            context.SaveChanges();
+            ListPerson newListPerson = new ListPerson()
+            {
+                Idperson = PersonSave.Id,
+                Idproperty = newProperty.Id,
+            };
+            numList = newListPerson.Idlist;
+            listPerson.Add(newListPerson);
+            context.SaveChanges();
+            Treaty treaties = new Treaty()
+            {
+                PropertyId = newProperty.Id,
+                RentalPeriod = Convert.ToInt32(SrocArendi.Text),
+                DateOfConclusion = Convert.ToDateTime(DateTime.Now),
+                Cost = Convert.ToInt32(PriseSell.Text),
+                PersonsInTreaty = newListPerson.Idlist,
+            };
+            Treaty.Add(treaties);
+            context.SaveChanges();
+            HomeWindow home = new HomeWindow();
+            home.Show();
+            this.Hide();
+        }
+
+        private void Button_Click_1(object sender, RoutedEventArgs e)
+        {
+            Windows.HomeWindow home = new Windows.HomeWindow();
+            home.Show();
+            this.Hide();
+        }
+    }
+}

+ 44 - 0
Agency/Agency/Windows/RentProperty.xaml

@@ -0,0 +1,44 @@
+<Window x:Class="Agency.Windows.RentProperty"
+        xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
+        xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
+        xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
+        xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
+        xmlns:local="clr-namespace:Agency.Windows"
+        mc:Ignorable="d"
+        Title="Снять недвижимость" Height="450" Width="800">
+    <Grid>
+        <Grid.ColumnDefinitions>
+            <ColumnDefinition Width="235"></ColumnDefinition>
+            <ColumnDefinition></ColumnDefinition>
+            <ColumnDefinition Width="350"></ColumnDefinition>
+        </Grid.ColumnDefinitions>
+        <Grid.RowDefinitions>
+            <RowDefinition></RowDefinition>
+            <RowDefinition></RowDefinition>
+            <RowDefinition></RowDefinition>
+            <RowDefinition></RowDefinition>
+            <RowDefinition></RowDefinition>
+            <RowDefinition></RowDefinition>
+        </Grid.RowDefinitions>
+        <Label Grid.Row="0" Grid.Column="0" FontSize="26" FontFamily="Bahnschrift" Content="Крайняя цена:"></Label>
+        <Label Grid.Row="1" Grid.Column="0" FontSize="26" FontFamily="Bahnschrift" Content="Срок(в месяцах):"></Label>
+        <Label Grid.Row="2" Grid.Column="0" FontSize="26" FontFamily="Bahnschrift" Content="Тип недвижимости:"></Label>
+        <Label Grid.Row="3" Grid.Column="0" FontSize="26" FontFamily="Bahnschrift" Content="Город:"></Label>
+        <Label Grid.Row="4" Grid.Column="0" FontSize="26" FontFamily="Bahnschrift" Content="Район:"></Label>
+        <TextBox x:Name="BorderPrice" Grid.Row="0" Grid.Column="1" FontSize="26" FontFamily="Bahnschrift" Margin="10"></TextBox>
+        <TextBox x:Name="SrockRent" Grid.Row="1" Grid.Column="1" FontSize="26" FontFamily="Bahnschrift" Margin="10"></TextBox>
+        <ComboBox x:Name="TypeProperty" Grid.Row="2" Grid.Column="1" FontSize="26" FontFamily="Bahnschrift" Margin="10"></ComboBox>
+        <ComboBox x:Name="CityRent" Grid.Row="3" Grid.Column="1" FontSize="26" FontFamily="Bahnschrift" Margin="10"></ComboBox>
+        <ComboBox x:Name="RayonProperty" Grid.Row="4" Grid.Column="1" FontSize="26" FontFamily="Bahnschrift" Margin="10"></ComboBox>
+        <Button x:Name="SearhBtn" Grid.Row="5" Grid.Column="0" Content="Поиск" FontSize="26" FontFamily="Bahnschrift" Click="Search" Margin="15"></Button>
+        <Button x:Name="CloseForm" Grid.Row="5" Grid.Column="1" Content="Отмена" FontSize="26" FontFamily="Bahnschrift" Margin="15" Click="Close"/>
+        <ScrollViewer Grid.Column="2" Grid.Row="0" Grid.RowSpan="6">
+            <StackPanel Grid.Column="2" Grid.Row="0" Grid.RowSpan="6">
+                <ListBox x:Name="ListProperty">
+
+                </ListBox>
+            </StackPanel>
+        </ScrollViewer>
+    </Grid>
+    
+</Window>

+ 107 - 0
Agency/Agency/Windows/RentProperty.xaml.cs

@@ -0,0 +1,107 @@
+using System;
+using System.Collections.Generic;
+using System.Linq;
+using System.Text;
+using System.Threading.Tasks;
+using System.Windows;
+using System.Windows.Controls;
+using System.Windows.Data;
+using System.Windows.Documents;
+using System.Windows.Input;
+using System.Windows.Media;
+using System.Windows.Media.Imaging;
+using System.Windows.Shapes;
+
+namespace Agency.Windows
+{
+    /// <summary>
+    /// Логика взаимодействия для RentProperty.xaml
+    /// </summary>
+    public partial class RentProperty : Window
+    {
+        public RentProperty()
+        {
+            InitializeComponent();
+            gr606_midvlContext context = new gr606_midvlContext();
+            var address = context.Addreses;
+            var property = context.TheProperties;
+            foreach (var item in address)
+            {
+                if (CityRent.Items.Contains(item.City)) { }
+                else
+                {
+                    CityRent.Items.Add(item.City);
+                }
+
+            }
+            foreach (var prpIt in property)
+            {
+                if (TypeProperty.Items.Contains(prpIt.PropertyType)) { }
+                else
+                {
+                    TypeProperty.Items.Add(prpIt.PropertyType);
+                }
+                if (RayonProperty.Items.Contains(prpIt.District)) { }
+                else
+                {
+                    RayonProperty.Items.Add(prpIt.District);
+                }
+            }
+        }
+
+        private void Search(object sender, RoutedEventArgs e)
+        {
+
+            try
+            {
+                ListProperty.Items.Clear();
+                gr606_midvlContext context = new gr606_midvlContext();
+                var items = context.TheProperties.Where(x => x.TypeRent == "Сдаётся" && x.Price <= Convert.ToInt32(BorderPrice.Text)
+                && x.PropertyType == TypeProperty.Text && x.District == RayonProperty.Text);
+                var adreses = context.Addreses;
+                //string[] itemsList;
+                string post;
+                foreach (var item in items)
+                {
+                    
+                    //var adr = adreses.SingleOrDefault(x => x.Id == item.Address);
+                    post =  $"Описание: {item.Name}\n" +
+                            $"Стоимость: {item.Price}р\n" +
+                            $"Район: {item.District}\n" +
+                            $"Тип нидвижимости: {item.PropertyType}\n" +
+                            $"Этаж: {item.Floor}\n" +
+                            $"Кол-во комнат: {item.Rooms}\n" +
+                            $"Плащадь: {item.Area} м2\n" +
+                            $"*************************************\n" +
+                            $"Если заинтересовала недвижимость то обезательно\n" +
+                            $"Звоните в Агенство! Номер этой недвижимости: ({item.Id})\n" +
+                            $"Номер Агенства: (Тут уже будет номер)\n" +
+                            $"*************************************";
+                    ListProperty.Items.Add(post);
+                }
+
+                if (ListProperty.Items.Count == 0)
+                {
+                    ListProperty.Items.Add("Увы по вашим критериям недвижимости нет!");
+                }
+            }
+            catch (Exception)
+            {
+                ListProperty.Items.Add("Увы по вашим критериям недвижимости нет!");
+                
+            }          
+        }
+
+        void ListProperty_Click(object sender, EventArgs e)
+        {
+            MessageBox.Show(ListProperty.SelectedItem.ToString());
+        }
+
+        private void Close(object sender, RoutedEventArgs e)
+        {
+            Windows.HomeWindow home = new Windows.HomeWindow();
+            home.Show();
+            this.Hide();
+        }
+    }
+}

+ 56 - 0
Agency/Agency/Windows/Sell.xaml

@@ -0,0 +1,56 @@
+<Window x:Class="Agency.Windows.Sell"
+        xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
+        xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
+        xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
+        xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
+        xmlns:local="clr-namespace:Agency.Windows"
+        mc:Ignorable="d"
+        Title="Добавить нидвижимость на продажу" Height="550" Width="500">
+    <Grid>
+        <Grid.RowDefinitions>
+            <RowDefinition></RowDefinition>
+            <RowDefinition></RowDefinition>
+            <RowDefinition></RowDefinition>
+            <RowDefinition></RowDefinition>
+            <RowDefinition></RowDefinition>
+            <RowDefinition></RowDefinition>
+            <RowDefinition></RowDefinition>
+            <RowDefinition></RowDefinition>
+            <RowDefinition></RowDefinition>
+            <RowDefinition></RowDefinition>
+            <RowDefinition></RowDefinition>
+            <RowDefinition></RowDefinition>
+            <RowDefinition></RowDefinition>
+        </Grid.RowDefinitions>
+        <Grid.ColumnDefinitions>
+            <ColumnDefinition Width="225"></ColumnDefinition>
+            <ColumnDefinition></ColumnDefinition>
+        </Grid.ColumnDefinitions>
+        <Label Grid.Row="0" Grid.Column="0" Content="Описание:" FontFamily="Bahnschrift Light" FontSize="24"></Label>
+        <Label Grid.Row="1" Grid.Column="0" Content="Площадь:" FontFamily="Bahnschrift Light" FontSize="24"></Label>
+        <Label Grid.Row="2" Grid.Column="0" Content="Кол-во комнат:" FontFamily="Bahnschrift Light" FontSize="24"></Label>
+        <Label Grid.Row="3" Grid.Column="0" Content="Тип нидвижимости:" FontFamily="Bahnschrift Light" FontSize="24"></Label>
+        <Label Grid.Row="4" Grid.Column="0" Content="Район:" FontFamily="Bahnschrift Light" FontSize="24"></Label>
+        <Label Grid.Row="5" Grid.Column="0" Content="Год постройки:" FontFamily="Bahnschrift Light" FontSize="24"></Label>
+        <Label Grid.Row="6" Grid.Column="0" Content="Этаж:" FontFamily="Bahnschrift Light" FontSize="24"></Label>
+        <Label Grid.Row="7" Grid.Column="0" Content="Город:" FontFamily="Bahnschrift Light" FontSize="24"></Label>
+        <Label Grid.Row="8" Grid.Column="0" Content="Улица:" FontFamily="Bahnschrift Light" FontSize="24"></Label>
+        <Label Grid.Row="9" Grid.Column="0" Content="Номер дома:" FontFamily="Bahnschrift Light" FontSize="24"></Label>
+        <Label Grid.Row="10" Grid.Column="0" Content="Номер квартиры:" FontFamily="Bahnschrift Light" FontSize="24"></Label>
+        <Label Grid.Row="11" Grid.Column="0" Content="Стоимость:" FontFamily="Bahnschrift Light" FontSize="24"></Label>
+        <TextBox x:Name="DiscriptSell" Grid.Row="0" Grid.Column="1" FontFamily="Bahnschrift Light" FontSize="24" Background="#FFE4E4E4" Margin="15,0,15,0" ></TextBox>
+        <TextBox x:Name="AreaSell" Grid.Row="1" Grid.Column="1" FontFamily="Bahnschrift Light" FontSize="24" Background="#FFE4E4E4" Margin="15,0,15,0" ></TextBox>
+        <TextBox x:Name="CollRoomSell" Grid.Row="2" Grid.Column="1" FontFamily="Bahnschrift Light" FontSize="24" Background="#FFE4E4E4" Margin="15,0,15,0" ></TextBox>
+        <TextBox x:Name="TypeSell" Grid.Row="3" Grid.Column="1" FontFamily="Bahnschrift Light" FontSize="24" Background="#FFE4E4E4" Margin="15,0,15,0" ></TextBox>
+        <TextBox x:Name="RayonSell" Grid.Row="4" Grid.Column="1" FontFamily="Bahnschrift Light" FontSize="24" Background="#FFE4E4E4" Margin="15,0,15,0" ></TextBox>
+        <TextBox x:Name="YearOfBuild" Grid.Row="5" Grid.Column="1" FontFamily="Bahnschrift Light" FontSize="24" Background="#FFE4E4E4" Margin="15,0,15,0" ></TextBox>
+        <TextBox x:Name="ItazjSell" Grid.Row="6" Grid.Column="1" FontFamily="Bahnschrift Light" FontSize="24" Background="#FFE4E4E4" Margin="15,0,15,0" ></TextBox>
+        <TextBox x:Name="CitySell" Grid.Row="7" Grid.Column="1" FontFamily="Bahnschrift Light" FontSize="24" Background="#FFE4E4E4" Margin="15,0,15,0" ></TextBox>
+        <TextBox x:Name="StratSell" Grid.Row="8" Grid.Column="1" FontFamily="Bahnschrift Light" FontSize="24" Background="#FFE4E4E4" Margin="15,0,15,0" ></TextBox>
+        <TextBox x:Name="NumHouse" Grid.Row="9" Grid.Column="1" FontFamily="Bahnschrift Light" FontSize="24" Background="#FFE4E4E4" Margin="15,0,15,0" ></TextBox>
+        <TextBox x:Name="NumHouseSell" Grid.Row="10" Grid.Column="1" FontFamily="Bahnschrift Light" FontSize="24" Background="#FFE4E4E4" Margin="15,0,15,0" ></TextBox>
+        <TextBox x:Name="PriceSell" Grid.Row="11" Grid.Column="1" FontFamily="Bahnschrift Light" FontSize="24" Background="#FFE4E4E4" Margin="15,0,15,0" ></TextBox>
+        <Button Grid.Row="12" Grid.Column="0" Content="Добавить нидвижимость" FontFamily="Bahnschrift Light" FontSize="24" Click="Button_Click"></Button>
+        <Button Grid.Row="12" Grid.Column="1" Content="Отмена" FontFamily="Bahnschrift Light" FontSize="24" Click="Button_Click_1"></Button>
+    </Grid>
+</Window>

+ 74 - 0
Agency/Agency/Windows/Sell.xaml.cs

@@ -0,0 +1,74 @@
+using System;
+using System.Collections.Generic;
+using System.Linq;
+using System.Text;
+using System.Threading.Tasks;
+using System.Windows;
+using System.Windows.Controls;
+using System.Windows.Data;
+using System.Windows.Documents;
+using System.Windows.Input;
+using System.Windows.Media;
+using System.Windows.Media.Imaging;
+using System.Windows.Shapes;
+
+namespace Agency.Windows
+{
+    /// <summary>
+    /// Логика взаимодействия для Sell.xaml
+    /// </summary>
+    public partial class Sell : Window
+    {
+        public Sell()
+        {
+            InitializeComponent();
+        }
+
+        private void Button_Click(object sender, RoutedEventArgs e)
+        {
+            if (DiscriptSell.Text != "" && AreaSell.Text != "" && CollRoomSell.Text != "" && TypeSell.Text != "" && YearOfBuild.Text != "" && ItazjSell.Text != "" && StratSell.Text != "" && NumHouse.Text != "" && NumHouseSell.Text != "" && PriceSell.Text != "")
+            {
+                gr606_midvlContext context = new gr606_midvlContext();
+                var sellProperty = context.TheProperties;
+                var sellAddress = context.Addreses;
+
+                Addrese address = new Addrese()
+                {
+                    Streat = StratSell.Text,
+                    HouseNumber = Convert.ToInt32(NumHouse.Text),
+                    FlatNumber = Convert.ToInt32(NumHouseSell.Text),
+                    City = CitySell.Text,
+                };
+                context.Add(address);
+                context.SaveChanges();
+                TheProperty newProperty = new TheProperty()
+                {
+                    Name = DiscriptSell.Text,
+                    Area = Convert.ToDouble(AreaSell.Text),
+                    Rooms = Convert.ToInt32(CollRoomSell.Text),
+                    PropertyType = TypeSell.Text,
+                    District = Convert.ToString(RayonSell.Text),
+                    YearOfConstruction = Convert.ToDateTime(YearOfBuild.Text),
+                    Floor = Convert.ToInt32(ItazjSell.Text),
+                    Owner = PersonSave.Id,
+                    Price = Convert.ToDecimal(PriceSell.Text),
+                    Address = address.Id,
+                    TypeRent = "Продаётся",
+                };               
+                context.Add(newProperty);
+                context.SaveChanges();
+                HomeWindow homeWindow = new HomeWindow();
+
+                homeWindow.Show();
+                this.Hide();
+            }
+        }
+
+        private void Button_Click_1(object sender, RoutedEventArgs e)
+        {
+            Windows.HomeWindow home = new Windows.HomeWindow();
+            home.Show();
+            this.Hide();
+        }
+    }
+}

+ 722 - 0
Agency/Agency/bin/Debug/net6.0-windows/Agency.deps.json

@@ -0,0 +1,722 @@
+{
+  "runtimeTarget": {
+    "name": ".NETCoreApp,Version=v6.0",
+    "signature": ""
+  },
+  "compilationOptions": {},
+  "targets": {
+    ".NETCoreApp,Version=v6.0": {
+      "Agency/1.0.0": {
+        "dependencies": {
+          "Microsoft.EntityFrameworkCore": "6.0.5",
+          "Microsoft.EntityFrameworkCore.Design": "6.0.5",
+          "Microsoft.EntityFrameworkCore.SqlServer": "6.0.5",
+          "Microsoft.EntityFrameworkCore.Tools": "6.0.5"
+        },
+        "runtime": {
+          "Agency.dll": {}
+        }
+      },
+      "Humanizer.Core/2.8.26": {
+        "runtime": {
+          "lib/netstandard2.0/Humanizer.dll": {
+            "assemblyVersion": "2.8.0.0",
+            "fileVersion": "2.8.26.1919"
+          }
+        }
+      },
+      "Microsoft.CSharp/4.5.0": {},
+      "Microsoft.Data.SqlClient/2.1.4": {
+        "dependencies": {
+          "Microsoft.Data.SqlClient.SNI.runtime": "2.1.1",
+          "Microsoft.Identity.Client": "4.21.1",
+          "Microsoft.IdentityModel.JsonWebTokens": "6.8.0",
+          "Microsoft.IdentityModel.Protocols.OpenIdConnect": "6.8.0",
+          "Microsoft.Win32.Registry": "4.7.0",
+          "System.Configuration.ConfigurationManager": "4.7.0",
+          "System.Diagnostics.DiagnosticSource": "6.0.0",
+          "System.Runtime.Caching": "4.7.0",
+          "System.Security.Principal.Windows": "4.7.0",
+          "System.Text.Encoding.CodePages": "4.7.0"
+        },
+        "runtime": {
+          "lib/netcoreapp3.1/Microsoft.Data.SqlClient.dll": {
+            "assemblyVersion": "2.0.20168.4",
+            "fileVersion": "2.0.20168.4"
+          }
+        },
+        "runtimeTargets": {
+          "runtimes/unix/lib/netcoreapp3.1/Microsoft.Data.SqlClient.dll": {
+            "rid": "unix",
+            "assetType": "runtime",
+            "assemblyVersion": "2.0.20168.4",
+            "fileVersion": "2.0.20168.4"
+          },
+          "runtimes/win/lib/netcoreapp3.1/Microsoft.Data.SqlClient.dll": {
+            "rid": "win",
+            "assetType": "runtime",
+            "assemblyVersion": "2.0.20168.4",
+            "fileVersion": "2.0.20168.4"
+          }
+        }
+      },
+      "Microsoft.Data.SqlClient.SNI.runtime/2.1.1": {
+        "runtimeTargets": {
+          "runtimes/win-arm/native/Microsoft.Data.SqlClient.SNI.dll": {
+            "rid": "win-arm",
+            "assetType": "native",
+            "fileVersion": "2.1.1.0"
+          },
+          "runtimes/win-arm64/native/Microsoft.Data.SqlClient.SNI.dll": {
+            "rid": "win-arm64",
+            "assetType": "native",
+            "fileVersion": "2.1.1.0"
+          },
+          "runtimes/win-x64/native/Microsoft.Data.SqlClient.SNI.dll": {
+            "rid": "win-x64",
+            "assetType": "native",
+            "fileVersion": "2.1.1.0"
+          },
+          "runtimes/win-x86/native/Microsoft.Data.SqlClient.SNI.dll": {
+            "rid": "win-x86",
+            "assetType": "native",
+            "fileVersion": "2.1.1.0"
+          }
+        }
+      },
+      "Microsoft.EntityFrameworkCore/6.0.5": {
+        "dependencies": {
+          "Microsoft.EntityFrameworkCore.Abstractions": "6.0.5",
+          "Microsoft.EntityFrameworkCore.Analyzers": "6.0.5",
+          "Microsoft.Extensions.Caching.Memory": "6.0.1",
+          "Microsoft.Extensions.DependencyInjection": "6.0.0",
+          "Microsoft.Extensions.Logging": "6.0.0",
+          "System.Collections.Immutable": "6.0.0",
+          "System.Diagnostics.DiagnosticSource": "6.0.0"
+        },
+        "runtime": {
+          "lib/net6.0/Microsoft.EntityFrameworkCore.dll": {
+            "assemblyVersion": "6.0.5.0",
+            "fileVersion": "6.0.522.21804"
+          }
+        }
+      },
+      "Microsoft.EntityFrameworkCore.Abstractions/6.0.5": {
+        "runtime": {
+          "lib/net6.0/Microsoft.EntityFrameworkCore.Abstractions.dll": {
+            "assemblyVersion": "6.0.5.0",
+            "fileVersion": "6.0.522.21804"
+          }
+        }
+      },
+      "Microsoft.EntityFrameworkCore.Analyzers/6.0.5": {},
+      "Microsoft.EntityFrameworkCore.Design/6.0.5": {
+        "dependencies": {
+          "Humanizer.Core": "2.8.26",
+          "Microsoft.EntityFrameworkCore.Relational": "6.0.5"
+        },
+        "runtime": {
+          "lib/net6.0/Microsoft.EntityFrameworkCore.Design.dll": {
+            "assemblyVersion": "6.0.5.0",
+            "fileVersion": "6.0.522.21804"
+          }
+        }
+      },
+      "Microsoft.EntityFrameworkCore.Relational/6.0.5": {
+        "dependencies": {
+          "Microsoft.EntityFrameworkCore": "6.0.5",
+          "Microsoft.Extensions.Configuration.Abstractions": "6.0.0"
+        },
+        "runtime": {
+          "lib/net6.0/Microsoft.EntityFrameworkCore.Relational.dll": {
+            "assemblyVersion": "6.0.5.0",
+            "fileVersion": "6.0.522.21804"
+          }
+        }
+      },
+      "Microsoft.EntityFrameworkCore.SqlServer/6.0.5": {
+        "dependencies": {
+          "Microsoft.Data.SqlClient": "2.1.4",
+          "Microsoft.EntityFrameworkCore.Relational": "6.0.5"
+        },
+        "runtime": {
+          "lib/net6.0/Microsoft.EntityFrameworkCore.SqlServer.dll": {
+            "assemblyVersion": "6.0.5.0",
+            "fileVersion": "6.0.522.21804"
+          }
+        }
+      },
+      "Microsoft.EntityFrameworkCore.Tools/6.0.5": {
+        "dependencies": {
+          "Microsoft.EntityFrameworkCore.Design": "6.0.5"
+        }
+      },
+      "Microsoft.Extensions.Caching.Abstractions/6.0.0": {
+        "dependencies": {
+          "Microsoft.Extensions.Primitives": "6.0.0"
+        },
+        "runtime": {
+          "lib/netstandard2.0/Microsoft.Extensions.Caching.Abstractions.dll": {
+            "assemblyVersion": "6.0.0.0",
+            "fileVersion": "6.0.21.52210"
+          }
+        }
+      },
+      "Microsoft.Extensions.Caching.Memory/6.0.1": {
+        "dependencies": {
+          "Microsoft.Extensions.Caching.Abstractions": "6.0.0",
+          "Microsoft.Extensions.DependencyInjection.Abstractions": "6.0.0",
+          "Microsoft.Extensions.Logging.Abstractions": "6.0.0",
+          "Microsoft.Extensions.Options": "6.0.0",
+          "Microsoft.Extensions.Primitives": "6.0.0"
+        },
+        "runtime": {
+          "lib/netstandard2.0/Microsoft.Extensions.Caching.Memory.dll": {
+            "assemblyVersion": "6.0.0.0",
+            "fileVersion": "6.0.222.6406"
+          }
+        }
+      },
+      "Microsoft.Extensions.Configuration.Abstractions/6.0.0": {
+        "dependencies": {
+          "Microsoft.Extensions.Primitives": "6.0.0"
+        },
+        "runtime": {
+          "lib/netstandard2.0/Microsoft.Extensions.Configuration.Abstractions.dll": {
+            "assemblyVersion": "6.0.0.0",
+            "fileVersion": "6.0.21.52210"
+          }
+        }
+      },
+      "Microsoft.Extensions.DependencyInjection/6.0.0": {
+        "dependencies": {
+          "Microsoft.Extensions.DependencyInjection.Abstractions": "6.0.0",
+          "System.Runtime.CompilerServices.Unsafe": "6.0.0"
+        },
+        "runtime": {
+          "lib/net6.0/Microsoft.Extensions.DependencyInjection.dll": {
+            "assemblyVersion": "6.0.0.0",
+            "fileVersion": "6.0.21.52210"
+          }
+        }
+      },
+      "Microsoft.Extensions.DependencyInjection.Abstractions/6.0.0": {
+        "runtime": {
+          "lib/net6.0/Microsoft.Extensions.DependencyInjection.Abstractions.dll": {
+            "assemblyVersion": "6.0.0.0",
+            "fileVersion": "6.0.21.52210"
+          }
+        }
+      },
+      "Microsoft.Extensions.Logging/6.0.0": {
+        "dependencies": {
+          "Microsoft.Extensions.DependencyInjection": "6.0.0",
+          "Microsoft.Extensions.DependencyInjection.Abstractions": "6.0.0",
+          "Microsoft.Extensions.Logging.Abstractions": "6.0.0",
+          "Microsoft.Extensions.Options": "6.0.0",
+          "System.Diagnostics.DiagnosticSource": "6.0.0"
+        },
+        "runtime": {
+          "lib/netstandard2.1/Microsoft.Extensions.Logging.dll": {
+            "assemblyVersion": "6.0.0.0",
+            "fileVersion": "6.0.21.52210"
+          }
+        }
+      },
+      "Microsoft.Extensions.Logging.Abstractions/6.0.0": {
+        "runtime": {
+          "lib/net6.0/Microsoft.Extensions.Logging.Abstractions.dll": {
+            "assemblyVersion": "6.0.0.0",
+            "fileVersion": "6.0.21.52210"
+          }
+        }
+      },
+      "Microsoft.Extensions.Options/6.0.0": {
+        "dependencies": {
+          "Microsoft.Extensions.DependencyInjection.Abstractions": "6.0.0",
+          "Microsoft.Extensions.Primitives": "6.0.0"
+        },
+        "runtime": {
+          "lib/netstandard2.1/Microsoft.Extensions.Options.dll": {
+            "assemblyVersion": "6.0.0.0",
+            "fileVersion": "6.0.21.52210"
+          }
+        }
+      },
+      "Microsoft.Extensions.Primitives/6.0.0": {
+        "dependencies": {
+          "System.Runtime.CompilerServices.Unsafe": "6.0.0"
+        },
+        "runtime": {
+          "lib/net6.0/Microsoft.Extensions.Primitives.dll": {
+            "assemblyVersion": "6.0.0.0",
+            "fileVersion": "6.0.21.52210"
+          }
+        }
+      },
+      "Microsoft.Identity.Client/4.21.1": {
+        "runtime": {
+          "lib/netcoreapp2.1/Microsoft.Identity.Client.dll": {
+            "assemblyVersion": "4.21.1.0",
+            "fileVersion": "4.21.1.0"
+          }
+        }
+      },
+      "Microsoft.IdentityModel.JsonWebTokens/6.8.0": {
+        "dependencies": {
+          "Microsoft.IdentityModel.Tokens": "6.8.0"
+        },
+        "runtime": {
+          "lib/netstandard2.0/Microsoft.IdentityModel.JsonWebTokens.dll": {
+            "assemblyVersion": "6.8.0.0",
+            "fileVersion": "6.8.0.11012"
+          }
+        }
+      },
+      "Microsoft.IdentityModel.Logging/6.8.0": {
+        "runtime": {
+          "lib/netstandard2.0/Microsoft.IdentityModel.Logging.dll": {
+            "assemblyVersion": "6.8.0.0",
+            "fileVersion": "6.8.0.11012"
+          }
+        }
+      },
+      "Microsoft.IdentityModel.Protocols/6.8.0": {
+        "dependencies": {
+          "Microsoft.IdentityModel.Logging": "6.8.0",
+          "Microsoft.IdentityModel.Tokens": "6.8.0"
+        },
+        "runtime": {
+          "lib/netstandard2.0/Microsoft.IdentityModel.Protocols.dll": {
+            "assemblyVersion": "6.8.0.0",
+            "fileVersion": "6.8.0.11012"
+          }
+        }
+      },
+      "Microsoft.IdentityModel.Protocols.OpenIdConnect/6.8.0": {
+        "dependencies": {
+          "Microsoft.IdentityModel.Protocols": "6.8.0",
+          "System.IdentityModel.Tokens.Jwt": "6.8.0"
+        },
+        "runtime": {
+          "lib/netstandard2.0/Microsoft.IdentityModel.Protocols.OpenIdConnect.dll": {
+            "assemblyVersion": "6.8.0.0",
+            "fileVersion": "6.8.0.11012"
+          }
+        }
+      },
+      "Microsoft.IdentityModel.Tokens/6.8.0": {
+        "dependencies": {
+          "Microsoft.CSharp": "4.5.0",
+          "Microsoft.IdentityModel.Logging": "6.8.0",
+          "System.Security.Cryptography.Cng": "4.5.0"
+        },
+        "runtime": {
+          "lib/netstandard2.0/Microsoft.IdentityModel.Tokens.dll": {
+            "assemblyVersion": "6.8.0.0",
+            "fileVersion": "6.8.0.11012"
+          }
+        }
+      },
+      "Microsoft.NETCore.Platforms/3.1.0": {},
+      "Microsoft.Win32.Registry/4.7.0": {
+        "dependencies": {
+          "System.Security.AccessControl": "4.7.0",
+          "System.Security.Principal.Windows": "4.7.0"
+        }
+      },
+      "Microsoft.Win32.SystemEvents/4.7.0": {
+        "dependencies": {
+          "Microsoft.NETCore.Platforms": "3.1.0"
+        }
+      },
+      "System.Collections.Immutable/6.0.0": {
+        "dependencies": {
+          "System.Runtime.CompilerServices.Unsafe": "6.0.0"
+        }
+      },
+      "System.Configuration.ConfigurationManager/4.7.0": {
+        "dependencies": {
+          "System.Security.Cryptography.ProtectedData": "4.7.0",
+          "System.Security.Permissions": "4.7.0"
+        }
+      },
+      "System.Diagnostics.DiagnosticSource/6.0.0": {
+        "dependencies": {
+          "System.Runtime.CompilerServices.Unsafe": "6.0.0"
+        }
+      },
+      "System.Drawing.Common/4.7.0": {
+        "dependencies": {
+          "Microsoft.NETCore.Platforms": "3.1.0",
+          "Microsoft.Win32.SystemEvents": "4.7.0"
+        }
+      },
+      "System.IdentityModel.Tokens.Jwt/6.8.0": {
+        "dependencies": {
+          "Microsoft.IdentityModel.JsonWebTokens": "6.8.0",
+          "Microsoft.IdentityModel.Tokens": "6.8.0"
+        },
+        "runtime": {
+          "lib/netstandard2.0/System.IdentityModel.Tokens.Jwt.dll": {
+            "assemblyVersion": "6.8.0.0",
+            "fileVersion": "6.8.0.11012"
+          }
+        }
+      },
+      "System.Runtime.Caching/4.7.0": {
+        "dependencies": {
+          "System.Configuration.ConfigurationManager": "4.7.0"
+        },
+        "runtime": {
+          "lib/netstandard2.0/System.Runtime.Caching.dll": {
+            "assemblyVersion": "4.0.1.0",
+            "fileVersion": "4.700.19.56404"
+          }
+        },
+        "runtimeTargets": {
+          "runtimes/win/lib/netstandard2.0/System.Runtime.Caching.dll": {
+            "rid": "win",
+            "assetType": "runtime",
+            "assemblyVersion": "4.0.1.0",
+            "fileVersion": "4.700.19.56404"
+          }
+        }
+      },
+      "System.Runtime.CompilerServices.Unsafe/6.0.0": {},
+      "System.Security.AccessControl/4.7.0": {
+        "dependencies": {
+          "Microsoft.NETCore.Platforms": "3.1.0",
+          "System.Security.Principal.Windows": "4.7.0"
+        }
+      },
+      "System.Security.Cryptography.Cng/4.5.0": {},
+      "System.Security.Cryptography.ProtectedData/4.7.0": {},
+      "System.Security.Permissions/4.7.0": {
+        "dependencies": {
+          "System.Security.AccessControl": "4.7.0",
+          "System.Windows.Extensions": "4.7.0"
+        }
+      },
+      "System.Security.Principal.Windows/4.7.0": {},
+      "System.Text.Encoding.CodePages/4.7.0": {
+        "dependencies": {
+          "Microsoft.NETCore.Platforms": "3.1.0"
+        }
+      },
+      "System.Windows.Extensions/4.7.0": {
+        "dependencies": {
+          "System.Drawing.Common": "4.7.0"
+        }
+      }
+    }
+  },
+  "libraries": {
+    "Agency/1.0.0": {
+      "type": "project",
+      "serviceable": false,
+      "sha512": ""
+    },
+    "Humanizer.Core/2.8.26": {
+      "type": "package",
+      "serviceable": true,
+      "sha512": "sha512-OiKusGL20vby4uDEswj2IgkdchC1yQ6rwbIkZDVBPIR6al2b7n3pC91elBul9q33KaBgRKhbZH3+2Ur4fnWx2A==",
+      "path": "humanizer.core/2.8.26",
+      "hashPath": "humanizer.core.2.8.26.nupkg.sha512"
+    },
+    "Microsoft.CSharp/4.5.0": {
+      "type": "package",
+      "serviceable": true,
+      "sha512": "sha512-kaj6Wb4qoMuH3HySFJhxwQfe8R/sJsNJnANrvv8WdFPMoNbKY5htfNscv+LHCu5ipz+49m2e+WQXpLXr9XYemQ==",
+      "path": "microsoft.csharp/4.5.0",
+      "hashPath": "microsoft.csharp.4.5.0.nupkg.sha512"
+    },
+    "Microsoft.Data.SqlClient/2.1.4": {
+      "type": "package",
+      "serviceable": true,
+      "sha512": "sha512-cDcKBTKILdRuAzJjbgXwGcUQXzMue+SG02kD4tZTXXfoz4ALrGLpCnA5k9khw3fnAMlMnRzLIGuvRdJurqmESA==",
+      "path": "microsoft.data.sqlclient/2.1.4",
+      "hashPath": "microsoft.data.sqlclient.2.1.4.nupkg.sha512"
+    },
+    "Microsoft.Data.SqlClient.SNI.runtime/2.1.1": {
+      "type": "package",
+      "serviceable": true,
+      "sha512": "sha512-JwGDWkyZgm7SATJmFLfT2G4teimvNbNtq3lsS9a5DzvhEZnQrZjZhevCU0vdx8MjheLHoG5vocuO03QtioFQxQ==",
+      "path": "microsoft.data.sqlclient.sni.runtime/2.1.1",
+      "hashPath": "microsoft.data.sqlclient.sni.runtime.2.1.1.nupkg.sha512"
+    },
+    "Microsoft.EntityFrameworkCore/6.0.5": {
+      "type": "package",
+      "serviceable": true,
+      "sha512": "sha512-hP5J3EvpVdZmCn1D3ovedphvZrIn3OXZaBZfEnCkSCqqbqAu6xzwbNqwRkik0y4R6zOOf4eLh1riwjy4eAUlZA==",
+      "path": "microsoft.entityframeworkcore/6.0.5",
+      "hashPath": "microsoft.entityframeworkcore.6.0.5.nupkg.sha512"
+    },
+    "Microsoft.EntityFrameworkCore.Abstractions/6.0.5": {
+      "type": "package",
+      "serviceable": true,
+      "sha512": "sha512-Q3/fKW6XCTfnDk4fYP2BJZi84cD2SuCPkP3A3QqxvCQcXbX90bfSLzVIsoMXzigHGJgZUJ+Un7QodT5Nvk0+Eg==",
+      "path": "microsoft.entityframeworkcore.abstractions/6.0.5",
+      "hashPath": "microsoft.entityframeworkcore.abstractions.6.0.5.nupkg.sha512"
+    },
+    "Microsoft.EntityFrameworkCore.Analyzers/6.0.5": {
+      "type": "package",
+      "serviceable": true,
+      "sha512": "sha512-QUeDIhs+O+MoDEc3k60mNyVDbwyDURCqZQlZoKShuZUcSfXSrDMbHKuFSxBIDNQBt092qSjfnwf7w0Ua/IB3Zw==",
+      "path": "microsoft.entityframeworkcore.analyzers/6.0.5",
+      "hashPath": "microsoft.entityframeworkcore.analyzers.6.0.5.nupkg.sha512"
+    },
+    "Microsoft.EntityFrameworkCore.Design/6.0.5": {
+      "type": "package",
+      "serviceable": true,
+      "sha512": "sha512-zNjMWJ6MJ/Qm7S6wFBqVgn7DEpilbDMy0xgA7c4Y1yY9/LoaC2pWwWO4ePaYoPCZpLx/eTViWEr5ZXta/vK//Q==",
+      "path": "microsoft.entityframeworkcore.design/6.0.5",
+      "hashPath": "microsoft.entityframeworkcore.design.6.0.5.nupkg.sha512"
+    },
+    "Microsoft.EntityFrameworkCore.Relational/6.0.5": {
+      "type": "package",
+      "serviceable": true,
+      "sha512": "sha512-vhAQizlAgvPfurkh9XysNaFc/g3WPXtSka3Y1rXuQdnT//p16CDKt9lO9h+rYmooD+cA7TijSxwqck4GApDT/Q==",
+      "path": "microsoft.entityframeworkcore.relational/6.0.5",
+      "hashPath": "microsoft.entityframeworkcore.relational.6.0.5.nupkg.sha512"
+    },
+    "Microsoft.EntityFrameworkCore.SqlServer/6.0.5": {
+      "type": "package",
+      "serviceable": true,
+      "sha512": "sha512-fBBG1AvrqPSvTEWyg9W18F/obiV7Soi/RItwBt48kjte1heRaogCsKj8KBnJQACM/8L+NAhyKp3BH12nN7+yDA==",
+      "path": "microsoft.entityframeworkcore.sqlserver/6.0.5",
+      "hashPath": "microsoft.entityframeworkcore.sqlserver.6.0.5.nupkg.sha512"
+    },
+    "Microsoft.EntityFrameworkCore.Tools/6.0.5": {
+      "type": "package",
+      "serviceable": true,
+      "sha512": "sha512-aeCzVNLmDl9IfB19WAjrlKcG61Cl4/ZV/9ubifmifKEps+kvMkKIcams5j+8q6dtx9/UL2x3tbOz2BS3eU0sXQ==",
+      "path": "microsoft.entityframeworkcore.tools/6.0.5",
+      "hashPath": "microsoft.entityframeworkcore.tools.6.0.5.nupkg.sha512"
+    },
+    "Microsoft.Extensions.Caching.Abstractions/6.0.0": {
+      "type": "package",
+      "serviceable": true,
+      "sha512": "sha512-bcz5sSFJbganH0+YrfvIjJDIcKNW7TL07C4d1eTmXy/wOt52iz4LVogJb6pazs7W0+74j0YpXFErvp++Aq5Bsw==",
+      "path": "microsoft.extensions.caching.abstractions/6.0.0",
+      "hashPath": "microsoft.extensions.caching.abstractions.6.0.0.nupkg.sha512"
+    },
+    "Microsoft.Extensions.Caching.Memory/6.0.1": {
+      "type": "package",
+      "serviceable": true,
+      "sha512": "sha512-B4y+Cev05eMcjf1na0v9gza6GUtahXbtY1JCypIgx3B4Ea/KAgsWyXEmW4q6zMbmTMtKzmPVk09rvFJirvMwTg==",
+      "path": "microsoft.extensions.caching.memory/6.0.1",
+      "hashPath": "microsoft.extensions.caching.memory.6.0.1.nupkg.sha512"
+    },
+    "Microsoft.Extensions.Configuration.Abstractions/6.0.0": {
+      "type": "package",
+      "serviceable": true,
+      "sha512": "sha512-qWzV9o+ZRWq+pGm+1dF+R7qTgTYoXvbyowRoBxQJGfqTpqDun2eteerjRQhq5PQ/14S+lqto3Ft4gYaRyl4rdQ==",
+      "path": "microsoft.extensions.configuration.abstractions/6.0.0",
+      "hashPath": "microsoft.extensions.configuration.abstractions.6.0.0.nupkg.sha512"
+    },
+    "Microsoft.Extensions.DependencyInjection/6.0.0": {
+      "type": "package",
+      "serviceable": true,
+      "sha512": "sha512-k6PWQMuoBDGGHOQTtyois2u4AwyVcIwL2LaSLlTZQm2CYcJ1pxbt6jfAnpWmzENA/wfrYRI/X9DTLoUkE4AsLw==",
+      "path": "microsoft.extensions.dependencyinjection/6.0.0",
+      "hashPath": "microsoft.extensions.dependencyinjection.6.0.0.nupkg.sha512"
+    },
+    "Microsoft.Extensions.DependencyInjection.Abstractions/6.0.0": {
+      "type": "package",
+      "serviceable": true,
+      "sha512": "sha512-xlzi2IYREJH3/m6+lUrQlujzX8wDitm4QGnUu6kUXTQAWPuZY8i+ticFJbzfqaetLA6KR/rO6Ew/HuYD+bxifg==",
+      "path": "microsoft.extensions.dependencyinjection.abstractions/6.0.0",
+      "hashPath": "microsoft.extensions.dependencyinjection.abstractions.6.0.0.nupkg.sha512"
+    },
+    "Microsoft.Extensions.Logging/6.0.0": {
+      "type": "package",
+      "serviceable": true,
+      "sha512": "sha512-eIbyj40QDg1NDz0HBW0S5f3wrLVnKWnDJ/JtZ+yJDFnDj90VoPuoPmFkeaXrtu+0cKm5GRAwoDf+dBWXK0TUdg==",
+      "path": "microsoft.extensions.logging/6.0.0",
+      "hashPath": "microsoft.extensions.logging.6.0.0.nupkg.sha512"
+    },
+    "Microsoft.Extensions.Logging.Abstractions/6.0.0": {
+      "type": "package",
+      "serviceable": true,
+      "sha512": "sha512-/HggWBbTwy8TgebGSX5DBZ24ndhzi93sHUBDvP1IxbZD7FDokYzdAr6+vbWGjw2XAfR2EJ1sfKUotpjHnFWPxA==",
+      "path": "microsoft.extensions.logging.abstractions/6.0.0",
+      "hashPath": "microsoft.extensions.logging.abstractions.6.0.0.nupkg.sha512"
+    },
+    "Microsoft.Extensions.Options/6.0.0": {
+      "type": "package",
+      "serviceable": true,
+      "sha512": "sha512-dzXN0+V1AyjOe2xcJ86Qbo233KHuLEY0njf/P2Kw8SfJU+d45HNS2ctJdnEnrWbM9Ye2eFgaC5Mj9otRMU6IsQ==",
+      "path": "microsoft.extensions.options/6.0.0",
+      "hashPath": "microsoft.extensions.options.6.0.0.nupkg.sha512"
+    },
+    "Microsoft.Extensions.Primitives/6.0.0": {
+      "type": "package",
+      "serviceable": true,
+      "sha512": "sha512-9+PnzmQFfEFNR9J2aDTfJGGupShHjOuGw4VUv+JB044biSHrnmCIMD+mJHmb2H7YryrfBEXDurxQ47gJZdCKNQ==",
+      "path": "microsoft.extensions.primitives/6.0.0",
+      "hashPath": "microsoft.extensions.primitives.6.0.0.nupkg.sha512"
+    },
+    "Microsoft.Identity.Client/4.21.1": {
+      "type": "package",
+      "serviceable": true,
+      "sha512": "sha512-vycgk7S/HAbHaUaK4Tid1fsWHsXdFRRP2KavAIOHCVV27zvuQfYAjXmMvctuuF4egydSumG58CwPZob3gWeYgQ==",
+      "path": "microsoft.identity.client/4.21.1",
+      "hashPath": "microsoft.identity.client.4.21.1.nupkg.sha512"
+    },
+    "Microsoft.IdentityModel.JsonWebTokens/6.8.0": {
+      "type": "package",
+      "serviceable": true,
+      "sha512": "sha512-+7JIww64PkMt7NWFxoe4Y/joeF7TAtA/fQ0b2GFGcagzB59sKkTt/sMZWR6aSZht5YC7SdHi3W6yM1yylRGJCQ==",
+      "path": "microsoft.identitymodel.jsonwebtokens/6.8.0",
+      "hashPath": "microsoft.identitymodel.jsonwebtokens.6.8.0.nupkg.sha512"
+    },
+    "Microsoft.IdentityModel.Logging/6.8.0": {
+      "type": "package",
+      "serviceable": true,
+      "sha512": "sha512-Rfh/p4MaN4gkmhPxwbu8IjrmoDncGfHHPh1sTnc0AcM/Oc39/fzC9doKNWvUAjzFb8LqA6lgZyblTrIsX/wDXg==",
+      "path": "microsoft.identitymodel.logging/6.8.0",
+      "hashPath": "microsoft.identitymodel.logging.6.8.0.nupkg.sha512"
+    },
+    "Microsoft.IdentityModel.Protocols/6.8.0": {
+      "type": "package",
+      "serviceable": true,
+      "sha512": "sha512-OJZx5nPdiH+MEkwCkbJrTAUiO/YzLe0VSswNlDxJsJD9bhOIdXHufh650pfm59YH1DNevp3/bXzukKrG57gA1w==",
+      "path": "microsoft.identitymodel.protocols/6.8.0",
+      "hashPath": "microsoft.identitymodel.protocols.6.8.0.nupkg.sha512"
+    },
+    "Microsoft.IdentityModel.Protocols.OpenIdConnect/6.8.0": {
+      "type": "package",
+      "serviceable": true,
+      "sha512": "sha512-X/PiV5l3nYYsodtrNMrNQIVlDmHpjQQ5w48E+o/D5H4es2+4niEyQf3l03chvZGWNzBRhfSstaXr25/Ye4AeYw==",
+      "path": "microsoft.identitymodel.protocols.openidconnect/6.8.0",
+      "hashPath": "microsoft.identitymodel.protocols.openidconnect.6.8.0.nupkg.sha512"
+    },
+    "Microsoft.IdentityModel.Tokens/6.8.0": {
+      "type": "package",
+      "serviceable": true,
+      "sha512": "sha512-gTqzsGcmD13HgtNePPcuVHZ/NXWmyV+InJgalW/FhWpII1D7V1k0obIseGlWMeA4G+tZfeGMfXr0klnWbMR/mQ==",
+      "path": "microsoft.identitymodel.tokens/6.8.0",
+      "hashPath": "microsoft.identitymodel.tokens.6.8.0.nupkg.sha512"
+    },
+    "Microsoft.NETCore.Platforms/3.1.0": {
+      "type": "package",
+      "serviceable": true,
+      "sha512": "sha512-z7aeg8oHln2CuNulfhiLYxCVMPEwBl3rzicjvIX+4sUuCwvXw5oXQEtbiU2c0z4qYL5L3Kmx0mMA/+t/SbY67w==",
+      "path": "microsoft.netcore.platforms/3.1.0",
+      "hashPath": "microsoft.netcore.platforms.3.1.0.nupkg.sha512"
+    },
+    "Microsoft.Win32.Registry/4.7.0": {
+      "type": "package",
+      "serviceable": true,
+      "sha512": "sha512-KSrRMb5vNi0CWSGG1++id2ZOs/1QhRqROt+qgbEAdQuGjGrFcl4AOl4/exGPUYz2wUnU42nvJqon1T3U0kPXLA==",
+      "path": "microsoft.win32.registry/4.7.0",
+      "hashPath": "microsoft.win32.registry.4.7.0.nupkg.sha512"
+    },
+    "Microsoft.Win32.SystemEvents/4.7.0": {
+      "type": "package",
+      "serviceable": true,
+      "sha512": "sha512-mtVirZr++rq+XCDITMUdnETD59XoeMxSpLRIII7JRI6Yj0LEDiO1pPn0ktlnIj12Ix8bfvQqQDMMIF9wC98oCA==",
+      "path": "microsoft.win32.systemevents/4.7.0",
+      "hashPath": "microsoft.win32.systemevents.4.7.0.nupkg.sha512"
+    },
+    "System.Collections.Immutable/6.0.0": {
+      "type": "package",
+      "serviceable": true,
+      "sha512": "sha512-l4zZJ1WU2hqpQQHXz1rvC3etVZN+2DLmQMO79FhOTZHMn8tDRr+WU287sbomD0BETlmKDn0ygUgVy9k5xkkJdA==",
+      "path": "system.collections.immutable/6.0.0",
+      "hashPath": "system.collections.immutable.6.0.0.nupkg.sha512"
+    },
+    "System.Configuration.ConfigurationManager/4.7.0": {
+      "type": "package",
+      "serviceable": true,
+      "sha512": "sha512-/anOTeSZCNNI2zDilogWrZ8pNqCmYbzGNexUnNhjW8k0sHqEZ2nHJBp147jBV3hGYswu5lINpNg1vxR7bnqvVA==",
+      "path": "system.configuration.configurationmanager/4.7.0",
+      "hashPath": "system.configuration.configurationmanager.4.7.0.nupkg.sha512"
+    },
+    "System.Diagnostics.DiagnosticSource/6.0.0": {
+      "type": "package",
+      "serviceable": true,
+      "sha512": "sha512-frQDfv0rl209cKm1lnwTgFPzNigy2EKk1BS3uAvHvlBVKe5cymGyHO+Sj+NLv5VF/AhHsqPIUUwya5oV4CHMUw==",
+      "path": "system.diagnostics.diagnosticsource/6.0.0",
+      "hashPath": "system.diagnostics.diagnosticsource.6.0.0.nupkg.sha512"
+    },
+    "System.Drawing.Common/4.7.0": {
+      "type": "package",
+      "serviceable": true,
+      "sha512": "sha512-v+XbyYHaZjDfn0ENmJEV1VYLgGgCTx1gnfOBcppowbpOAriglYgGCvFCPr2EEZyBvXlpxbEsTwkOlInl107ahA==",
+      "path": "system.drawing.common/4.7.0",
+      "hashPath": "system.drawing.common.4.7.0.nupkg.sha512"
+    },
+    "System.IdentityModel.Tokens.Jwt/6.8.0": {
+      "type": "package",
+      "serviceable": true,
+      "sha512": "sha512-5tBCjAub2Bhd5qmcd0WhR5s354e4oLYa//kOWrkX+6/7ZbDDJjMTfwLSOiZ/MMpWdE4DWPLOfTLOq/juj9CKzA==",
+      "path": "system.identitymodel.tokens.jwt/6.8.0",
+      "hashPath": "system.identitymodel.tokens.jwt.6.8.0.nupkg.sha512"
+    },
+    "System.Runtime.Caching/4.7.0": {
+      "type": "package",
+      "serviceable": true,
+      "sha512": "sha512-NdvNRjTPxYvIEhXQszT9L9vJhdQoX6AQ0AlhjTU+5NqFQVuacJTfhPVAvtGWNA2OJCqRiR/okBcZgMwI6MqcZg==",
+      "path": "system.runtime.caching/4.7.0",
+      "hashPath": "system.runtime.caching.4.7.0.nupkg.sha512"
+    },
+    "System.Runtime.CompilerServices.Unsafe/6.0.0": {
+      "type": "package",
+      "serviceable": true,
+      "sha512": "sha512-/iUeP3tq1S0XdNNoMz5C9twLSrM/TH+qElHkXWaPvuNOt+99G75NrV0OS2EqHx5wMN7popYjpc8oTjC1y16DLg==",
+      "path": "system.runtime.compilerservices.unsafe/6.0.0",
+      "hashPath": "system.runtime.compilerservices.unsafe.6.0.0.nupkg.sha512"
+    },
+    "System.Security.AccessControl/4.7.0": {
+      "type": "package",
+      "serviceable": true,
+      "sha512": "sha512-JECvTt5aFF3WT3gHpfofL2MNNP6v84sxtXxpqhLBCcDRzqsPBmHhQ6shv4DwwN2tRlzsUxtb3G9M3763rbXKDg==",
+      "path": "system.security.accesscontrol/4.7.0",
+      "hashPath": "system.security.accesscontrol.4.7.0.nupkg.sha512"
+    },
+    "System.Security.Cryptography.Cng/4.5.0": {
+      "type": "package",
+      "serviceable": true,
+      "sha512": "sha512-WG3r7EyjUe9CMPFSs6bty5doUqT+q9pbI80hlNzo2SkPkZ4VTuZkGWjpp77JB8+uaL4DFPRdBsAY+DX3dBK92A==",
+      "path": "system.security.cryptography.cng/4.5.0",
+      "hashPath": "system.security.cryptography.cng.4.5.0.nupkg.sha512"
+    },
+    "System.Security.Cryptography.ProtectedData/4.7.0": {
+      "type": "package",
+      "serviceable": true,
+      "sha512": "sha512-ehYW0m9ptxpGWvE4zgqongBVWpSDU/JCFD4K7krxkQwSz/sFQjEXCUqpvencjy6DYDbn7Ig09R8GFffu8TtneQ==",
+      "path": "system.security.cryptography.protecteddata/4.7.0",
+      "hashPath": "system.security.cryptography.protecteddata.4.7.0.nupkg.sha512"
+    },
+    "System.Security.Permissions/4.7.0": {
+      "type": "package",
+      "serviceable": true,
+      "sha512": "sha512-dkOV6YYVBnYRa15/yv004eCGRBVADXw8qRbbNiCn/XpdJSUXkkUeIvdvFHkvnko4CdKMqG8yRHC4ox83LSlMsQ==",
+      "path": "system.security.permissions/4.7.0",
+      "hashPath": "system.security.permissions.4.7.0.nupkg.sha512"
+    },
+    "System.Security.Principal.Windows/4.7.0": {
+      "type": "package",
+      "serviceable": true,
+      "sha512": "sha512-ojD0PX0XhneCsUbAZVKdb7h/70vyYMDYs85lwEI+LngEONe/17A0cFaRFqZU+sOEidcVswYWikYOQ9PPfjlbtQ==",
+      "path": "system.security.principal.windows/4.7.0",
+      "hashPath": "system.security.principal.windows.4.7.0.nupkg.sha512"
+    },
+    "System.Text.Encoding.CodePages/4.7.0": {
+      "type": "package",
+      "serviceable": true,
+      "sha512": "sha512-aeu4FlaUTemuT1qOd1MyU4T516QR4Fy+9yDbwWMPHOHy7U8FD6SgTzdZFO7gHcfAPHtECqInbwklVvUK4RHcNg==",
+      "path": "system.text.encoding.codepages/4.7.0",
+      "hashPath": "system.text.encoding.codepages.4.7.0.nupkg.sha512"
+    },
+    "System.Windows.Extensions/4.7.0": {
+      "type": "package",
+      "serviceable": true,
+      "sha512": "sha512-CeWTdRNfRaSh0pm2gDTJFwVaXfTq6Xwv/sA887iwPTneW7oMtMlpvDIO+U60+3GWTB7Aom6oQwv5VZVUhQRdPQ==",
+      "path": "system.windows.extensions/4.7.0",
+      "hashPath": "system.windows.extensions.4.7.0.nupkg.sha512"
+    }
+  }
+}

BIN
Agency/Agency/bin/Debug/net6.0-windows/Agency.dll


BIN
Agency/Agency/bin/Debug/net6.0-windows/Agency.exe


BIN
Agency/Agency/bin/Debug/net6.0-windows/Agency.pdb


+ 15 - 0
Agency/Agency/bin/Debug/net6.0-windows/Agency.runtimeconfig.json

@@ -0,0 +1,15 @@
+{
+  "runtimeOptions": {
+    "tfm": "net6.0",
+    "frameworks": [
+      {
+        "name": "Microsoft.NETCore.App",
+        "version": "6.0.0"
+      },
+      {
+        "name": "Microsoft.WindowsDesktop.App",
+        "version": "6.0.0"
+      }
+    ]
+  }
+}

BIN
Agency/Agency/bin/Debug/net6.0-windows/Humanizer.dll


BIN
Agency/Agency/bin/Debug/net6.0-windows/Microsoft.Data.SqlClient.dll


BIN
Agency/Agency/bin/Debug/net6.0-windows/Microsoft.EntityFrameworkCore.Abstractions.dll


BIN
Agency/Agency/bin/Debug/net6.0-windows/Microsoft.EntityFrameworkCore.Design.dll


BIN
Agency/Agency/bin/Debug/net6.0-windows/Microsoft.EntityFrameworkCore.Relational.dll


BIN
Agency/Agency/bin/Debug/net6.0-windows/Microsoft.EntityFrameworkCore.SqlServer.dll


BIN
Agency/Agency/bin/Debug/net6.0-windows/Microsoft.EntityFrameworkCore.dll


BIN
Agency/Agency/bin/Debug/net6.0-windows/Microsoft.Extensions.Caching.Abstractions.dll


BIN
Agency/Agency/bin/Debug/net6.0-windows/Microsoft.Extensions.Caching.Memory.dll


BIN
Agency/Agency/bin/Debug/net6.0-windows/Microsoft.Extensions.Configuration.Abstractions.dll


BIN
Agency/Agency/bin/Debug/net6.0-windows/Microsoft.Extensions.DependencyInjection.Abstractions.dll


BIN
Agency/Agency/bin/Debug/net6.0-windows/Microsoft.Extensions.DependencyInjection.dll


BIN
Agency/Agency/bin/Debug/net6.0-windows/Microsoft.Extensions.Logging.Abstractions.dll


BIN
Agency/Agency/bin/Debug/net6.0-windows/Microsoft.Extensions.Logging.dll


BIN
Agency/Agency/bin/Debug/net6.0-windows/Microsoft.Extensions.Options.dll


BIN
Agency/Agency/bin/Debug/net6.0-windows/Microsoft.Extensions.Primitives.dll


BIN
Agency/Agency/bin/Debug/net6.0-windows/Microsoft.Identity.Client.dll


BIN
Agency/Agency/bin/Debug/net6.0-windows/Microsoft.IdentityModel.JsonWebTokens.dll


BIN
Agency/Agency/bin/Debug/net6.0-windows/Microsoft.IdentityModel.Logging.dll


BIN
Agency/Agency/bin/Debug/net6.0-windows/Microsoft.IdentityModel.Protocols.OpenIdConnect.dll


BIN
Agency/Agency/bin/Debug/net6.0-windows/Microsoft.IdentityModel.Protocols.dll


BIN
Agency/Agency/bin/Debug/net6.0-windows/Microsoft.IdentityModel.Tokens.dll


BIN
Agency/Agency/bin/Debug/net6.0-windows/System.IdentityModel.Tokens.Jwt.dll


BIN
Agency/Agency/bin/Debug/net6.0-windows/System.Runtime.Caching.dll


BIN
Agency/Agency/bin/Debug/net6.0-windows/ref/Agency.dll


BIN
Agency/Agency/bin/Debug/net6.0-windows/runtimes/unix/lib/netcoreapp3.1/Microsoft.Data.SqlClient.dll


BIN
Agency/Agency/bin/Debug/net6.0-windows/runtimes/win-arm/native/Microsoft.Data.SqlClient.SNI.dll


BIN
Agency/Agency/bin/Debug/net6.0-windows/runtimes/win-arm64/native/Microsoft.Data.SqlClient.SNI.dll


BIN
Agency/Agency/bin/Debug/net6.0-windows/runtimes/win-x64/native/Microsoft.Data.SqlClient.SNI.dll


BIN
Agency/Agency/bin/Debug/net6.0-windows/runtimes/win-x86/native/Microsoft.Data.SqlClient.SNI.dll


BIN
Agency/Agency/bin/Debug/net6.0-windows/runtimes/win/lib/netcoreapp3.1/Microsoft.Data.SqlClient.dll


BIN
Agency/Agency/bin/Debug/net6.0-windows/runtimes/win/lib/netstandard2.0/System.Runtime.Caching.dll


+ 167 - 0
Agency/Agency/gr606_midvlContext.cs

@@ -0,0 +1,167 @@
+using System;
+using System.Collections.Generic;
+using Microsoft.EntityFrameworkCore;
+using Microsoft.EntityFrameworkCore.Metadata;
+
+namespace Agency
+{
+    public partial class gr606_midvlContext : DbContext
+    {
+        public gr606_midvlContext()
+        {
+        }
+
+        public gr606_midvlContext(DbContextOptions<gr606_midvlContext> options)
+            : base(options)
+        {
+        }
+
+        public virtual DbSet<Addrese> Addreses { get; set; } = null!;
+        public virtual DbSet<ListPerson> ListPeople { get; set; } = null!;
+        public virtual DbSet<Passport> Passports { get; set; } = null!;
+        public virtual DbSet<Person> Persons { get; set; } = null!;
+        public virtual DbSet<TheProperty> TheProperties { get; set; } = null!;
+        public virtual DbSet<Treaty> Treaties { get; set; } = null!;
+
+        protected override void OnConfiguring(DbContextOptionsBuilder optionsBuilder)
+        {
+            if (!optionsBuilder.IsConfigured)
+            {
+                //#warning To protect potentially sensitive information in your connection string, you should move it out of source code. You can avoid scaffolding the connection string by using the Name= syntax to read it from configuration - see https://go.microsoft.com/fwlink/?linkid=2131148. For more guidance on storing connection strings, see http://go.microsoft.com/fwlink/?LinkId=723263.
+                optionsBuilder.UseSqlServer("Data source=mssql;Database=gr606_midvl;Integrated Security=true;");
+            }
+        }
+
+        protected override void OnModelCreating(ModelBuilder modelBuilder)
+        {
+            modelBuilder.Entity<Addrese>(entity =>
+            {
+                entity.Property(e => e.Streat).HasMaxLength(100);
+                entity.Property(e => e.City).HasMaxLength(100);
+            });
+
+            modelBuilder.Entity<ListPerson>(entity =>
+            {
+                entity.HasKey(e => e.Idlist);
+
+                entity.ToTable("ListPerson");
+
+                entity.Property(e => e.Idlist).HasColumnName("IDList");
+
+                entity.Property(e => e.Idperson).HasColumnName("IDPerson");
+
+                entity.Property(e => e.Idproperty).HasColumnName("IDProperty");
+
+                entity.HasOne(d => d.IdpersonNavigation)
+                    .WithMany(p => p.ListPeople)
+                    .HasForeignKey(d => d.Idperson)
+                    .OnDelete(DeleteBehavior.ClientSetNull)
+                    .HasConstraintName("FK_ListPerson_Persons");
+
+                entity.HasOne(d => d.IdpropertyNavigation)
+                    .WithMany(p => p.ListPeople)
+                    .HasForeignKey(d => d.Idproperty)
+                    .OnDelete(DeleteBehavior.ClientSetNull)
+                    .HasConstraintName("FK_ListPerson_TheProperty");
+            });
+
+            modelBuilder.Entity<Passport>(entity =>
+            {
+                entity.Property(e => e.DateOfIssue).HasColumnType("date");
+
+                entity.Property(e => e.Issuedby).IsUnicode(false);
+
+                entity.Property(e => e.Number).IsUnicode(false);
+
+                entity.Property(e => e.Serial).IsUnicode(false);
+
+                entity.HasOne(d => d.Owner)
+                    .WithMany(p => p.Passports)
+                    .HasForeignKey(d => d.OwnerId)
+                    .OnDelete(DeleteBehavior.ClientSetNull)
+                    .HasConstraintName("FK_Passports_Persons");
+            });
+
+            modelBuilder.Entity<Person>(entity =>
+            {
+                entity.HasKey(e => e.IdPerson);
+
+                entity.Property(e => e.IdPerson).ValueGeneratedOnAdd();
+
+                entity.Property(e => e.FirstName).HasMaxLength(100);
+
+                entity.Property(e => e.LastName).HasMaxLength(100);
+
+                entity.Property(e => e.Login)
+                    .HasMaxLength(100)
+                    .IsUnicode(false);
+
+                entity.Property(e => e.MidleName).HasMaxLength(100);
+
+                entity.Property(e => e.Password)
+                    .HasMaxLength(100)
+                    .IsUnicode(false);
+
+                entity.Property(e => e.PhoneNumber)
+                    .HasMaxLength(100)
+                    .IsUnicode(false);
+            });
+
+            modelBuilder.Entity<TheProperty>(entity =>
+            {
+                entity.ToTable("TheProperty");
+
+                entity.Property(e => e.District)
+                    .HasMaxLength(100)
+                    .IsUnicode(false);
+
+                entity.Property(e => e.Name)
+                    .HasMaxLength(100)
+                    .IsUnicode(false);
+
+                entity.Property(e => e.Price).HasColumnType("decimal(18, 2)");
+
+                entity.Property(e => e.PropertyType)
+                    .HasMaxLength(100)
+                    .IsUnicode(false);
+
+                entity.Property(e => e.YearOfConstruction).HasColumnType("date");
+
+                entity.HasOne(d => d.AddressNavigation)
+                    .WithMany(p => p.TheProperties)
+                    .HasForeignKey(d => d.Address)
+                    .HasConstraintName("FK_TheProperty_Addreses");
+                entity.Property(e => e.TypeRent)
+                   .HasMaxLength(100)
+                   .IsUnicode(false);
+            });
+
+            modelBuilder.Entity<Treaty>(entity =>
+            {
+                entity.HasKey(e => e.IdTreaty);
+
+                entity.ToTable("Treaty");
+
+                entity.Property(e => e.Cost).HasColumnType("decimal(18, 2)");
+
+                entity.Property(e => e.DateOfConclusion).HasColumnType("date");
+
+                entity.HasOne(d => d.PersonsInTreatyNavigation)
+                    .WithMany(p => p.Treaties)
+                    .HasForeignKey(d => d.PersonsInTreaty)
+                    .OnDelete(DeleteBehavior.ClientSetNull)
+                    .HasConstraintName("FK_Treaty_ListPerson");
+
+                entity.HasOne(d => d.Property)
+                    .WithMany(p => p.Treaties)
+                    .HasForeignKey(d => d.PropertyId)
+                    .OnDelete(DeleteBehavior.ClientSetNull)
+                    .HasConstraintName("FK_Treaty_TheProperty");
+            });
+
+            OnModelCreatingPartial(modelBuilder);
+        }
+
+        partial void OnModelCreatingPartial(ModelBuilder modelBuilder);
+    }
+}

+ 91 - 0
Agency/Agency/obj/Agency.csproj.nuget.dgspec.json

@@ -0,0 +1,91 @@
+{
+  "format": 1,
+  "restore": {
+    "Z:\\УиФИС\\Agency\\Agency\\Agency.csproj": {}
+  },
+  "projects": {
+    "Z:\\УиФИС\\Agency\\Agency\\Agency.csproj": {
+      "version": "1.0.0",
+      "restore": {
+        "projectUniqueName": "Z:\\УиФИС\\Agency\\Agency\\Agency.csproj",
+        "projectName": "Agency",
+        "projectPath": "Z:\\УиФИС\\Agency\\Agency\\Agency.csproj",
+        "packagesPath": "C:\\Users\\gr606_midvl\\.nuget\\packages\\",
+        "outputPath": "Z:\\УиФИС\\Agency\\Agency\\obj\\",
+        "projectStyle": "PackageReference",
+        "fallbackFolders": [
+          "C:\\Program Files (x86)\\Microsoft Visual Studio\\Shared\\NuGetPackages"
+        ],
+        "configFilePaths": [
+          "C:\\Users\\gr606_midvl\\AppData\\Roaming\\NuGet\\NuGet.Config",
+          "C:\\Program Files (x86)\\NuGet\\Config\\Microsoft.VisualStudio.FallbackLocation.config",
+          "C:\\Program Files (x86)\\NuGet\\Config\\Microsoft.VisualStudio.Offline.config"
+        ],
+        "originalTargetFrameworks": [
+          "net6.0-windows7.0"
+        ],
+        "sources": {
+          "C:\\Program Files (x86)\\Microsoft SDKs\\NuGetPackages\\": {},
+          "https://api.nuget.org/v3/index.json": {}
+        },
+        "frameworks": {
+          "net6.0-windows7.0": {
+            "targetAlias": "net6.0-windows",
+            "projectReferences": {}
+          }
+        },
+        "warningProperties": {
+          "warnAsError": [
+            "NU1605"
+          ]
+        }
+      },
+      "frameworks": {
+        "net6.0-windows7.0": {
+          "targetAlias": "net6.0-windows",
+          "dependencies": {
+            "Microsoft.EntityFrameworkCore": {
+              "target": "Package",
+              "version": "[6.0.5, )"
+            },
+            "Microsoft.EntityFrameworkCore.Design": {
+              "include": "Runtime, Build, Native, ContentFiles, Analyzers, BuildTransitive",
+              "suppressParent": "All",
+              "target": "Package",
+              "version": "[6.0.5, )"
+            },
+            "Microsoft.EntityFrameworkCore.SqlServer": {
+              "target": "Package",
+              "version": "[6.0.5, )"
+            },
+            "Microsoft.EntityFrameworkCore.Tools": {
+              "include": "Runtime, Build, Native, ContentFiles, Analyzers, BuildTransitive",
+              "suppressParent": "All",
+              "target": "Package",
+              "version": "[6.0.5, )"
+            }
+          },
+          "imports": [
+            "net461",
+            "net462",
+            "net47",
+            "net471",
+            "net472",
+            "net48"
+          ],
+          "assetTargetFallback": true,
+          "warn": true,
+          "frameworkReferences": {
+            "Microsoft.NETCore.App": {
+              "privateAssets": "all"
+            },
+            "Microsoft.WindowsDesktop.App.WPF": {
+              "privateAssets": "none"
+            }
+          },
+          "runtimeIdentifierGraphPath": "C:\\Program Files\\dotnet\\sdk\\6.0.102\\RuntimeIdentifierGraph.json"
+        }
+      }
+    }
+  }
+}

+ 22 - 0
Agency/Agency/obj/Agency.csproj.nuget.g.props

@@ -0,0 +1,22 @@
+<?xml version="1.0" encoding="utf-8" standalone="no"?>
+<Project ToolsVersion="14.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
+  <PropertyGroup Condition=" '$(ExcludeRestorePackageImports)' != 'true' ">
+    <RestoreSuccess Condition=" '$(RestoreSuccess)' == '' ">True</RestoreSuccess>
+    <RestoreTool Condition=" '$(RestoreTool)' == '' ">NuGet</RestoreTool>
+    <ProjectAssetsFile Condition=" '$(ProjectAssetsFile)' == '' ">$(MSBuildThisFileDirectory)project.assets.json</ProjectAssetsFile>
+    <NuGetPackageRoot Condition=" '$(NuGetPackageRoot)' == '' ">$(UserProfile)\.nuget\packages\</NuGetPackageRoot>
+    <NuGetPackageFolders Condition=" '$(NuGetPackageFolders)' == '' ">C:\Users\gr606_midvl\.nuget\packages\;C:\Program Files (x86)\Microsoft Visual Studio\Shared\NuGetPackages</NuGetPackageFolders>
+    <NuGetProjectStyle Condition=" '$(NuGetProjectStyle)' == '' ">PackageReference</NuGetProjectStyle>
+    <NuGetToolVersion Condition=" '$(NuGetToolVersion)' == '' ">6.0.1</NuGetToolVersion>
+  </PropertyGroup>
+  <ItemGroup Condition=" '$(ExcludeRestorePackageImports)' != 'true' ">
+    <SourceRoot Include="C:\Users\gr606_midvl\.nuget\packages\" />
+    <SourceRoot Include="C:\Program Files (x86)\Microsoft Visual Studio\Shared\NuGetPackages\" />
+  </ItemGroup>
+  <ImportGroup Condition=" '$(ExcludeRestorePackageImports)' != 'true' ">
+    <Import Project="$(NuGetPackageRoot)microsoft.entityframeworkcore.design\6.0.5\build\net6.0\Microsoft.EntityFrameworkCore.Design.props" Condition="Exists('$(NuGetPackageRoot)microsoft.entityframeworkcore.design\6.0.5\build\net6.0\Microsoft.EntityFrameworkCore.Design.props')" />
+  </ImportGroup>
+  <PropertyGroup Condition=" '$(ExcludeRestorePackageImports)' != 'true' ">
+    <PkgMicrosoft_EntityFrameworkCore_Tools Condition=" '$(PkgMicrosoft_EntityFrameworkCore_Tools)' == '' ">C:\Users\gr606_midvl\.nuget\packages\microsoft.entityframeworkcore.tools\6.0.5</PkgMicrosoft_EntityFrameworkCore_Tools>
+  </PropertyGroup>
+</Project>

+ 2 - 0
Agency/Agency/obj/Agency.csproj.nuget.g.targets

@@ -0,0 +1,2 @@
+<?xml version="1.0" encoding="utf-8" standalone="no"?>
+<Project ToolsVersion="14.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003" />

+ 91 - 0
Agency/Agency/obj/Agency_2oiq0cj0_wpftmp.csproj.nuget.dgspec.json

@@ -0,0 +1,91 @@
+{
+  "format": 1,
+  "restore": {
+    "Z:\\УиФИС\\Agency\\Agency\\Agency.csproj": {}
+  },
+  "projects": {
+    "Z:\\УиФИС\\Agency\\Agency\\Agency.csproj": {
+      "version": "1.0.0",
+      "restore": {
+        "projectUniqueName": "Z:\\УиФИС\\Agency\\Agency\\Agency.csproj",
+        "projectName": "Agency",
+        "projectPath": "Z:\\УиФИС\\Agency\\Agency\\Agency.csproj",
+        "packagesPath": "C:\\Users\\gr606_midvl\\.nuget\\packages\\",
+        "outputPath": "Z:\\УиФИС\\Agency\\Agency\\obj\\",
+        "projectStyle": "PackageReference",
+        "fallbackFolders": [
+          "C:\\Program Files (x86)\\Microsoft Visual Studio\\Shared\\NuGetPackages"
+        ],
+        "configFilePaths": [
+          "C:\\Users\\gr606_midvl\\AppData\\Roaming\\NuGet\\NuGet.Config",
+          "C:\\Program Files (x86)\\NuGet\\Config\\Microsoft.VisualStudio.FallbackLocation.config",
+          "C:\\Program Files (x86)\\NuGet\\Config\\Microsoft.VisualStudio.Offline.config"
+        ],
+        "originalTargetFrameworks": [
+          "net6.0-windows7.0"
+        ],
+        "sources": {
+          "C:\\Program Files (x86)\\Microsoft SDKs\\NuGetPackages\\": {},
+          "https://api.nuget.org/v3/index.json": {}
+        },
+        "frameworks": {
+          "net6.0-windows7.0": {
+            "targetAlias": "net6.0-windows",
+            "projectReferences": {}
+          }
+        },
+        "warningProperties": {
+          "warnAsError": [
+            "NU1605"
+          ]
+        }
+      },
+      "frameworks": {
+        "net6.0-windows7.0": {
+          "targetAlias": "net6.0-windows",
+          "dependencies": {
+            "Microsoft.EntityFrameworkCore": {
+              "target": "Package",
+              "version": "[6.0.5, )"
+            },
+            "Microsoft.EntityFrameworkCore.Design": {
+              "include": "Runtime, Build, Native, ContentFiles, Analyzers, BuildTransitive",
+              "suppressParent": "All",
+              "target": "Package",
+              "version": "[6.0.5, )"
+            },
+            "Microsoft.EntityFrameworkCore.SqlServer": {
+              "target": "Package",
+              "version": "[6.0.5, )"
+            },
+            "Microsoft.EntityFrameworkCore.Tools": {
+              "include": "Runtime, Build, Native, ContentFiles, Analyzers, BuildTransitive",
+              "suppressParent": "All",
+              "target": "Package",
+              "version": "[6.0.5, )"
+            }
+          },
+          "imports": [
+            "net461",
+            "net462",
+            "net47",
+            "net471",
+            "net472",
+            "net48"
+          ],
+          "assetTargetFallback": true,
+          "warn": true,
+          "frameworkReferences": {
+            "Microsoft.NETCore.App": {
+              "privateAssets": "all"
+            },
+            "Microsoft.WindowsDesktop.App.WPF": {
+              "privateAssets": "none"
+            }
+          },
+          "runtimeIdentifierGraphPath": "C:\\Program Files\\dotnet\\sdk\\6.0.102\\RuntimeIdentifierGraph.json"
+        }
+      }
+    }
+  }
+}

+ 22 - 0
Agency/Agency/obj/Agency_2oiq0cj0_wpftmp.csproj.nuget.g.props

@@ -0,0 +1,22 @@
+<?xml version="1.0" encoding="utf-8" standalone="no"?>
+<Project ToolsVersion="14.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
+  <PropertyGroup Condition=" '$(ExcludeRestorePackageImports)' != 'true' ">
+    <RestoreSuccess Condition=" '$(RestoreSuccess)' == '' ">True</RestoreSuccess>
+    <RestoreTool Condition=" '$(RestoreTool)' == '' ">NuGet</RestoreTool>
+    <ProjectAssetsFile Condition=" '$(ProjectAssetsFile)' == '' ">$(MSBuildThisFileDirectory)project.assets.json</ProjectAssetsFile>
+    <NuGetPackageRoot Condition=" '$(NuGetPackageRoot)' == '' ">$(UserProfile)\.nuget\packages\</NuGetPackageRoot>
+    <NuGetPackageFolders Condition=" '$(NuGetPackageFolders)' == '' ">C:\Users\gr606_midvl\.nuget\packages\;C:\Program Files (x86)\Microsoft Visual Studio\Shared\NuGetPackages</NuGetPackageFolders>
+    <NuGetProjectStyle Condition=" '$(NuGetProjectStyle)' == '' ">PackageReference</NuGetProjectStyle>
+    <NuGetToolVersion Condition=" '$(NuGetToolVersion)' == '' ">6.0.1</NuGetToolVersion>
+  </PropertyGroup>
+  <ItemGroup Condition=" '$(ExcludeRestorePackageImports)' != 'true' ">
+    <SourceRoot Include="C:\Users\gr606_midvl\.nuget\packages\" />
+    <SourceRoot Include="C:\Program Files (x86)\Microsoft Visual Studio\Shared\NuGetPackages\" />
+  </ItemGroup>
+  <ImportGroup Condition=" '$(ExcludeRestorePackageImports)' != 'true' ">
+    <Import Project="$(NuGetPackageRoot)microsoft.entityframeworkcore.design\6.0.5\build\net6.0\Microsoft.EntityFrameworkCore.Design.props" Condition="Exists('$(NuGetPackageRoot)microsoft.entityframeworkcore.design\6.0.5\build\net6.0\Microsoft.EntityFrameworkCore.Design.props')" />
+  </ImportGroup>
+  <PropertyGroup Condition=" '$(ExcludeRestorePackageImports)' != 'true' ">
+    <PkgMicrosoft_EntityFrameworkCore_Tools Condition=" '$(PkgMicrosoft_EntityFrameworkCore_Tools)' == '' ">C:\Users\gr606_midvl\.nuget\packages\microsoft.entityframeworkcore.tools\6.0.5</PkgMicrosoft_EntityFrameworkCore_Tools>
+  </PropertyGroup>
+</Project>

+ 2 - 0
Agency/Agency/obj/Agency_2oiq0cj0_wpftmp.csproj.nuget.g.targets

@@ -0,0 +1,2 @@
+<?xml version="1.0" encoding="utf-8" standalone="no"?>
+<Project ToolsVersion="14.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003" />

+ 91 - 0
Agency/Agency/obj/Agency_c30zwynp_wpftmp.csproj.nuget.dgspec.json

@@ -0,0 +1,91 @@
+{
+  "format": 1,
+  "restore": {
+    "Z:\\УиФИС\\Agency\\Agency\\Agency.csproj": {}
+  },
+  "projects": {
+    "Z:\\УиФИС\\Agency\\Agency\\Agency.csproj": {
+      "version": "1.0.0",
+      "restore": {
+        "projectUniqueName": "Z:\\УиФИС\\Agency\\Agency\\Agency.csproj",
+        "projectName": "Agency",
+        "projectPath": "Z:\\УиФИС\\Agency\\Agency\\Agency.csproj",
+        "packagesPath": "C:\\Users\\gr606_midvl\\.nuget\\packages\\",
+        "outputPath": "Z:\\УиФИС\\Agency\\Agency\\obj\\",
+        "projectStyle": "PackageReference",
+        "fallbackFolders": [
+          "C:\\Program Files (x86)\\Microsoft Visual Studio\\Shared\\NuGetPackages"
+        ],
+        "configFilePaths": [
+          "C:\\Users\\gr606_midvl\\AppData\\Roaming\\NuGet\\NuGet.Config",
+          "C:\\Program Files (x86)\\NuGet\\Config\\Microsoft.VisualStudio.FallbackLocation.config",
+          "C:\\Program Files (x86)\\NuGet\\Config\\Microsoft.VisualStudio.Offline.config"
+        ],
+        "originalTargetFrameworks": [
+          "net6.0-windows7.0"
+        ],
+        "sources": {
+          "C:\\Program Files (x86)\\Microsoft SDKs\\NuGetPackages\\": {},
+          "https://api.nuget.org/v3/index.json": {}
+        },
+        "frameworks": {
+          "net6.0-windows7.0": {
+            "targetAlias": "net6.0-windows",
+            "projectReferences": {}
+          }
+        },
+        "warningProperties": {
+          "warnAsError": [
+            "NU1605"
+          ]
+        }
+      },
+      "frameworks": {
+        "net6.0-windows7.0": {
+          "targetAlias": "net6.0-windows",
+          "dependencies": {
+            "Microsoft.EntityFrameworkCore": {
+              "target": "Package",
+              "version": "[6.0.5, )"
+            },
+            "Microsoft.EntityFrameworkCore.Design": {
+              "include": "Runtime, Build, Native, ContentFiles, Analyzers, BuildTransitive",
+              "suppressParent": "All",
+              "target": "Package",
+              "version": "[6.0.5, )"
+            },
+            "Microsoft.EntityFrameworkCore.SqlServer": {
+              "target": "Package",
+              "version": "[6.0.5, )"
+            },
+            "Microsoft.EntityFrameworkCore.Tools": {
+              "include": "Runtime, Build, Native, ContentFiles, Analyzers, BuildTransitive",
+              "suppressParent": "All",
+              "target": "Package",
+              "version": "[6.0.5, )"
+            }
+          },
+          "imports": [
+            "net461",
+            "net462",
+            "net47",
+            "net471",
+            "net472",
+            "net48"
+          ],
+          "assetTargetFallback": true,
+          "warn": true,
+          "frameworkReferences": {
+            "Microsoft.NETCore.App": {
+              "privateAssets": "all"
+            },
+            "Microsoft.WindowsDesktop.App.WPF": {
+              "privateAssets": "none"
+            }
+          },
+          "runtimeIdentifierGraphPath": "C:\\Program Files\\dotnet\\sdk\\6.0.102\\RuntimeIdentifierGraph.json"
+        }
+      }
+    }
+  }
+}

+ 22 - 0
Agency/Agency/obj/Agency_c30zwynp_wpftmp.csproj.nuget.g.props

@@ -0,0 +1,22 @@
+<?xml version="1.0" encoding="utf-8" standalone="no"?>
+<Project ToolsVersion="14.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
+  <PropertyGroup Condition=" '$(ExcludeRestorePackageImports)' != 'true' ">
+    <RestoreSuccess Condition=" '$(RestoreSuccess)' == '' ">True</RestoreSuccess>
+    <RestoreTool Condition=" '$(RestoreTool)' == '' ">NuGet</RestoreTool>
+    <ProjectAssetsFile Condition=" '$(ProjectAssetsFile)' == '' ">$(MSBuildThisFileDirectory)project.assets.json</ProjectAssetsFile>
+    <NuGetPackageRoot Condition=" '$(NuGetPackageRoot)' == '' ">$(UserProfile)\.nuget\packages\</NuGetPackageRoot>
+    <NuGetPackageFolders Condition=" '$(NuGetPackageFolders)' == '' ">C:\Users\gr606_midvl\.nuget\packages\;C:\Program Files (x86)\Microsoft Visual Studio\Shared\NuGetPackages</NuGetPackageFolders>
+    <NuGetProjectStyle Condition=" '$(NuGetProjectStyle)' == '' ">PackageReference</NuGetProjectStyle>
+    <NuGetToolVersion Condition=" '$(NuGetToolVersion)' == '' ">6.0.1</NuGetToolVersion>
+  </PropertyGroup>
+  <ItemGroup Condition=" '$(ExcludeRestorePackageImports)' != 'true' ">
+    <SourceRoot Include="C:\Users\gr606_midvl\.nuget\packages\" />
+    <SourceRoot Include="C:\Program Files (x86)\Microsoft Visual Studio\Shared\NuGetPackages\" />
+  </ItemGroup>
+  <ImportGroup Condition=" '$(ExcludeRestorePackageImports)' != 'true' ">
+    <Import Project="$(NuGetPackageRoot)microsoft.entityframeworkcore.design\6.0.5\build\net6.0\Microsoft.EntityFrameworkCore.Design.props" Condition="Exists('$(NuGetPackageRoot)microsoft.entityframeworkcore.design\6.0.5\build\net6.0\Microsoft.EntityFrameworkCore.Design.props')" />
+  </ImportGroup>
+  <PropertyGroup Condition=" '$(ExcludeRestorePackageImports)' != 'true' ">
+    <PkgMicrosoft_EntityFrameworkCore_Tools Condition=" '$(PkgMicrosoft_EntityFrameworkCore_Tools)' == '' ">C:\Users\gr606_midvl\.nuget\packages\microsoft.entityframeworkcore.tools\6.0.5</PkgMicrosoft_EntityFrameworkCore_Tools>
+  </PropertyGroup>
+</Project>

+ 2 - 0
Agency/Agency/obj/Agency_c30zwynp_wpftmp.csproj.nuget.g.targets

@@ -0,0 +1,2 @@
+<?xml version="1.0" encoding="utf-8" standalone="no"?>
+<Project ToolsVersion="14.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003" />

+ 91 - 0
Agency/Agency/obj/Agency_db1cys1r_wpftmp.csproj.nuget.dgspec.json

@@ -0,0 +1,91 @@
+{
+  "format": 1,
+  "restore": {
+    "Z:\\УиФИС\\Agency\\Agency\\Agency.csproj": {}
+  },
+  "projects": {
+    "Z:\\УиФИС\\Agency\\Agency\\Agency.csproj": {
+      "version": "1.0.0",
+      "restore": {
+        "projectUniqueName": "Z:\\УиФИС\\Agency\\Agency\\Agency.csproj",
+        "projectName": "Agency",
+        "projectPath": "Z:\\УиФИС\\Agency\\Agency\\Agency.csproj",
+        "packagesPath": "C:\\Users\\gr606_midvl\\.nuget\\packages\\",
+        "outputPath": "Z:\\УиФИС\\Agency\\Agency\\obj\\",
+        "projectStyle": "PackageReference",
+        "fallbackFolders": [
+          "C:\\Program Files (x86)\\Microsoft Visual Studio\\Shared\\NuGetPackages"
+        ],
+        "configFilePaths": [
+          "C:\\Users\\gr606_midvl\\AppData\\Roaming\\NuGet\\NuGet.Config",
+          "C:\\Program Files (x86)\\NuGet\\Config\\Microsoft.VisualStudio.FallbackLocation.config",
+          "C:\\Program Files (x86)\\NuGet\\Config\\Microsoft.VisualStudio.Offline.config"
+        ],
+        "originalTargetFrameworks": [
+          "net6.0-windows7.0"
+        ],
+        "sources": {
+          "C:\\Program Files (x86)\\Microsoft SDKs\\NuGetPackages\\": {},
+          "https://api.nuget.org/v3/index.json": {}
+        },
+        "frameworks": {
+          "net6.0-windows7.0": {
+            "targetAlias": "net6.0-windows",
+            "projectReferences": {}
+          }
+        },
+        "warningProperties": {
+          "warnAsError": [
+            "NU1605"
+          ]
+        }
+      },
+      "frameworks": {
+        "net6.0-windows7.0": {
+          "targetAlias": "net6.0-windows",
+          "dependencies": {
+            "Microsoft.EntityFrameworkCore": {
+              "target": "Package",
+              "version": "[6.0.5, )"
+            },
+            "Microsoft.EntityFrameworkCore.Design": {
+              "include": "Runtime, Build, Native, ContentFiles, Analyzers, BuildTransitive",
+              "suppressParent": "All",
+              "target": "Package",
+              "version": "[6.0.5, )"
+            },
+            "Microsoft.EntityFrameworkCore.SqlServer": {
+              "target": "Package",
+              "version": "[6.0.5, )"
+            },
+            "Microsoft.EntityFrameworkCore.Tools": {
+              "include": "Runtime, Build, Native, ContentFiles, Analyzers, BuildTransitive",
+              "suppressParent": "All",
+              "target": "Package",
+              "version": "[6.0.5, )"
+            }
+          },
+          "imports": [
+            "net461",
+            "net462",
+            "net47",
+            "net471",
+            "net472",
+            "net48"
+          ],
+          "assetTargetFallback": true,
+          "warn": true,
+          "frameworkReferences": {
+            "Microsoft.NETCore.App": {
+              "privateAssets": "all"
+            },
+            "Microsoft.WindowsDesktop.App.WPF": {
+              "privateAssets": "none"
+            }
+          },
+          "runtimeIdentifierGraphPath": "C:\\Program Files\\dotnet\\sdk\\6.0.102\\RuntimeIdentifierGraph.json"
+        }
+      }
+    }
+  }
+}

+ 22 - 0
Agency/Agency/obj/Agency_db1cys1r_wpftmp.csproj.nuget.g.props

@@ -0,0 +1,22 @@
+<?xml version="1.0" encoding="utf-8" standalone="no"?>
+<Project ToolsVersion="14.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
+  <PropertyGroup Condition=" '$(ExcludeRestorePackageImports)' != 'true' ">
+    <RestoreSuccess Condition=" '$(RestoreSuccess)' == '' ">True</RestoreSuccess>
+    <RestoreTool Condition=" '$(RestoreTool)' == '' ">NuGet</RestoreTool>
+    <ProjectAssetsFile Condition=" '$(ProjectAssetsFile)' == '' ">$(MSBuildThisFileDirectory)project.assets.json</ProjectAssetsFile>
+    <NuGetPackageRoot Condition=" '$(NuGetPackageRoot)' == '' ">$(UserProfile)\.nuget\packages\</NuGetPackageRoot>
+    <NuGetPackageFolders Condition=" '$(NuGetPackageFolders)' == '' ">C:\Users\gr606_midvl\.nuget\packages\;C:\Program Files (x86)\Microsoft Visual Studio\Shared\NuGetPackages</NuGetPackageFolders>
+    <NuGetProjectStyle Condition=" '$(NuGetProjectStyle)' == '' ">PackageReference</NuGetProjectStyle>
+    <NuGetToolVersion Condition=" '$(NuGetToolVersion)' == '' ">6.0.1</NuGetToolVersion>
+  </PropertyGroup>
+  <ItemGroup Condition=" '$(ExcludeRestorePackageImports)' != 'true' ">
+    <SourceRoot Include="C:\Users\gr606_midvl\.nuget\packages\" />
+    <SourceRoot Include="C:\Program Files (x86)\Microsoft Visual Studio\Shared\NuGetPackages\" />
+  </ItemGroup>
+  <ImportGroup Condition=" '$(ExcludeRestorePackageImports)' != 'true' ">
+    <Import Project="$(NuGetPackageRoot)microsoft.entityframeworkcore.design\6.0.5\build\net6.0\Microsoft.EntityFrameworkCore.Design.props" Condition="Exists('$(NuGetPackageRoot)microsoft.entityframeworkcore.design\6.0.5\build\net6.0\Microsoft.EntityFrameworkCore.Design.props')" />
+  </ImportGroup>
+  <PropertyGroup Condition=" '$(ExcludeRestorePackageImports)' != 'true' ">
+    <PkgMicrosoft_EntityFrameworkCore_Tools Condition=" '$(PkgMicrosoft_EntityFrameworkCore_Tools)' == '' ">C:\Users\gr606_midvl\.nuget\packages\microsoft.entityframeworkcore.tools\6.0.5</PkgMicrosoft_EntityFrameworkCore_Tools>
+  </PropertyGroup>
+</Project>

+ 2 - 0
Agency/Agency/obj/Agency_db1cys1r_wpftmp.csproj.nuget.g.targets

@@ -0,0 +1,2 @@
+<?xml version="1.0" encoding="utf-8" standalone="no"?>
+<Project ToolsVersion="14.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003" />

+ 91 - 0
Agency/Agency/obj/Agency_ifiea1r3_wpftmp.csproj.nuget.dgspec.json

@@ -0,0 +1,91 @@
+{
+  "format": 1,
+  "restore": {
+    "Z:\\УиФИС\\Agency\\Agency\\Agency.csproj": {}
+  },
+  "projects": {
+    "Z:\\УиФИС\\Agency\\Agency\\Agency.csproj": {
+      "version": "1.0.0",
+      "restore": {
+        "projectUniqueName": "Z:\\УиФИС\\Agency\\Agency\\Agency.csproj",
+        "projectName": "Agency",
+        "projectPath": "Z:\\УиФИС\\Agency\\Agency\\Agency.csproj",
+        "packagesPath": "C:\\Users\\gr606_midvl\\.nuget\\packages\\",
+        "outputPath": "Z:\\УиФИС\\Agency\\Agency\\obj\\",
+        "projectStyle": "PackageReference",
+        "fallbackFolders": [
+          "C:\\Program Files (x86)\\Microsoft Visual Studio\\Shared\\NuGetPackages"
+        ],
+        "configFilePaths": [
+          "C:\\Users\\gr606_midvl\\AppData\\Roaming\\NuGet\\NuGet.Config",
+          "C:\\Program Files (x86)\\NuGet\\Config\\Microsoft.VisualStudio.FallbackLocation.config",
+          "C:\\Program Files (x86)\\NuGet\\Config\\Microsoft.VisualStudio.Offline.config"
+        ],
+        "originalTargetFrameworks": [
+          "net6.0-windows7.0"
+        ],
+        "sources": {
+          "C:\\Program Files (x86)\\Microsoft SDKs\\NuGetPackages\\": {},
+          "https://api.nuget.org/v3/index.json": {}
+        },
+        "frameworks": {
+          "net6.0-windows7.0": {
+            "targetAlias": "net6.0-windows",
+            "projectReferences": {}
+          }
+        },
+        "warningProperties": {
+          "warnAsError": [
+            "NU1605"
+          ]
+        }
+      },
+      "frameworks": {
+        "net6.0-windows7.0": {
+          "targetAlias": "net6.0-windows",
+          "dependencies": {
+            "Microsoft.EntityFrameworkCore": {
+              "target": "Package",
+              "version": "[6.0.5, )"
+            },
+            "Microsoft.EntityFrameworkCore.Design": {
+              "include": "Runtime, Build, Native, ContentFiles, Analyzers, BuildTransitive",
+              "suppressParent": "All",
+              "target": "Package",
+              "version": "[6.0.5, )"
+            },
+            "Microsoft.EntityFrameworkCore.SqlServer": {
+              "target": "Package",
+              "version": "[6.0.5, )"
+            },
+            "Microsoft.EntityFrameworkCore.Tools": {
+              "include": "Runtime, Build, Native, ContentFiles, Analyzers, BuildTransitive",
+              "suppressParent": "All",
+              "target": "Package",
+              "version": "[6.0.5, )"
+            }
+          },
+          "imports": [
+            "net461",
+            "net462",
+            "net47",
+            "net471",
+            "net472",
+            "net48"
+          ],
+          "assetTargetFallback": true,
+          "warn": true,
+          "frameworkReferences": {
+            "Microsoft.NETCore.App": {
+              "privateAssets": "all"
+            },
+            "Microsoft.WindowsDesktop.App.WPF": {
+              "privateAssets": "none"
+            }
+          },
+          "runtimeIdentifierGraphPath": "C:\\Program Files\\dotnet\\sdk\\6.0.102\\RuntimeIdentifierGraph.json"
+        }
+      }
+    }
+  }
+}

+ 22 - 0
Agency/Agency/obj/Agency_ifiea1r3_wpftmp.csproj.nuget.g.props

@@ -0,0 +1,22 @@
+<?xml version="1.0" encoding="utf-8" standalone="no"?>
+<Project ToolsVersion="14.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
+  <PropertyGroup Condition=" '$(ExcludeRestorePackageImports)' != 'true' ">
+    <RestoreSuccess Condition=" '$(RestoreSuccess)' == '' ">True</RestoreSuccess>
+    <RestoreTool Condition=" '$(RestoreTool)' == '' ">NuGet</RestoreTool>
+    <ProjectAssetsFile Condition=" '$(ProjectAssetsFile)' == '' ">$(MSBuildThisFileDirectory)project.assets.json</ProjectAssetsFile>
+    <NuGetPackageRoot Condition=" '$(NuGetPackageRoot)' == '' ">$(UserProfile)\.nuget\packages\</NuGetPackageRoot>
+    <NuGetPackageFolders Condition=" '$(NuGetPackageFolders)' == '' ">C:\Users\gr606_midvl\.nuget\packages\;C:\Program Files (x86)\Microsoft Visual Studio\Shared\NuGetPackages</NuGetPackageFolders>
+    <NuGetProjectStyle Condition=" '$(NuGetProjectStyle)' == '' ">PackageReference</NuGetProjectStyle>
+    <NuGetToolVersion Condition=" '$(NuGetToolVersion)' == '' ">6.0.1</NuGetToolVersion>
+  </PropertyGroup>
+  <ItemGroup Condition=" '$(ExcludeRestorePackageImports)' != 'true' ">
+    <SourceRoot Include="C:\Users\gr606_midvl\.nuget\packages\" />
+    <SourceRoot Include="C:\Program Files (x86)\Microsoft Visual Studio\Shared\NuGetPackages\" />
+  </ItemGroup>
+  <ImportGroup Condition=" '$(ExcludeRestorePackageImports)' != 'true' ">
+    <Import Project="$(NuGetPackageRoot)microsoft.entityframeworkcore.design\6.0.5\build\net6.0\Microsoft.EntityFrameworkCore.Design.props" Condition="Exists('$(NuGetPackageRoot)microsoft.entityframeworkcore.design\6.0.5\build\net6.0\Microsoft.EntityFrameworkCore.Design.props')" />
+  </ImportGroup>
+  <PropertyGroup Condition=" '$(ExcludeRestorePackageImports)' != 'true' ">
+    <PkgMicrosoft_EntityFrameworkCore_Tools Condition=" '$(PkgMicrosoft_EntityFrameworkCore_Tools)' == '' ">C:\Users\gr606_midvl\.nuget\packages\microsoft.entityframeworkcore.tools\6.0.5</PkgMicrosoft_EntityFrameworkCore_Tools>
+  </PropertyGroup>
+</Project>

+ 2 - 0
Agency/Agency/obj/Agency_ifiea1r3_wpftmp.csproj.nuget.g.targets

@@ -0,0 +1,2 @@
+<?xml version="1.0" encoding="utf-8" standalone="no"?>
+<Project ToolsVersion="14.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003" />

+ 91 - 0
Agency/Agency/obj/Agency_luv0f2d2_wpftmp.csproj.nuget.dgspec.json

@@ -0,0 +1,91 @@
+{
+  "format": 1,
+  "restore": {
+    "Z:\\УиФИС\\Agency\\Agency\\Agency.csproj": {}
+  },
+  "projects": {
+    "Z:\\УиФИС\\Agency\\Agency\\Agency.csproj": {
+      "version": "1.0.0",
+      "restore": {
+        "projectUniqueName": "Z:\\УиФИС\\Agency\\Agency\\Agency.csproj",
+        "projectName": "Agency",
+        "projectPath": "Z:\\УиФИС\\Agency\\Agency\\Agency.csproj",
+        "packagesPath": "C:\\Users\\gr606_midvl\\.nuget\\packages\\",
+        "outputPath": "Z:\\УиФИС\\Agency\\Agency\\obj\\",
+        "projectStyle": "PackageReference",
+        "fallbackFolders": [
+          "C:\\Program Files (x86)\\Microsoft Visual Studio\\Shared\\NuGetPackages"
+        ],
+        "configFilePaths": [
+          "C:\\Users\\gr606_midvl\\AppData\\Roaming\\NuGet\\NuGet.Config",
+          "C:\\Program Files (x86)\\NuGet\\Config\\Microsoft.VisualStudio.FallbackLocation.config",
+          "C:\\Program Files (x86)\\NuGet\\Config\\Microsoft.VisualStudio.Offline.config"
+        ],
+        "originalTargetFrameworks": [
+          "net6.0-windows7.0"
+        ],
+        "sources": {
+          "C:\\Program Files (x86)\\Microsoft SDKs\\NuGetPackages\\": {},
+          "https://api.nuget.org/v3/index.json": {}
+        },
+        "frameworks": {
+          "net6.0-windows7.0": {
+            "targetAlias": "net6.0-windows",
+            "projectReferences": {}
+          }
+        },
+        "warningProperties": {
+          "warnAsError": [
+            "NU1605"
+          ]
+        }
+      },
+      "frameworks": {
+        "net6.0-windows7.0": {
+          "targetAlias": "net6.0-windows",
+          "dependencies": {
+            "Microsoft.EntityFrameworkCore": {
+              "target": "Package",
+              "version": "[6.0.5, )"
+            },
+            "Microsoft.EntityFrameworkCore.Design": {
+              "include": "Runtime, Build, Native, ContentFiles, Analyzers, BuildTransitive",
+              "suppressParent": "All",
+              "target": "Package",
+              "version": "[6.0.5, )"
+            },
+            "Microsoft.EntityFrameworkCore.SqlServer": {
+              "target": "Package",
+              "version": "[6.0.5, )"
+            },
+            "Microsoft.EntityFrameworkCore.Tools": {
+              "include": "Runtime, Build, Native, ContentFiles, Analyzers, BuildTransitive",
+              "suppressParent": "All",
+              "target": "Package",
+              "version": "[6.0.5, )"
+            }
+          },
+          "imports": [
+            "net461",
+            "net462",
+            "net47",
+            "net471",
+            "net472",
+            "net48"
+          ],
+          "assetTargetFallback": true,
+          "warn": true,
+          "frameworkReferences": {
+            "Microsoft.NETCore.App": {
+              "privateAssets": "all"
+            },
+            "Microsoft.WindowsDesktop.App.WPF": {
+              "privateAssets": "none"
+            }
+          },
+          "runtimeIdentifierGraphPath": "C:\\Program Files\\dotnet\\sdk\\6.0.102\\RuntimeIdentifierGraph.json"
+        }
+      }
+    }
+  }
+}

+ 22 - 0
Agency/Agency/obj/Agency_luv0f2d2_wpftmp.csproj.nuget.g.props

@@ -0,0 +1,22 @@
+<?xml version="1.0" encoding="utf-8" standalone="no"?>
+<Project ToolsVersion="14.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
+  <PropertyGroup Condition=" '$(ExcludeRestorePackageImports)' != 'true' ">
+    <RestoreSuccess Condition=" '$(RestoreSuccess)' == '' ">True</RestoreSuccess>
+    <RestoreTool Condition=" '$(RestoreTool)' == '' ">NuGet</RestoreTool>
+    <ProjectAssetsFile Condition=" '$(ProjectAssetsFile)' == '' ">$(MSBuildThisFileDirectory)project.assets.json</ProjectAssetsFile>
+    <NuGetPackageRoot Condition=" '$(NuGetPackageRoot)' == '' ">$(UserProfile)\.nuget\packages\</NuGetPackageRoot>
+    <NuGetPackageFolders Condition=" '$(NuGetPackageFolders)' == '' ">C:\Users\gr606_midvl\.nuget\packages\;C:\Program Files (x86)\Microsoft Visual Studio\Shared\NuGetPackages</NuGetPackageFolders>
+    <NuGetProjectStyle Condition=" '$(NuGetProjectStyle)' == '' ">PackageReference</NuGetProjectStyle>
+    <NuGetToolVersion Condition=" '$(NuGetToolVersion)' == '' ">6.0.1</NuGetToolVersion>
+  </PropertyGroup>
+  <ItemGroup Condition=" '$(ExcludeRestorePackageImports)' != 'true' ">
+    <SourceRoot Include="C:\Users\gr606_midvl\.nuget\packages\" />
+    <SourceRoot Include="C:\Program Files (x86)\Microsoft Visual Studio\Shared\NuGetPackages\" />
+  </ItemGroup>
+  <ImportGroup Condition=" '$(ExcludeRestorePackageImports)' != 'true' ">
+    <Import Project="$(NuGetPackageRoot)microsoft.entityframeworkcore.design\6.0.5\build\net6.0\Microsoft.EntityFrameworkCore.Design.props" Condition="Exists('$(NuGetPackageRoot)microsoft.entityframeworkcore.design\6.0.5\build\net6.0\Microsoft.EntityFrameworkCore.Design.props')" />
+  </ImportGroup>
+  <PropertyGroup Condition=" '$(ExcludeRestorePackageImports)' != 'true' ">
+    <PkgMicrosoft_EntityFrameworkCore_Tools Condition=" '$(PkgMicrosoft_EntityFrameworkCore_Tools)' == '' ">C:\Users\gr606_midvl\.nuget\packages\microsoft.entityframeworkcore.tools\6.0.5</PkgMicrosoft_EntityFrameworkCore_Tools>
+  </PropertyGroup>
+</Project>

+ 2 - 0
Agency/Agency/obj/Agency_luv0f2d2_wpftmp.csproj.nuget.g.targets

@@ -0,0 +1,2 @@
+<?xml version="1.0" encoding="utf-8" standalone="no"?>
+<Project ToolsVersion="14.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003" />

+ 91 - 0
Agency/Agency/obj/Agency_n4t2gmss_wpftmp.csproj.nuget.dgspec.json

@@ -0,0 +1,91 @@
+{
+  "format": 1,
+  "restore": {
+    "Z:\\УиФИС\\Agency\\Agency\\Agency.csproj": {}
+  },
+  "projects": {
+    "Z:\\УиФИС\\Agency\\Agency\\Agency.csproj": {
+      "version": "1.0.0",
+      "restore": {
+        "projectUniqueName": "Z:\\УиФИС\\Agency\\Agency\\Agency.csproj",
+        "projectName": "Agency",
+        "projectPath": "Z:\\УиФИС\\Agency\\Agency\\Agency.csproj",
+        "packagesPath": "C:\\Users\\gr606_midvl\\.nuget\\packages\\",
+        "outputPath": "Z:\\УиФИС\\Agency\\Agency\\obj\\",
+        "projectStyle": "PackageReference",
+        "fallbackFolders": [
+          "C:\\Program Files (x86)\\Microsoft Visual Studio\\Shared\\NuGetPackages"
+        ],
+        "configFilePaths": [
+          "C:\\Users\\gr606_midvl\\AppData\\Roaming\\NuGet\\NuGet.Config",
+          "C:\\Program Files (x86)\\NuGet\\Config\\Microsoft.VisualStudio.FallbackLocation.config",
+          "C:\\Program Files (x86)\\NuGet\\Config\\Microsoft.VisualStudio.Offline.config"
+        ],
+        "originalTargetFrameworks": [
+          "net6.0-windows7.0"
+        ],
+        "sources": {
+          "C:\\Program Files (x86)\\Microsoft SDKs\\NuGetPackages\\": {},
+          "https://api.nuget.org/v3/index.json": {}
+        },
+        "frameworks": {
+          "net6.0-windows7.0": {
+            "targetAlias": "net6.0-windows",
+            "projectReferences": {}
+          }
+        },
+        "warningProperties": {
+          "warnAsError": [
+            "NU1605"
+          ]
+        }
+      },
+      "frameworks": {
+        "net6.0-windows7.0": {
+          "targetAlias": "net6.0-windows",
+          "dependencies": {
+            "Microsoft.EntityFrameworkCore": {
+              "target": "Package",
+              "version": "[6.0.5, )"
+            },
+            "Microsoft.EntityFrameworkCore.Design": {
+              "include": "Runtime, Build, Native, ContentFiles, Analyzers, BuildTransitive",
+              "suppressParent": "All",
+              "target": "Package",
+              "version": "[6.0.5, )"
+            },
+            "Microsoft.EntityFrameworkCore.SqlServer": {
+              "target": "Package",
+              "version": "[6.0.5, )"
+            },
+            "Microsoft.EntityFrameworkCore.Tools": {
+              "include": "Runtime, Build, Native, ContentFiles, Analyzers, BuildTransitive",
+              "suppressParent": "All",
+              "target": "Package",
+              "version": "[6.0.5, )"
+            }
+          },
+          "imports": [
+            "net461",
+            "net462",
+            "net47",
+            "net471",
+            "net472",
+            "net48"
+          ],
+          "assetTargetFallback": true,
+          "warn": true,
+          "frameworkReferences": {
+            "Microsoft.NETCore.App": {
+              "privateAssets": "all"
+            },
+            "Microsoft.WindowsDesktop.App.WPF": {
+              "privateAssets": "none"
+            }
+          },
+          "runtimeIdentifierGraphPath": "C:\\Program Files\\dotnet\\sdk\\6.0.102\\RuntimeIdentifierGraph.json"
+        }
+      }
+    }
+  }
+}

+ 22 - 0
Agency/Agency/obj/Agency_n4t2gmss_wpftmp.csproj.nuget.g.props

@@ -0,0 +1,22 @@
+<?xml version="1.0" encoding="utf-8" standalone="no"?>
+<Project ToolsVersion="14.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
+  <PropertyGroup Condition=" '$(ExcludeRestorePackageImports)' != 'true' ">
+    <RestoreSuccess Condition=" '$(RestoreSuccess)' == '' ">True</RestoreSuccess>
+    <RestoreTool Condition=" '$(RestoreTool)' == '' ">NuGet</RestoreTool>
+    <ProjectAssetsFile Condition=" '$(ProjectAssetsFile)' == '' ">$(MSBuildThisFileDirectory)project.assets.json</ProjectAssetsFile>
+    <NuGetPackageRoot Condition=" '$(NuGetPackageRoot)' == '' ">$(UserProfile)\.nuget\packages\</NuGetPackageRoot>
+    <NuGetPackageFolders Condition=" '$(NuGetPackageFolders)' == '' ">C:\Users\gr606_midvl\.nuget\packages\;C:\Program Files (x86)\Microsoft Visual Studio\Shared\NuGetPackages</NuGetPackageFolders>
+    <NuGetProjectStyle Condition=" '$(NuGetProjectStyle)' == '' ">PackageReference</NuGetProjectStyle>
+    <NuGetToolVersion Condition=" '$(NuGetToolVersion)' == '' ">6.0.1</NuGetToolVersion>
+  </PropertyGroup>
+  <ItemGroup Condition=" '$(ExcludeRestorePackageImports)' != 'true' ">
+    <SourceRoot Include="C:\Users\gr606_midvl\.nuget\packages\" />
+    <SourceRoot Include="C:\Program Files (x86)\Microsoft Visual Studio\Shared\NuGetPackages\" />
+  </ItemGroup>
+  <ImportGroup Condition=" '$(ExcludeRestorePackageImports)' != 'true' ">
+    <Import Project="$(NuGetPackageRoot)microsoft.entityframeworkcore.design\6.0.5\build\net6.0\Microsoft.EntityFrameworkCore.Design.props" Condition="Exists('$(NuGetPackageRoot)microsoft.entityframeworkcore.design\6.0.5\build\net6.0\Microsoft.EntityFrameworkCore.Design.props')" />
+  </ImportGroup>
+  <PropertyGroup Condition=" '$(ExcludeRestorePackageImports)' != 'true' ">
+    <PkgMicrosoft_EntityFrameworkCore_Tools Condition=" '$(PkgMicrosoft_EntityFrameworkCore_Tools)' == '' ">C:\Users\gr606_midvl\.nuget\packages\microsoft.entityframeworkcore.tools\6.0.5</PkgMicrosoft_EntityFrameworkCore_Tools>
+  </PropertyGroup>
+</Project>

+ 2 - 0
Agency/Agency/obj/Agency_n4t2gmss_wpftmp.csproj.nuget.g.targets

@@ -0,0 +1,2 @@
+<?xml version="1.0" encoding="utf-8" standalone="no"?>
+<Project ToolsVersion="14.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003" />

+ 91 - 0
Agency/Agency/obj/Agency_paa5u0ks_wpftmp.csproj.nuget.dgspec.json

@@ -0,0 +1,91 @@
+{
+  "format": 1,
+  "restore": {
+    "Z:\\УиФИС\\Agency\\Agency\\Agency.csproj": {}
+  },
+  "projects": {
+    "Z:\\УиФИС\\Agency\\Agency\\Agency.csproj": {
+      "version": "1.0.0",
+      "restore": {
+        "projectUniqueName": "Z:\\УиФИС\\Agency\\Agency\\Agency.csproj",
+        "projectName": "Agency",
+        "projectPath": "Z:\\УиФИС\\Agency\\Agency\\Agency.csproj",
+        "packagesPath": "C:\\Users\\gr606_midvl\\.nuget\\packages\\",
+        "outputPath": "Z:\\УиФИС\\Agency\\Agency\\obj\\",
+        "projectStyle": "PackageReference",
+        "fallbackFolders": [
+          "C:\\Program Files (x86)\\Microsoft Visual Studio\\Shared\\NuGetPackages"
+        ],
+        "configFilePaths": [
+          "C:\\Users\\gr606_midvl\\AppData\\Roaming\\NuGet\\NuGet.Config",
+          "C:\\Program Files (x86)\\NuGet\\Config\\Microsoft.VisualStudio.FallbackLocation.config",
+          "C:\\Program Files (x86)\\NuGet\\Config\\Microsoft.VisualStudio.Offline.config"
+        ],
+        "originalTargetFrameworks": [
+          "net6.0-windows7.0"
+        ],
+        "sources": {
+          "C:\\Program Files (x86)\\Microsoft SDKs\\NuGetPackages\\": {},
+          "https://api.nuget.org/v3/index.json": {}
+        },
+        "frameworks": {
+          "net6.0-windows7.0": {
+            "targetAlias": "net6.0-windows",
+            "projectReferences": {}
+          }
+        },
+        "warningProperties": {
+          "warnAsError": [
+            "NU1605"
+          ]
+        }
+      },
+      "frameworks": {
+        "net6.0-windows7.0": {
+          "targetAlias": "net6.0-windows",
+          "dependencies": {
+            "Microsoft.EntityFrameworkCore": {
+              "target": "Package",
+              "version": "[6.0.5, )"
+            },
+            "Microsoft.EntityFrameworkCore.Design": {
+              "include": "Runtime, Build, Native, ContentFiles, Analyzers, BuildTransitive",
+              "suppressParent": "All",
+              "target": "Package",
+              "version": "[6.0.5, )"
+            },
+            "Microsoft.EntityFrameworkCore.SqlServer": {
+              "target": "Package",
+              "version": "[6.0.5, )"
+            },
+            "Microsoft.EntityFrameworkCore.Tools": {
+              "include": "Runtime, Build, Native, ContentFiles, Analyzers, BuildTransitive",
+              "suppressParent": "All",
+              "target": "Package",
+              "version": "[6.0.5, )"
+            }
+          },
+          "imports": [
+            "net461",
+            "net462",
+            "net47",
+            "net471",
+            "net472",
+            "net48"
+          ],
+          "assetTargetFallback": true,
+          "warn": true,
+          "frameworkReferences": {
+            "Microsoft.NETCore.App": {
+              "privateAssets": "all"
+            },
+            "Microsoft.WindowsDesktop.App.WPF": {
+              "privateAssets": "none"
+            }
+          },
+          "runtimeIdentifierGraphPath": "C:\\Program Files\\dotnet\\sdk\\6.0.102\\RuntimeIdentifierGraph.json"
+        }
+      }
+    }
+  }
+}

+ 22 - 0
Agency/Agency/obj/Agency_paa5u0ks_wpftmp.csproj.nuget.g.props

@@ -0,0 +1,22 @@
+<?xml version="1.0" encoding="utf-8" standalone="no"?>
+<Project ToolsVersion="14.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
+  <PropertyGroup Condition=" '$(ExcludeRestorePackageImports)' != 'true' ">
+    <RestoreSuccess Condition=" '$(RestoreSuccess)' == '' ">True</RestoreSuccess>
+    <RestoreTool Condition=" '$(RestoreTool)' == '' ">NuGet</RestoreTool>
+    <ProjectAssetsFile Condition=" '$(ProjectAssetsFile)' == '' ">$(MSBuildThisFileDirectory)project.assets.json</ProjectAssetsFile>
+    <NuGetPackageRoot Condition=" '$(NuGetPackageRoot)' == '' ">$(UserProfile)\.nuget\packages\</NuGetPackageRoot>
+    <NuGetPackageFolders Condition=" '$(NuGetPackageFolders)' == '' ">C:\Users\gr606_midvl\.nuget\packages\;C:\Program Files (x86)\Microsoft Visual Studio\Shared\NuGetPackages</NuGetPackageFolders>
+    <NuGetProjectStyle Condition=" '$(NuGetProjectStyle)' == '' ">PackageReference</NuGetProjectStyle>
+    <NuGetToolVersion Condition=" '$(NuGetToolVersion)' == '' ">6.0.1</NuGetToolVersion>
+  </PropertyGroup>
+  <ItemGroup Condition=" '$(ExcludeRestorePackageImports)' != 'true' ">
+    <SourceRoot Include="C:\Users\gr606_midvl\.nuget\packages\" />
+    <SourceRoot Include="C:\Program Files (x86)\Microsoft Visual Studio\Shared\NuGetPackages\" />
+  </ItemGroup>
+  <ImportGroup Condition=" '$(ExcludeRestorePackageImports)' != 'true' ">
+    <Import Project="$(NuGetPackageRoot)microsoft.entityframeworkcore.design\6.0.5\build\net6.0\Microsoft.EntityFrameworkCore.Design.props" Condition="Exists('$(NuGetPackageRoot)microsoft.entityframeworkcore.design\6.0.5\build\net6.0\Microsoft.EntityFrameworkCore.Design.props')" />
+  </ImportGroup>
+  <PropertyGroup Condition=" '$(ExcludeRestorePackageImports)' != 'true' ">
+    <PkgMicrosoft_EntityFrameworkCore_Tools Condition=" '$(PkgMicrosoft_EntityFrameworkCore_Tools)' == '' ">C:\Users\gr606_midvl\.nuget\packages\microsoft.entityframeworkcore.tools\6.0.5</PkgMicrosoft_EntityFrameworkCore_Tools>
+  </PropertyGroup>
+</Project>

+ 2 - 0
Agency/Agency/obj/Agency_paa5u0ks_wpftmp.csproj.nuget.g.targets

@@ -0,0 +1,2 @@
+<?xml version="1.0" encoding="utf-8" standalone="no"?>
+<Project ToolsVersion="14.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003" />

+ 91 - 0
Agency/Agency/obj/Agency_pnuuc20w_wpftmp.csproj.nuget.dgspec.json

@@ -0,0 +1,91 @@
+{
+  "format": 1,
+  "restore": {
+    "Z:\\УиФИС\\Agency\\Agency\\Agency.csproj": {}
+  },
+  "projects": {
+    "Z:\\УиФИС\\Agency\\Agency\\Agency.csproj": {
+      "version": "1.0.0",
+      "restore": {
+        "projectUniqueName": "Z:\\УиФИС\\Agency\\Agency\\Agency.csproj",
+        "projectName": "Agency",
+        "projectPath": "Z:\\УиФИС\\Agency\\Agency\\Agency.csproj",
+        "packagesPath": "C:\\Users\\gr606_midvl\\.nuget\\packages\\",
+        "outputPath": "Z:\\УиФИС\\Agency\\Agency\\obj\\",
+        "projectStyle": "PackageReference",
+        "fallbackFolders": [
+          "C:\\Program Files (x86)\\Microsoft Visual Studio\\Shared\\NuGetPackages"
+        ],
+        "configFilePaths": [
+          "C:\\Users\\gr606_midvl\\AppData\\Roaming\\NuGet\\NuGet.Config",
+          "C:\\Program Files (x86)\\NuGet\\Config\\Microsoft.VisualStudio.FallbackLocation.config",
+          "C:\\Program Files (x86)\\NuGet\\Config\\Microsoft.VisualStudio.Offline.config"
+        ],
+        "originalTargetFrameworks": [
+          "net6.0-windows7.0"
+        ],
+        "sources": {
+          "C:\\Program Files (x86)\\Microsoft SDKs\\NuGetPackages\\": {},
+          "https://api.nuget.org/v3/index.json": {}
+        },
+        "frameworks": {
+          "net6.0-windows7.0": {
+            "targetAlias": "net6.0-windows",
+            "projectReferences": {}
+          }
+        },
+        "warningProperties": {
+          "warnAsError": [
+            "NU1605"
+          ]
+        }
+      },
+      "frameworks": {
+        "net6.0-windows7.0": {
+          "targetAlias": "net6.0-windows",
+          "dependencies": {
+            "Microsoft.EntityFrameworkCore": {
+              "target": "Package",
+              "version": "[6.0.5, )"
+            },
+            "Microsoft.EntityFrameworkCore.Design": {
+              "include": "Runtime, Build, Native, ContentFiles, Analyzers, BuildTransitive",
+              "suppressParent": "All",
+              "target": "Package",
+              "version": "[6.0.5, )"
+            },
+            "Microsoft.EntityFrameworkCore.SqlServer": {
+              "target": "Package",
+              "version": "[6.0.5, )"
+            },
+            "Microsoft.EntityFrameworkCore.Tools": {
+              "include": "Runtime, Build, Native, ContentFiles, Analyzers, BuildTransitive",
+              "suppressParent": "All",
+              "target": "Package",
+              "version": "[6.0.5, )"
+            }
+          },
+          "imports": [
+            "net461",
+            "net462",
+            "net47",
+            "net471",
+            "net472",
+            "net48"
+          ],
+          "assetTargetFallback": true,
+          "warn": true,
+          "frameworkReferences": {
+            "Microsoft.NETCore.App": {
+              "privateAssets": "all"
+            },
+            "Microsoft.WindowsDesktop.App.WPF": {
+              "privateAssets": "none"
+            }
+          },
+          "runtimeIdentifierGraphPath": "C:\\Program Files\\dotnet\\sdk\\6.0.102\\RuntimeIdentifierGraph.json"
+        }
+      }
+    }
+  }
+}

+ 22 - 0
Agency/Agency/obj/Agency_pnuuc20w_wpftmp.csproj.nuget.g.props

@@ -0,0 +1,22 @@
+<?xml version="1.0" encoding="utf-8" standalone="no"?>
+<Project ToolsVersion="14.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
+  <PropertyGroup Condition=" '$(ExcludeRestorePackageImports)' != 'true' ">
+    <RestoreSuccess Condition=" '$(RestoreSuccess)' == '' ">True</RestoreSuccess>
+    <RestoreTool Condition=" '$(RestoreTool)' == '' ">NuGet</RestoreTool>
+    <ProjectAssetsFile Condition=" '$(ProjectAssetsFile)' == '' ">$(MSBuildThisFileDirectory)project.assets.json</ProjectAssetsFile>
+    <NuGetPackageRoot Condition=" '$(NuGetPackageRoot)' == '' ">$(UserProfile)\.nuget\packages\</NuGetPackageRoot>
+    <NuGetPackageFolders Condition=" '$(NuGetPackageFolders)' == '' ">C:\Users\gr606_midvl\.nuget\packages\;C:\Program Files (x86)\Microsoft Visual Studio\Shared\NuGetPackages</NuGetPackageFolders>
+    <NuGetProjectStyle Condition=" '$(NuGetProjectStyle)' == '' ">PackageReference</NuGetProjectStyle>
+    <NuGetToolVersion Condition=" '$(NuGetToolVersion)' == '' ">6.0.1</NuGetToolVersion>
+  </PropertyGroup>
+  <ItemGroup Condition=" '$(ExcludeRestorePackageImports)' != 'true' ">
+    <SourceRoot Include="C:\Users\gr606_midvl\.nuget\packages\" />
+    <SourceRoot Include="C:\Program Files (x86)\Microsoft Visual Studio\Shared\NuGetPackages\" />
+  </ItemGroup>
+  <ImportGroup Condition=" '$(ExcludeRestorePackageImports)' != 'true' ">
+    <Import Project="$(NuGetPackageRoot)microsoft.entityframeworkcore.design\6.0.5\build\net6.0\Microsoft.EntityFrameworkCore.Design.props" Condition="Exists('$(NuGetPackageRoot)microsoft.entityframeworkcore.design\6.0.5\build\net6.0\Microsoft.EntityFrameworkCore.Design.props')" />
+  </ImportGroup>
+  <PropertyGroup Condition=" '$(ExcludeRestorePackageImports)' != 'true' ">
+    <PkgMicrosoft_EntityFrameworkCore_Tools Condition=" '$(PkgMicrosoft_EntityFrameworkCore_Tools)' == '' ">C:\Users\gr606_midvl\.nuget\packages\microsoft.entityframeworkcore.tools\6.0.5</PkgMicrosoft_EntityFrameworkCore_Tools>
+  </PropertyGroup>
+</Project>

+ 2 - 0
Agency/Agency/obj/Agency_pnuuc20w_wpftmp.csproj.nuget.g.targets

@@ -0,0 +1,2 @@
+<?xml version="1.0" encoding="utf-8" standalone="no"?>
+<Project ToolsVersion="14.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003" />

+ 69 - 0
Agency/Agency/obj/Agency_pv4moohm_wpftmp.csproj.nuget.dgspec.json

@@ -0,0 +1,69 @@
+{
+  "format": 1,
+  "restore": {
+    "Z:\\УиФИС\\Agency\\Agency\\Agency.csproj": {}
+  },
+  "projects": {
+    "Z:\\УиФИС\\Agency\\Agency\\Agency.csproj": {
+      "version": "1.0.0",
+      "restore": {
+        "projectUniqueName": "Z:\\УиФИС\\Agency\\Agency\\Agency.csproj",
+        "projectName": "Agency",
+        "projectPath": "Z:\\УиФИС\\Agency\\Agency\\Agency.csproj",
+        "packagesPath": "C:\\Users\\gr606_midvl\\.nuget\\packages\\",
+        "outputPath": "Z:\\УиФИС\\Agency\\Agency\\obj\\",
+        "projectStyle": "PackageReference",
+        "fallbackFolders": [
+          "C:\\Program Files (x86)\\Microsoft Visual Studio\\Shared\\NuGetPackages"
+        ],
+        "configFilePaths": [
+          "C:\\Users\\gr606_midvl\\AppData\\Roaming\\NuGet\\NuGet.Config",
+          "C:\\Program Files (x86)\\NuGet\\Config\\Microsoft.VisualStudio.FallbackLocation.config",
+          "C:\\Program Files (x86)\\NuGet\\Config\\Microsoft.VisualStudio.Offline.config"
+        ],
+        "originalTargetFrameworks": [
+          "net6.0-windows7.0"
+        ],
+        "sources": {
+          "C:\\Program Files (x86)\\Microsoft SDKs\\NuGetPackages\\": {},
+          "https://api.nuget.org/v3/index.json": {}
+        },
+        "frameworks": {
+          "net6.0-windows7.0": {
+            "targetAlias": "net6.0-windows",
+            "projectReferences": {}
+          }
+        },
+        "warningProperties": {
+          "warnAsError": [
+            "NU1605"
+          ]
+        }
+      },
+      "frameworks": {
+        "net6.0-windows7.0": {
+          "targetAlias": "net6.0-windows",
+          "imports": [
+            "net461",
+            "net462",
+            "net47",
+            "net471",
+            "net472",
+            "net48"
+          ],
+          "assetTargetFallback": true,
+          "warn": true,
+          "frameworkReferences": {
+            "Microsoft.NETCore.App": {
+              "privateAssets": "all"
+            },
+            "Microsoft.WindowsDesktop.App.WPF": {
+              "privateAssets": "none"
+            }
+          },
+          "runtimeIdentifierGraphPath": "C:\\Program Files\\dotnet\\sdk\\6.0.102\\RuntimeIdentifierGraph.json"
+        }
+      }
+    }
+  }
+}

+ 0 - 0
Agency/Agency/obj/Agency_pv4moohm_wpftmp.csproj.nuget.g.props


Một số tệp đã không được hiển thị bởi vì quá nhiều tập tin thay đổi trong này khác