first comm

This commit is contained in:
ValAnn 2024-04-01 00:12:32 +04:00
commit be17c3e2bd
450 changed files with 43860 additions and 0 deletions

View File

BIN
.vs/SushiBar/v17/.suo Normal file

Binary file not shown.

135
SushiBar.sln Normal file
View File

@ -0,0 +1,135 @@

Microsoft Visual Studio Solution File, Format Version 12.00
# Visual Studio Version 17
VisualStudioVersion = 17.3.32825.248
MinimumVisualStudioVersion = 10.0.40219.1
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "SushiBar", "SushiBar\SushiBar.csproj", "{1DBEFDAC-8E94-49DB-9C92-576BF0A2B862}"
EndProject
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "SushiBarDataModels", "SushiBarDataModels\SushiBarDataModels.csproj", "{76043DE7-71BC-41E8-B4C0-ECFADDFBF55F}"
EndProject
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "SushiBarContracts", "SushiBarContracts\SushiBarContracts.csproj", "{993E0787-3AD5-4743-8997-C828CD0CDC10}"
EndProject
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "SushiBarView", "SushiBarView\SushiBarView.csproj", "{55A792F4-5723-476F-A420-0F863B7C7F99}"
EndProject
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "SushiBarListImplement", "SushiBarListImplement_\SushiBarListImplement.csproj", "{AF2B4854-10FE-45CC-BA64-0C0B93BF41C4}"
EndProject
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "SushiBarBusinessLogic", "SushiBarBusinessLogic_\SushiBarBusinessLogic.csproj", "{D7936C41-351B-43FD-B90B-5477375EEC1E}"
EndProject
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "SushiBarFileImplement", "SushiBarFileImplement\SushiBarFileImplement.csproj", "{3FDA8B7A-9E62-4A1B-B926-DC71C6C5812F}"
EndProject
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "SushiBarDatabaseImplement", "SushiBarDatabaseImplement\SushiBarDatabaseImplement.csproj", "{B8DE57BC-14B3-47A9-93E9-F668D3F10A21}"
EndProject
Global
GlobalSection(SolutionConfigurationPlatforms) = preSolution
Debug|Any CPU = Debug|Any CPU
Debug|x64 = Debug|x64
Debug|x86 = Debug|x86
Release|Any CPU = Release|Any CPU
Release|x64 = Release|x64
Release|x86 = Release|x86
EndGlobalSection
GlobalSection(ProjectConfigurationPlatforms) = postSolution
{1DBEFDAC-8E94-49DB-9C92-576BF0A2B862}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{1DBEFDAC-8E94-49DB-9C92-576BF0A2B862}.Debug|Any CPU.Build.0 = Debug|Any CPU
{1DBEFDAC-8E94-49DB-9C92-576BF0A2B862}.Debug|x64.ActiveCfg = Debug|Any CPU
{1DBEFDAC-8E94-49DB-9C92-576BF0A2B862}.Debug|x64.Build.0 = Debug|Any CPU
{1DBEFDAC-8E94-49DB-9C92-576BF0A2B862}.Debug|x86.ActiveCfg = Debug|Any CPU
{1DBEFDAC-8E94-49DB-9C92-576BF0A2B862}.Debug|x86.Build.0 = Debug|Any CPU
{1DBEFDAC-8E94-49DB-9C92-576BF0A2B862}.Release|Any CPU.ActiveCfg = Release|Any CPU
{1DBEFDAC-8E94-49DB-9C92-576BF0A2B862}.Release|Any CPU.Build.0 = Release|Any CPU
{1DBEFDAC-8E94-49DB-9C92-576BF0A2B862}.Release|x64.ActiveCfg = Release|Any CPU
{1DBEFDAC-8E94-49DB-9C92-576BF0A2B862}.Release|x64.Build.0 = Release|Any CPU
{1DBEFDAC-8E94-49DB-9C92-576BF0A2B862}.Release|x86.ActiveCfg = Release|Any CPU
{1DBEFDAC-8E94-49DB-9C92-576BF0A2B862}.Release|x86.Build.0 = Release|Any CPU
{76043DE7-71BC-41E8-B4C0-ECFADDFBF55F}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{76043DE7-71BC-41E8-B4C0-ECFADDFBF55F}.Debug|Any CPU.Build.0 = Debug|Any CPU
{76043DE7-71BC-41E8-B4C0-ECFADDFBF55F}.Debug|x64.ActiveCfg = Debug|Any CPU
{76043DE7-71BC-41E8-B4C0-ECFADDFBF55F}.Debug|x64.Build.0 = Debug|Any CPU
{76043DE7-71BC-41E8-B4C0-ECFADDFBF55F}.Debug|x86.ActiveCfg = Debug|Any CPU
{76043DE7-71BC-41E8-B4C0-ECFADDFBF55F}.Debug|x86.Build.0 = Debug|Any CPU
{76043DE7-71BC-41E8-B4C0-ECFADDFBF55F}.Release|Any CPU.ActiveCfg = Release|Any CPU
{76043DE7-71BC-41E8-B4C0-ECFADDFBF55F}.Release|Any CPU.Build.0 = Release|Any CPU
{76043DE7-71BC-41E8-B4C0-ECFADDFBF55F}.Release|x64.ActiveCfg = Release|Any CPU
{76043DE7-71BC-41E8-B4C0-ECFADDFBF55F}.Release|x64.Build.0 = Release|Any CPU
{76043DE7-71BC-41E8-B4C0-ECFADDFBF55F}.Release|x86.ActiveCfg = Release|Any CPU
{76043DE7-71BC-41E8-B4C0-ECFADDFBF55F}.Release|x86.Build.0 = Release|Any CPU
{993E0787-3AD5-4743-8997-C828CD0CDC10}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{993E0787-3AD5-4743-8997-C828CD0CDC10}.Debug|Any CPU.Build.0 = Debug|Any CPU
{993E0787-3AD5-4743-8997-C828CD0CDC10}.Debug|x64.ActiveCfg = Debug|Any CPU
{993E0787-3AD5-4743-8997-C828CD0CDC10}.Debug|x64.Build.0 = Debug|Any CPU
{993E0787-3AD5-4743-8997-C828CD0CDC10}.Debug|x86.ActiveCfg = Debug|Any CPU
{993E0787-3AD5-4743-8997-C828CD0CDC10}.Debug|x86.Build.0 = Debug|Any CPU
{993E0787-3AD5-4743-8997-C828CD0CDC10}.Release|Any CPU.ActiveCfg = Release|Any CPU
{993E0787-3AD5-4743-8997-C828CD0CDC10}.Release|Any CPU.Build.0 = Release|Any CPU
{993E0787-3AD5-4743-8997-C828CD0CDC10}.Release|x64.ActiveCfg = Release|Any CPU
{993E0787-3AD5-4743-8997-C828CD0CDC10}.Release|x64.Build.0 = Release|Any CPU
{993E0787-3AD5-4743-8997-C828CD0CDC10}.Release|x86.ActiveCfg = Release|Any CPU
{993E0787-3AD5-4743-8997-C828CD0CDC10}.Release|x86.Build.0 = Release|Any CPU
{55A792F4-5723-476F-A420-0F863B7C7F99}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{55A792F4-5723-476F-A420-0F863B7C7F99}.Debug|Any CPU.Build.0 = Debug|Any CPU
{55A792F4-5723-476F-A420-0F863B7C7F99}.Debug|x64.ActiveCfg = Debug|Any CPU
{55A792F4-5723-476F-A420-0F863B7C7F99}.Debug|x64.Build.0 = Debug|Any CPU
{55A792F4-5723-476F-A420-0F863B7C7F99}.Debug|x86.ActiveCfg = Debug|Any CPU
{55A792F4-5723-476F-A420-0F863B7C7F99}.Debug|x86.Build.0 = Debug|Any CPU
{55A792F4-5723-476F-A420-0F863B7C7F99}.Release|Any CPU.ActiveCfg = Release|Any CPU
{55A792F4-5723-476F-A420-0F863B7C7F99}.Release|Any CPU.Build.0 = Release|Any CPU
{55A792F4-5723-476F-A420-0F863B7C7F99}.Release|x64.ActiveCfg = Release|Any CPU
{55A792F4-5723-476F-A420-0F863B7C7F99}.Release|x64.Build.0 = Release|Any CPU
{55A792F4-5723-476F-A420-0F863B7C7F99}.Release|x86.ActiveCfg = Release|Any CPU
{55A792F4-5723-476F-A420-0F863B7C7F99}.Release|x86.Build.0 = Release|Any CPU
{AF2B4854-10FE-45CC-BA64-0C0B93BF41C4}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{AF2B4854-10FE-45CC-BA64-0C0B93BF41C4}.Debug|Any CPU.Build.0 = Debug|Any CPU
{AF2B4854-10FE-45CC-BA64-0C0B93BF41C4}.Debug|x64.ActiveCfg = Debug|Any CPU
{AF2B4854-10FE-45CC-BA64-0C0B93BF41C4}.Debug|x64.Build.0 = Debug|Any CPU
{AF2B4854-10FE-45CC-BA64-0C0B93BF41C4}.Debug|x86.ActiveCfg = Debug|Any CPU
{AF2B4854-10FE-45CC-BA64-0C0B93BF41C4}.Debug|x86.Build.0 = Debug|Any CPU
{AF2B4854-10FE-45CC-BA64-0C0B93BF41C4}.Release|Any CPU.ActiveCfg = Release|Any CPU
{AF2B4854-10FE-45CC-BA64-0C0B93BF41C4}.Release|Any CPU.Build.0 = Release|Any CPU
{AF2B4854-10FE-45CC-BA64-0C0B93BF41C4}.Release|x64.ActiveCfg = Release|Any CPU
{AF2B4854-10FE-45CC-BA64-0C0B93BF41C4}.Release|x64.Build.0 = Release|Any CPU
{AF2B4854-10FE-45CC-BA64-0C0B93BF41C4}.Release|x86.ActiveCfg = Release|Any CPU
{AF2B4854-10FE-45CC-BA64-0C0B93BF41C4}.Release|x86.Build.0 = Release|Any CPU
{D7936C41-351B-43FD-B90B-5477375EEC1E}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{D7936C41-351B-43FD-B90B-5477375EEC1E}.Debug|Any CPU.Build.0 = Debug|Any CPU
{D7936C41-351B-43FD-B90B-5477375EEC1E}.Debug|x64.ActiveCfg = Debug|Any CPU
{D7936C41-351B-43FD-B90B-5477375EEC1E}.Debug|x64.Build.0 = Debug|Any CPU
{D7936C41-351B-43FD-B90B-5477375EEC1E}.Debug|x86.ActiveCfg = Debug|Any CPU
{D7936C41-351B-43FD-B90B-5477375EEC1E}.Debug|x86.Build.0 = Debug|Any CPU
{D7936C41-351B-43FD-B90B-5477375EEC1E}.Release|Any CPU.ActiveCfg = Release|Any CPU
{D7936C41-351B-43FD-B90B-5477375EEC1E}.Release|Any CPU.Build.0 = Release|Any CPU
{D7936C41-351B-43FD-B90B-5477375EEC1E}.Release|x64.ActiveCfg = Release|Any CPU
{D7936C41-351B-43FD-B90B-5477375EEC1E}.Release|x64.Build.0 = Release|Any CPU
{D7936C41-351B-43FD-B90B-5477375EEC1E}.Release|x86.ActiveCfg = Release|Any CPU
{D7936C41-351B-43FD-B90B-5477375EEC1E}.Release|x86.Build.0 = Release|Any CPU
{3FDA8B7A-9E62-4A1B-B926-DC71C6C5812F}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{3FDA8B7A-9E62-4A1B-B926-DC71C6C5812F}.Debug|Any CPU.Build.0 = Debug|Any CPU
{3FDA8B7A-9E62-4A1B-B926-DC71C6C5812F}.Debug|x64.ActiveCfg = Debug|Any CPU
{3FDA8B7A-9E62-4A1B-B926-DC71C6C5812F}.Debug|x64.Build.0 = Debug|Any CPU
{3FDA8B7A-9E62-4A1B-B926-DC71C6C5812F}.Debug|x86.ActiveCfg = Debug|Any CPU
{3FDA8B7A-9E62-4A1B-B926-DC71C6C5812F}.Debug|x86.Build.0 = Debug|Any CPU
{3FDA8B7A-9E62-4A1B-B926-DC71C6C5812F}.Release|Any CPU.ActiveCfg = Release|Any CPU
{3FDA8B7A-9E62-4A1B-B926-DC71C6C5812F}.Release|Any CPU.Build.0 = Release|Any CPU
{3FDA8B7A-9E62-4A1B-B926-DC71C6C5812F}.Release|x64.ActiveCfg = Release|Any CPU
{3FDA8B7A-9E62-4A1B-B926-DC71C6C5812F}.Release|x64.Build.0 = Release|Any CPU
{3FDA8B7A-9E62-4A1B-B926-DC71C6C5812F}.Release|x86.ActiveCfg = Release|Any CPU
{3FDA8B7A-9E62-4A1B-B926-DC71C6C5812F}.Release|x86.Build.0 = Release|Any CPU
{B8DE57BC-14B3-47A9-93E9-F668D3F10A21}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{B8DE57BC-14B3-47A9-93E9-F668D3F10A21}.Debug|Any CPU.Build.0 = Debug|Any CPU
{B8DE57BC-14B3-47A9-93E9-F668D3F10A21}.Debug|x64.ActiveCfg = Debug|Any CPU
{B8DE57BC-14B3-47A9-93E9-F668D3F10A21}.Debug|x64.Build.0 = Debug|Any CPU
{B8DE57BC-14B3-47A9-93E9-F668D3F10A21}.Debug|x86.ActiveCfg = Debug|Any CPU
{B8DE57BC-14B3-47A9-93E9-F668D3F10A21}.Debug|x86.Build.0 = Debug|Any CPU
{B8DE57BC-14B3-47A9-93E9-F668D3F10A21}.Release|Any CPU.ActiveCfg = Release|Any CPU
{B8DE57BC-14B3-47A9-93E9-F668D3F10A21}.Release|Any CPU.Build.0 = Release|Any CPU
{B8DE57BC-14B3-47A9-93E9-F668D3F10A21}.Release|x64.ActiveCfg = Release|Any CPU
{B8DE57BC-14B3-47A9-93E9-F668D3F10A21}.Release|x64.Build.0 = Release|Any CPU
{B8DE57BC-14B3-47A9-93E9-F668D3F10A21}.Release|x86.ActiveCfg = Release|Any CPU
{B8DE57BC-14B3-47A9-93E9-F668D3F10A21}.Release|x86.Build.0 = Release|Any CPU
EndGlobalSection
GlobalSection(SolutionProperties) = preSolution
HideSolutionNode = FALSE
EndGlobalSection
GlobalSection(ExtensibilityGlobals) = postSolution
SolutionGuid = {E2BABB89-260D-415B-A4A6-5A6E04B9C724}
EndGlobalSection
EndGlobal

17
SushiBar/Program.cs Normal file
View File

@ -0,0 +1,17 @@
namespace SushiBar
{
internal static class Program
{
/// <summary>
/// The main entry point for the application.
/// </summary>
[STAThread]
static void Main()
{
// To customize application configuration such as set high DPI settings or default font,
// see https://aka.ms/applicationconfiguration.
ApplicationConfiguration.Initialize();
Application.Run();
}
}
}

20
SushiBar/SushiBar.csproj Normal file
View File

@ -0,0 +1,20 @@
<Project Sdk="Microsoft.NET.Sdk">
<PropertyGroup>
<OutputType>WinExe</OutputType>
<TargetFramework>net6.0-windows</TargetFramework>
<Nullable>enable</Nullable>
<UseWindowsForms>true</UseWindowsForms>
<ImplicitUsings>enable</ImplicitUsings>
</PropertyGroup>
<ItemGroup>
<PackageReference Include="Microsoft.EntityFrameworkCore" Version="7.0.17" />
<PackageReference Include="Microsoft.EntityFrameworkCore.SqlServer" Version="7.0.17" />
<PackageReference Include="Microsoft.EntityFrameworkCore.Tools" Version="7.0.17">
<PrivateAssets>all</PrivateAssets>
<IncludeAssets>runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets>
</PackageReference>
</ItemGroup>
</Project>

Binary file not shown.

Binary file not shown.

Binary file not shown.

File diff suppressed because it is too large Load Diff

Binary file not shown.

Binary file not shown.

Binary file not shown.

View File

@ -0,0 +1,18 @@
{
"runtimeOptions": {
"tfm": "net6.0",
"frameworks": [
{
"name": "Microsoft.NETCore.App",
"version": "6.0.0"
},
{
"name": "Microsoft.WindowsDesktop.App",
"version": "6.0.0"
}
],
"configProperties": {
"System.Reflection.NullabilityInfoContext.IsSupported": true
}
}
}

Binary file not shown.

View File

@ -0,0 +1,4 @@
// <autogenerated />
using System;
using System.Reflection;
[assembly: global::System.Runtime.Versioning.TargetFrameworkAttribute(".NETCoreApp,Version=v6.0", FrameworkDisplayName = "")]

View File

@ -0,0 +1,25 @@
//------------------------------------------------------------------------------
// <auto-generated>
// Этот код создан программой.
// Исполняемая версия:4.0.30319.42000
//
// Изменения в этом файле могут привести к неправильной работе и будут потеряны в случае
// повторной генерации кода.
// </auto-generated>
//------------------------------------------------------------------------------
using System;
using System.Reflection;
[assembly: System.Reflection.AssemblyCompanyAttribute("SushiBar")]
[assembly: System.Reflection.AssemblyConfigurationAttribute("Debug")]
[assembly: System.Reflection.AssemblyFileVersionAttribute("1.0.0.0")]
[assembly: System.Reflection.AssemblyInformationalVersionAttribute("1.0.0")]
[assembly: System.Reflection.AssemblyProductAttribute("SushiBar")]
[assembly: System.Reflection.AssemblyTitleAttribute("SushiBar")]
[assembly: System.Reflection.AssemblyVersionAttribute("1.0.0.0")]
[assembly: System.Runtime.Versioning.TargetPlatformAttribute("Windows7.0")]
[assembly: System.Runtime.Versioning.SupportedOSPlatformAttribute("Windows7.0")]
// Создано классом WriteCodeFragment MSBuild.

View File

@ -0,0 +1 @@
0cd35af099102292d64bc6f57c46fdbeacbfaa8a

View File

@ -0,0 +1,16 @@
is_global = true
build_property.ApplicationManifest =
build_property.StartupObject =
build_property.ApplicationDefaultFont =
build_property.ApplicationHighDpiMode =
build_property.ApplicationUseCompatibleTextRendering =
build_property.ApplicationVisualStyles =
build_property.TargetFramework = net6.0-windows
build_property.TargetPlatformMinVersion = 7.0
build_property.UsingMicrosoftNETSdkWeb =
build_property.ProjectTypeGuids =
build_property.InvariantGlobalization =
build_property.PlatformNeutralAssembly =
build_property._SupportedPlatformList = Linux,macOS,Windows
build_property.RootNamespace = SushiBar
build_property.ProjectDir = C:\Users\User\Desktop\subd_5_lab\SushiBar\SushiBar\

View File

@ -0,0 +1,10 @@
// <auto-generated/>
global using global::System;
global using global::System.Collections.Generic;
global using global::System.Drawing;
global using global::System.IO;
global using global::System.Linq;
global using global::System.Net.Http;
global using global::System.Threading;
global using global::System.Threading.Tasks;
global using global::System.Windows.Forms;

View File

@ -0,0 +1 @@
03c6a31b8c94992f97df48321858496103d9e6f7

View File

@ -0,0 +1,71 @@
C:\Users\User\Desktop\subd_5_lab\SushiBar\SushiBar\bin\Debug\net6.0-windows\SushiBar.exe
C:\Users\User\Desktop\subd_5_lab\SushiBar\SushiBar\bin\Debug\net6.0-windows\SushiBar.deps.json
C:\Users\User\Desktop\subd_5_lab\SushiBar\SushiBar\bin\Debug\net6.0-windows\SushiBar.runtimeconfig.json
C:\Users\User\Desktop\subd_5_lab\SushiBar\SushiBar\bin\Debug\net6.0-windows\SushiBar.dll
C:\Users\User\Desktop\subd_5_lab\SushiBar\SushiBar\bin\Debug\net6.0-windows\SushiBar.pdb
C:\Users\User\Desktop\subd_5_lab\SushiBar\SushiBar\bin\Debug\net6.0-windows\Azure.Core.dll
C:\Users\User\Desktop\subd_5_lab\SushiBar\SushiBar\bin\Debug\net6.0-windows\Azure.Identity.dll
C:\Users\User\Desktop\subd_5_lab\SushiBar\SushiBar\bin\Debug\net6.0-windows\Humanizer.dll
C:\Users\User\Desktop\subd_5_lab\SushiBar\SushiBar\bin\Debug\net6.0-windows\Microsoft.Bcl.AsyncInterfaces.dll
C:\Users\User\Desktop\subd_5_lab\SushiBar\SushiBar\bin\Debug\net6.0-windows\Microsoft.Data.SqlClient.dll
C:\Users\User\Desktop\subd_5_lab\SushiBar\SushiBar\bin\Debug\net6.0-windows\Microsoft.EntityFrameworkCore.dll
C:\Users\User\Desktop\subd_5_lab\SushiBar\SushiBar\bin\Debug\net6.0-windows\Microsoft.EntityFrameworkCore.Abstractions.dll
C:\Users\User\Desktop\subd_5_lab\SushiBar\SushiBar\bin\Debug\net6.0-windows\Microsoft.EntityFrameworkCore.Design.dll
C:\Users\User\Desktop\subd_5_lab\SushiBar\SushiBar\bin\Debug\net6.0-windows\Microsoft.EntityFrameworkCore.Relational.dll
C:\Users\User\Desktop\subd_5_lab\SushiBar\SushiBar\bin\Debug\net6.0-windows\Microsoft.EntityFrameworkCore.SqlServer.dll
C:\Users\User\Desktop\subd_5_lab\SushiBar\SushiBar\bin\Debug\net6.0-windows\Microsoft.Extensions.Caching.Abstractions.dll
C:\Users\User\Desktop\subd_5_lab\SushiBar\SushiBar\bin\Debug\net6.0-windows\Microsoft.Extensions.Caching.Memory.dll
C:\Users\User\Desktop\subd_5_lab\SushiBar\SushiBar\bin\Debug\net6.0-windows\Microsoft.Extensions.Configuration.Abstractions.dll
C:\Users\User\Desktop\subd_5_lab\SushiBar\SushiBar\bin\Debug\net6.0-windows\Microsoft.Extensions.DependencyInjection.dll
C:\Users\User\Desktop\subd_5_lab\SushiBar\SushiBar\bin\Debug\net6.0-windows\Microsoft.Extensions.DependencyInjection.Abstractions.dll
C:\Users\User\Desktop\subd_5_lab\SushiBar\SushiBar\bin\Debug\net6.0-windows\Microsoft.Extensions.DependencyModel.dll
C:\Users\User\Desktop\subd_5_lab\SushiBar\SushiBar\bin\Debug\net6.0-windows\Microsoft.Extensions.Logging.dll
C:\Users\User\Desktop\subd_5_lab\SushiBar\SushiBar\bin\Debug\net6.0-windows\Microsoft.Extensions.Logging.Abstractions.dll
C:\Users\User\Desktop\subd_5_lab\SushiBar\SushiBar\bin\Debug\net6.0-windows\Microsoft.Extensions.Options.dll
C:\Users\User\Desktop\subd_5_lab\SushiBar\SushiBar\bin\Debug\net6.0-windows\Microsoft.Extensions.Primitives.dll
C:\Users\User\Desktop\subd_5_lab\SushiBar\SushiBar\bin\Debug\net6.0-windows\Microsoft.Identity.Client.dll
C:\Users\User\Desktop\subd_5_lab\SushiBar\SushiBar\bin\Debug\net6.0-windows\Microsoft.Identity.Client.Extensions.Msal.dll
C:\Users\User\Desktop\subd_5_lab\SushiBar\SushiBar\bin\Debug\net6.0-windows\Microsoft.Identity.Client.NativeInterop.dll
C:\Users\User\Desktop\subd_5_lab\SushiBar\SushiBar\bin\Debug\net6.0-windows\Microsoft.IdentityModel.Abstractions.dll
C:\Users\User\Desktop\subd_5_lab\SushiBar\SushiBar\bin\Debug\net6.0-windows\Microsoft.IdentityModel.JsonWebTokens.dll
C:\Users\User\Desktop\subd_5_lab\SushiBar\SushiBar\bin\Debug\net6.0-windows\Microsoft.IdentityModel.Logging.dll
C:\Users\User\Desktop\subd_5_lab\SushiBar\SushiBar\bin\Debug\net6.0-windows\Microsoft.IdentityModel.Protocols.dll
C:\Users\User\Desktop\subd_5_lab\SushiBar\SushiBar\bin\Debug\net6.0-windows\Microsoft.IdentityModel.Protocols.OpenIdConnect.dll
C:\Users\User\Desktop\subd_5_lab\SushiBar\SushiBar\bin\Debug\net6.0-windows\Microsoft.IdentityModel.Tokens.dll
C:\Users\User\Desktop\subd_5_lab\SushiBar\SushiBar\bin\Debug\net6.0-windows\Microsoft.SqlServer.Server.dll
C:\Users\User\Desktop\subd_5_lab\SushiBar\SushiBar\bin\Debug\net6.0-windows\Microsoft.Web.WebView2.Core.dll
C:\Users\User\Desktop\subd_5_lab\SushiBar\SushiBar\bin\Debug\net6.0-windows\Microsoft.Web.WebView2.WinForms.dll
C:\Users\User\Desktop\subd_5_lab\SushiBar\SushiBar\bin\Debug\net6.0-windows\Microsoft.Web.WebView2.Wpf.dll
C:\Users\User\Desktop\subd_5_lab\SushiBar\SushiBar\bin\Debug\net6.0-windows\Mono.TextTemplating.dll
C:\Users\User\Desktop\subd_5_lab\SushiBar\SushiBar\bin\Debug\net6.0-windows\System.Configuration.ConfigurationManager.dll
C:\Users\User\Desktop\subd_5_lab\SushiBar\SushiBar\bin\Debug\net6.0-windows\System.Diagnostics.DiagnosticSource.dll
C:\Users\User\Desktop\subd_5_lab\SushiBar\SushiBar\bin\Debug\net6.0-windows\System.IdentityModel.Tokens.Jwt.dll
C:\Users\User\Desktop\subd_5_lab\SushiBar\SushiBar\bin\Debug\net6.0-windows\System.Memory.Data.dll
C:\Users\User\Desktop\subd_5_lab\SushiBar\SushiBar\bin\Debug\net6.0-windows\System.Runtime.Caching.dll
C:\Users\User\Desktop\subd_5_lab\SushiBar\SushiBar\bin\Debug\net6.0-windows\System.Text.Encodings.Web.dll
C:\Users\User\Desktop\subd_5_lab\SushiBar\SushiBar\bin\Debug\net6.0-windows\System.Text.Json.dll
C:\Users\User\Desktop\subd_5_lab\SushiBar\SushiBar\bin\Debug\net6.0-windows\runtimes\unix\lib\net6.0\Microsoft.Data.SqlClient.dll
C:\Users\User\Desktop\subd_5_lab\SushiBar\SushiBar\bin\Debug\net6.0-windows\runtimes\win\lib\net6.0\Microsoft.Data.SqlClient.dll
C:\Users\User\Desktop\subd_5_lab\SushiBar\SushiBar\bin\Debug\net6.0-windows\runtimes\win-arm\native\Microsoft.Data.SqlClient.SNI.dll
C:\Users\User\Desktop\subd_5_lab\SushiBar\SushiBar\bin\Debug\net6.0-windows\runtimes\win-arm64\native\Microsoft.Data.SqlClient.SNI.dll
C:\Users\User\Desktop\subd_5_lab\SushiBar\SushiBar\bin\Debug\net6.0-windows\runtimes\win-x64\native\Microsoft.Data.SqlClient.SNI.dll
C:\Users\User\Desktop\subd_5_lab\SushiBar\SushiBar\bin\Debug\net6.0-windows\runtimes\win-x86\native\Microsoft.Data.SqlClient.SNI.dll
C:\Users\User\Desktop\subd_5_lab\SushiBar\SushiBar\bin\Debug\net6.0-windows\runtimes\win-arm64\native\msalruntime_arm64.dll
C:\Users\User\Desktop\subd_5_lab\SushiBar\SushiBar\bin\Debug\net6.0-windows\runtimes\win-x64\native\msalruntime.dll
C:\Users\User\Desktop\subd_5_lab\SushiBar\SushiBar\bin\Debug\net6.0-windows\runtimes\win-x86\native\msalruntime_x86.dll
C:\Users\User\Desktop\subd_5_lab\SushiBar\SushiBar\bin\Debug\net6.0-windows\runtimes\win-arm64\native\WebView2Loader.dll
C:\Users\User\Desktop\subd_5_lab\SushiBar\SushiBar\bin\Debug\net6.0-windows\runtimes\win-x64\native\WebView2Loader.dll
C:\Users\User\Desktop\subd_5_lab\SushiBar\SushiBar\bin\Debug\net6.0-windows\runtimes\win-x86\native\WebView2Loader.dll
C:\Users\User\Desktop\subd_5_lab\SushiBar\SushiBar\bin\Debug\net6.0-windows\runtimes\win\lib\net6.0\System.Runtime.Caching.dll
C:\Users\User\Desktop\subd_5_lab\SushiBar\SushiBar\bin\Debug\net6.0-windows\runtimes\browser\lib\net6.0\System.Text.Encodings.Web.dll
C:\Users\User\Desktop\subd_5_lab\SushiBar\SushiBar\obj\Debug\net6.0-windows\SushiBar.csproj.AssemblyReference.cache
C:\Users\User\Desktop\subd_5_lab\SushiBar\SushiBar\obj\Debug\net6.0-windows\SushiBar.GeneratedMSBuildEditorConfig.editorconfig
C:\Users\User\Desktop\subd_5_lab\SushiBar\SushiBar\obj\Debug\net6.0-windows\SushiBar.AssemblyInfoInputs.cache
C:\Users\User\Desktop\subd_5_lab\SushiBar\SushiBar\obj\Debug\net6.0-windows\SushiBar.AssemblyInfo.cs
C:\Users\User\Desktop\subd_5_lab\SushiBar\SushiBar\obj\Debug\net6.0-windows\SushiBar.csproj.CoreCompileInputs.cache
C:\Users\User\Desktop\subd_5_lab\SushiBar\SushiBar\obj\Debug\net6.0-windows\SushiBar.csproj.CopyComplete
C:\Users\User\Desktop\subd_5_lab\SushiBar\SushiBar\obj\Debug\net6.0-windows\SushiBar.dll
C:\Users\User\Desktop\subd_5_lab\SushiBar\SushiBar\obj\Debug\net6.0-windows\refint\SushiBar.dll
C:\Users\User\Desktop\subd_5_lab\SushiBar\SushiBar\obj\Debug\net6.0-windows\SushiBar.pdb
C:\Users\User\Desktop\subd_5_lab\SushiBar\SushiBar\obj\Debug\net6.0-windows\SushiBar.genruntimeconfig.cache
C:\Users\User\Desktop\subd_5_lab\SushiBar\SushiBar\obj\Debug\net6.0-windows\ref\SushiBar.dll

Binary file not shown.

View File

@ -0,0 +1 @@
267ab1fbb0c52baabce21815b3c6faade22d8fec

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

View File

@ -0,0 +1,82 @@
{
"format": 1,
"restore": {
"C:\\Users\\User\\Desktop\\subd_5_lab\\SushiBar\\SushiBar\\SushiBar.csproj": {}
},
"projects": {
"C:\\Users\\User\\Desktop\\subd_5_lab\\SushiBar\\SushiBar\\SushiBar.csproj": {
"version": "1.0.0",
"restore": {
"projectUniqueName": "C:\\Users\\User\\Desktop\\subd_5_lab\\SushiBar\\SushiBar\\SushiBar.csproj",
"projectName": "SushiBar",
"projectPath": "C:\\Users\\User\\Desktop\\subd_5_lab\\SushiBar\\SushiBar\\SushiBar.csproj",
"packagesPath": "C:\\Users\\User\\.nuget\\packages\\",
"outputPath": "C:\\Users\\User\\Desktop\\subd_5_lab\\SushiBar\\SushiBar\\obj\\",
"projectStyle": "PackageReference",
"configFilePaths": [
"C:\\Users\\User\\AppData\\Roaming\\NuGet\\NuGet.Config",
"C:\\Program Files (x86)\\NuGet\\Config\\Microsoft.VisualStudio.Offline.config"
],
"originalTargetFrameworks": [
"net6.0-windows"
],
"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": "[7.0.17, )"
},
"Microsoft.EntityFrameworkCore.SqlServer": {
"target": "Package",
"version": "[7.0.17, )"
},
"Microsoft.EntityFrameworkCore.Tools": {
"include": "Runtime, Build, Native, ContentFiles, Analyzers, BuildTransitive",
"suppressParent": "All",
"target": "Package",
"version": "[7.0.17, )"
}
},
"imports": [
"net461",
"net462",
"net47",
"net471",
"net472",
"net48",
"net481"
],
"assetTargetFallback": true,
"warn": true,
"frameworkReferences": {
"Microsoft.NETCore.App": {
"privateAssets": "all"
},
"Microsoft.WindowsDesktop.App.WindowsForms": {
"privateAssets": "none"
}
},
"runtimeIdentifierGraphPath": "C:\\Program Files\\dotnet\\sdk\\6.0.400\\RuntimeIdentifierGraph.json"
}
}
}
}
}

View File

@ -0,0 +1,23 @@
<?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\User\.nuget\packages\</NuGetPackageFolders>
<NuGetProjectStyle Condition=" '$(NuGetProjectStyle)' == '' ">PackageReference</NuGetProjectStyle>
<NuGetToolVersion Condition=" '$(NuGetToolVersion)' == '' ">6.3.0</NuGetToolVersion>
</PropertyGroup>
<ItemGroup Condition=" '$(ExcludeRestorePackageImports)' != 'true' ">
<SourceRoot Include="C:\Users\User\.nuget\packages\" />
</ItemGroup>
<ImportGroup Condition=" '$(ExcludeRestorePackageImports)' != 'true' ">
<Import Project="$(NuGetPackageRoot)microsoft.entityframeworkcore\7.0.17\buildTransitive\net6.0\Microsoft.EntityFrameworkCore.props" Condition="Exists('$(NuGetPackageRoot)microsoft.entityframeworkcore\7.0.17\buildTransitive\net6.0\Microsoft.EntityFrameworkCore.props')" />
<Import Project="$(NuGetPackageRoot)microsoft.entityframeworkcore.design\7.0.17\build\net6.0\Microsoft.EntityFrameworkCore.Design.props" Condition="Exists('$(NuGetPackageRoot)microsoft.entityframeworkcore.design\7.0.17\build\net6.0\Microsoft.EntityFrameworkCore.Design.props')" />
</ImportGroup>
<PropertyGroup Condition=" '$(ExcludeRestorePackageImports)' != 'true' ">
<PkgMicrosoft_Web_WebView2 Condition=" '$(PkgMicrosoft_Web_WebView2)' == '' ">C:\Users\User\.nuget\packages\microsoft.web.webview2\1.0.864.35</PkgMicrosoft_Web_WebView2>
<PkgMicrosoft_EntityFrameworkCore_Tools Condition=" '$(PkgMicrosoft_EntityFrameworkCore_Tools)' == '' ">C:\Users\User\.nuget\packages\microsoft.entityframeworkcore.tools\7.0.17</PkgMicrosoft_EntityFrameworkCore_Tools>
</PropertyGroup>
</Project>

View File

@ -0,0 +1,7 @@
<?xml version="1.0" encoding="utf-8" standalone="no"?>
<Project ToolsVersion="14.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
<ImportGroup Condition=" '$(ExcludeRestorePackageImports)' != 'true' ">
<Import Project="$(NuGetPackageRoot)system.text.json\7.0.0\buildTransitive\net6.0\System.Text.Json.targets" Condition="Exists('$(NuGetPackageRoot)system.text.json\7.0.0\buildTransitive\net6.0\System.Text.Json.targets')" />
<Import Project="$(NuGetPackageRoot)microsoft.extensions.logging.abstractions\7.0.0\buildTransitive\net6.0\Microsoft.Extensions.Logging.Abstractions.targets" Condition="Exists('$(NuGetPackageRoot)microsoft.extensions.logging.abstractions\7.0.0\buildTransitive\net6.0\Microsoft.Extensions.Logging.Abstractions.targets')" />
</ImportGroup>
</Project>

File diff suppressed because it is too large Load Diff

View File

@ -0,0 +1,72 @@
{
"version": 2,
"dgSpecHash": "+1u9Ko7daVPpOjPFfQ6rwJzVXuZia7HKg1/mgAGQIgQlel/yZWnAVsxj9D+251TD/Q+jz3+OD6mtuq8ZYzcjhw==",
"success": true,
"projectFilePath": "C:\\Users\\User\\Desktop\\subd_5_lab\\SushiBar\\SushiBar\\SushiBar.csproj",
"expectedPackageFiles": [
"C:\\Users\\User\\.nuget\\packages\\azure.core\\1.35.0\\azure.core.1.35.0.nupkg.sha512",
"C:\\Users\\User\\.nuget\\packages\\azure.identity\\1.10.3\\azure.identity.1.10.3.nupkg.sha512",
"C:\\Users\\User\\.nuget\\packages\\humanizer.core\\2.14.1\\humanizer.core.2.14.1.nupkg.sha512",
"C:\\Users\\User\\.nuget\\packages\\microsoft.bcl.asyncinterfaces\\1.1.1\\microsoft.bcl.asyncinterfaces.1.1.1.nupkg.sha512",
"C:\\Users\\User\\.nuget\\packages\\microsoft.csharp\\4.5.0\\microsoft.csharp.4.5.0.nupkg.sha512",
"C:\\Users\\User\\.nuget\\packages\\microsoft.data.sqlclient\\5.1.5\\microsoft.data.sqlclient.5.1.5.nupkg.sha512",
"C:\\Users\\User\\.nuget\\packages\\microsoft.data.sqlclient.sni.runtime\\5.1.1\\microsoft.data.sqlclient.sni.runtime.5.1.1.nupkg.sha512",
"C:\\Users\\User\\.nuget\\packages\\microsoft.entityframeworkcore\\7.0.17\\microsoft.entityframeworkcore.7.0.17.nupkg.sha512",
"C:\\Users\\User\\.nuget\\packages\\microsoft.entityframeworkcore.abstractions\\7.0.17\\microsoft.entityframeworkcore.abstractions.7.0.17.nupkg.sha512",
"C:\\Users\\User\\.nuget\\packages\\microsoft.entityframeworkcore.analyzers\\7.0.17\\microsoft.entityframeworkcore.analyzers.7.0.17.nupkg.sha512",
"C:\\Users\\User\\.nuget\\packages\\microsoft.entityframeworkcore.design\\7.0.17\\microsoft.entityframeworkcore.design.7.0.17.nupkg.sha512",
"C:\\Users\\User\\.nuget\\packages\\microsoft.entityframeworkcore.relational\\7.0.17\\microsoft.entityframeworkcore.relational.7.0.17.nupkg.sha512",
"C:\\Users\\User\\.nuget\\packages\\microsoft.entityframeworkcore.sqlserver\\7.0.17\\microsoft.entityframeworkcore.sqlserver.7.0.17.nupkg.sha512",
"C:\\Users\\User\\.nuget\\packages\\microsoft.entityframeworkcore.tools\\7.0.17\\microsoft.entityframeworkcore.tools.7.0.17.nupkg.sha512",
"C:\\Users\\User\\.nuget\\packages\\microsoft.extensions.caching.abstractions\\7.0.0\\microsoft.extensions.caching.abstractions.7.0.0.nupkg.sha512",
"C:\\Users\\User\\.nuget\\packages\\microsoft.extensions.caching.memory\\7.0.0\\microsoft.extensions.caching.memory.7.0.0.nupkg.sha512",
"C:\\Users\\User\\.nuget\\packages\\microsoft.extensions.configuration.abstractions\\7.0.0\\microsoft.extensions.configuration.abstractions.7.0.0.nupkg.sha512",
"C:\\Users\\User\\.nuget\\packages\\microsoft.extensions.dependencyinjection\\7.0.0\\microsoft.extensions.dependencyinjection.7.0.0.nupkg.sha512",
"C:\\Users\\User\\.nuget\\packages\\microsoft.extensions.dependencyinjection.abstractions\\7.0.0\\microsoft.extensions.dependencyinjection.abstractions.7.0.0.nupkg.sha512",
"C:\\Users\\User\\.nuget\\packages\\microsoft.extensions.dependencymodel\\7.0.0\\microsoft.extensions.dependencymodel.7.0.0.nupkg.sha512",
"C:\\Users\\User\\.nuget\\packages\\microsoft.extensions.logging\\7.0.0\\microsoft.extensions.logging.7.0.0.nupkg.sha512",
"C:\\Users\\User\\.nuget\\packages\\microsoft.extensions.logging.abstractions\\7.0.0\\microsoft.extensions.logging.abstractions.7.0.0.nupkg.sha512",
"C:\\Users\\User\\.nuget\\packages\\microsoft.extensions.options\\7.0.0\\microsoft.extensions.options.7.0.0.nupkg.sha512",
"C:\\Users\\User\\.nuget\\packages\\microsoft.extensions.primitives\\7.0.0\\microsoft.extensions.primitives.7.0.0.nupkg.sha512",
"C:\\Users\\User\\.nuget\\packages\\microsoft.identity.client\\4.56.0\\microsoft.identity.client.4.56.0.nupkg.sha512",
"C:\\Users\\User\\.nuget\\packages\\microsoft.identity.client.extensions.msal\\4.56.0\\microsoft.identity.client.extensions.msal.4.56.0.nupkg.sha512",
"C:\\Users\\User\\.nuget\\packages\\microsoft.identity.client.nativeinterop\\0.13.8\\microsoft.identity.client.nativeinterop.0.13.8.nupkg.sha512",
"C:\\Users\\User\\.nuget\\packages\\microsoft.identitymodel.abstractions\\6.35.0\\microsoft.identitymodel.abstractions.6.35.0.nupkg.sha512",
"C:\\Users\\User\\.nuget\\packages\\microsoft.identitymodel.jsonwebtokens\\6.35.0\\microsoft.identitymodel.jsonwebtokens.6.35.0.nupkg.sha512",
"C:\\Users\\User\\.nuget\\packages\\microsoft.identitymodel.logging\\6.35.0\\microsoft.identitymodel.logging.6.35.0.nupkg.sha512",
"C:\\Users\\User\\.nuget\\packages\\microsoft.identitymodel.protocols\\6.35.0\\microsoft.identitymodel.protocols.6.35.0.nupkg.sha512",
"C:\\Users\\User\\.nuget\\packages\\microsoft.identitymodel.protocols.openidconnect\\6.35.0\\microsoft.identitymodel.protocols.openidconnect.6.35.0.nupkg.sha512",
"C:\\Users\\User\\.nuget\\packages\\microsoft.identitymodel.tokens\\6.35.0\\microsoft.identitymodel.tokens.6.35.0.nupkg.sha512",
"C:\\Users\\User\\.nuget\\packages\\microsoft.netcore.platforms\\1.1.0\\microsoft.netcore.platforms.1.1.0.nupkg.sha512",
"C:\\Users\\User\\.nuget\\packages\\microsoft.netcore.targets\\1.1.0\\microsoft.netcore.targets.1.1.0.nupkg.sha512",
"C:\\Users\\User\\.nuget\\packages\\microsoft.sqlserver.server\\1.0.0\\microsoft.sqlserver.server.1.0.0.nupkg.sha512",
"C:\\Users\\User\\.nuget\\packages\\microsoft.web.webview2\\1.0.864.35\\microsoft.web.webview2.1.0.864.35.nupkg.sha512",
"C:\\Users\\User\\.nuget\\packages\\microsoft.win32.systemevents\\6.0.0\\microsoft.win32.systemevents.6.0.0.nupkg.sha512",
"C:\\Users\\User\\.nuget\\packages\\mono.texttemplating\\2.2.1\\mono.texttemplating.2.2.1.nupkg.sha512",
"C:\\Users\\User\\.nuget\\packages\\system.codedom\\4.4.0\\system.codedom.4.4.0.nupkg.sha512",
"C:\\Users\\User\\.nuget\\packages\\system.configuration.configurationmanager\\6.0.1\\system.configuration.configurationmanager.6.0.1.nupkg.sha512",
"C:\\Users\\User\\.nuget\\packages\\system.diagnostics.diagnosticsource\\6.0.1\\system.diagnostics.diagnosticsource.6.0.1.nupkg.sha512",
"C:\\Users\\User\\.nuget\\packages\\system.drawing.common\\6.0.0\\system.drawing.common.6.0.0.nupkg.sha512",
"C:\\Users\\User\\.nuget\\packages\\system.formats.asn1\\5.0.0\\system.formats.asn1.5.0.0.nupkg.sha512",
"C:\\Users\\User\\.nuget\\packages\\system.identitymodel.tokens.jwt\\6.35.0\\system.identitymodel.tokens.jwt.6.35.0.nupkg.sha512",
"C:\\Users\\User\\.nuget\\packages\\system.io.filesystem.accesscontrol\\5.0.0\\system.io.filesystem.accesscontrol.5.0.0.nupkg.sha512",
"C:\\Users\\User\\.nuget\\packages\\system.memory\\4.5.4\\system.memory.4.5.4.nupkg.sha512",
"C:\\Users\\User\\.nuget\\packages\\system.memory.data\\1.0.2\\system.memory.data.1.0.2.nupkg.sha512",
"C:\\Users\\User\\.nuget\\packages\\system.numerics.vectors\\4.5.0\\system.numerics.vectors.4.5.0.nupkg.sha512",
"C:\\Users\\User\\.nuget\\packages\\system.runtime\\4.3.0\\system.runtime.4.3.0.nupkg.sha512",
"C:\\Users\\User\\.nuget\\packages\\system.runtime.caching\\6.0.0\\system.runtime.caching.6.0.0.nupkg.sha512",
"C:\\Users\\User\\.nuget\\packages\\system.runtime.compilerservices.unsafe\\6.0.0\\system.runtime.compilerservices.unsafe.6.0.0.nupkg.sha512",
"C:\\Users\\User\\.nuget\\packages\\system.security.accesscontrol\\6.0.0\\system.security.accesscontrol.6.0.0.nupkg.sha512",
"C:\\Users\\User\\.nuget\\packages\\system.security.cryptography.cng\\5.0.0\\system.security.cryptography.cng.5.0.0.nupkg.sha512",
"C:\\Users\\User\\.nuget\\packages\\system.security.cryptography.protecteddata\\6.0.0\\system.security.cryptography.protecteddata.6.0.0.nupkg.sha512",
"C:\\Users\\User\\.nuget\\packages\\system.security.permissions\\6.0.0\\system.security.permissions.6.0.0.nupkg.sha512",
"C:\\Users\\User\\.nuget\\packages\\system.security.principal.windows\\5.0.0\\system.security.principal.windows.5.0.0.nupkg.sha512",
"C:\\Users\\User\\.nuget\\packages\\system.text.encoding\\4.3.0\\system.text.encoding.4.3.0.nupkg.sha512",
"C:\\Users\\User\\.nuget\\packages\\system.text.encoding.codepages\\6.0.0\\system.text.encoding.codepages.6.0.0.nupkg.sha512",
"C:\\Users\\User\\.nuget\\packages\\system.text.encodings.web\\7.0.0\\system.text.encodings.web.7.0.0.nupkg.sha512",
"C:\\Users\\User\\.nuget\\packages\\system.text.json\\7.0.0\\system.text.json.7.0.0.nupkg.sha512",
"C:\\Users\\User\\.nuget\\packages\\system.threading.tasks.extensions\\4.5.4\\system.threading.tasks.extensions.4.5.4.nupkg.sha512",
"C:\\Users\\User\\.nuget\\packages\\system.windows.extensions\\6.0.0\\system.windows.extensions.6.0.0.nupkg.sha512"
],
"logs": []
}

View File

@ -0,0 +1,6 @@
<?xml version="1.0" encoding="utf-8" ?>
<configuration>
<startup>
<supportedRuntime version="v4.0" sku=".NETFramework,Version=v4.7.2" />
</startup>
</configuration>

View File

@ -0,0 +1,111 @@
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace SushiBarBusinessLogic.BusinessLogics
{
public class ComponentLogic
private readonly ILogger _logger;
private readonly IComponentStorage _componentStorage;
public ComponentLogic(ILogger<ComponentLogic> logger, IComponentStorage
componentStorage)
{
_logger = logger;
_componentStorage = componentStorage;
}
public List<ComponentViewModel>? ReadList(ComponentSearchModel? model)
{
_logger.LogInformation("ReadList. ComponentName:{ComponentName}. Id:{ Id}", model?.ComponentName, model?.Id);
var list = model == null ? _componentStorage.GetFullList() : _componentStorage.GetFilteredList(model);
if (list == null)
{
_logger.LogWarning("ReadList return null list");
return null;
}
_logger.LogInformation("ReadList. Count:{Count}", list.Count);
return list;
}
public ComponentViewModel? ReadElement(ComponentSearchModel model)
{
if (model == null)
{
throw new ArgumentNullException(nameof(model));
}
_logger.LogInformation("ReadElement. ComponentName:{ComponentName}. Id:{ Id} ", model.ComponentName, model.Id);
var element = _componentStorage.GetElement(model);
if (element == null)
{
_logger.LogWarning("ReadElement element not found");
return null;
}
_logger.LogInformation("ReadElement find. Id:{Id}", element.Id);
return element;
}
public bool Create(ComponentBindingModel model)
{
CheckModel(model);
if (_componentStorage.Insert(model) == null)
{
_logger.LogWarning("Insert operation failed");
return false;
}
return true;
}
public bool Update(ComponentBindingModel model)
{
CheckModel(model);
if (_componentStorage.Update(model) == null)
{
_logger.LogWarning("Update operation failed");
return false;
}
return true;
}
public bool Delete(ComponentBindingModel model)
{
CheckModel(model, false);
_logger.LogInformation("Delete. Id:{Id}", model.Id);
if (_componentStorage.Delete(model) == null)
{
_logger.LogWarning("Delete operation failed");
return false;
}
return true;
}
private void CheckModel(ComponentBindingModel model, bool withParams =
true)
{
if (model == null)
{
throw new ArgumentNullException(nameof(model));
}
if (!withParams)
{
return;
}
if (string.IsNullOrEmpty(model.ComponentName))
{
throw new ArgumentNullException("Нет названия компонента",
nameof(model.ComponentName));
}
if (model.Cost <= 0)
{
throw new ArgumentNullException("Цена компонента должна быть
больше 0", nameof(model.Cost));
}
_logger.LogInformation("Component. ComponentName:{ComponentName}.
Cost:{ Cost}. Id: { Id}
", model.ComponentName, model.Cost, model.Id);
var element = _componentStorage.GetElement(new ComponentSearchModel
{
ComponentName = model.ComponentName
});
if (element != null && element.Id != model.Id)
{
throw new InvalidOperationException("Компонент с таким названием
уже есть");
}
}
}

View File

@ -0,0 +1,48 @@
<?xml version="1.0" encoding="utf-8"?>
<Project ToolsVersion="15.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
<Import Project="$(MSBuildExtensionsPath)\$(MSBuildToolsVersion)\Microsoft.Common.props" Condition="Exists('$(MSBuildExtensionsPath)\$(MSBuildToolsVersion)\Microsoft.Common.props')" />
<PropertyGroup>
<Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
<Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
<ProjectGuid>{E9064087-924C-4E00-A9EA-8E922CF49D11}</ProjectGuid>
<OutputType>Exe</OutputType>
<RootNamespace>SushiBarBusinessLogic</RootNamespace>
<AssemblyName>SushiBarBusinessLogic</AssemblyName>
<TargetFrameworkVersion>v4.7.2</TargetFrameworkVersion>
<FileAlignment>512</FileAlignment>
<AutoGenerateBindingRedirects>true</AutoGenerateBindingRedirects>
<Deterministic>true</Deterministic>
</PropertyGroup>
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
<PlatformTarget>AnyCPU</PlatformTarget>
<DebugSymbols>true</DebugSymbols>
<DebugType>full</DebugType>
<Optimize>false</Optimize>
<OutputPath>bin\Debug\</OutputPath>
<DefineConstants>DEBUG;TRACE</DefineConstants>
<ErrorReport>prompt</ErrorReport>
<WarningLevel>4</WarningLevel>
</PropertyGroup>
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
<PlatformTarget>AnyCPU</PlatformTarget>
<DebugType>pdbonly</DebugType>
<Optimize>true</Optimize>
<OutputPath>bin\Release\</OutputPath>
<DefineConstants>TRACE</DefineConstants>
<ErrorReport>prompt</ErrorReport>
<WarningLevel>4</WarningLevel>
</PropertyGroup>
<ItemGroup>
<None Include="App.config" />
</ItemGroup>
<ItemGroup>
<ProjectReference Include="..\SushiBarContracts\SushiBarContracts.csproj">
<Project>{993e0787-3ad5-4743-8997-c828cd0cdc10}</Project>
<Name>SushiBarContracts</Name>
</ProjectReference>
</ItemGroup>
<ItemGroup>
<Compile Include="ComponentLogic.cs" />
</ItemGroup>
<Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" />
</Project>

View File

@ -0,0 +1,117 @@
using Microsoft.Extensions.Logging;
using SushiBarContracts.BindingModels;
using SushiBarContracts.BusinessLogicsContracts;
using SushiBarContracts.SearchModels;
using SushiBarContracts.StoragesContracts;
using SushiBarContracts.ViewModels;
using SushiBarDataModels.Enums;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace SushiBarBusinessLogic.BusinessLogics
{
public class ComponentLogic : IComponentLogic
{
private readonly ILogger _logger;
private readonly IComponentStorage _componentStorage;
public ComponentLogic(ILogger<ComponentLogic> logger, IComponentStorage
componentStorage)
{
_logger = logger;
_componentStorage = componentStorage;
}
public List<ComponentViewModel>? ReadList(ComponentSearchModel? model)
{
_logger.LogInformation("ReadList. ComponentName:{ComponentName}. Id:{ Id}", model?.ComponentName, model?.Id);
var list = model == null ? _componentStorage.GetFullList() : _componentStorage.GetFilteredList(model);
if (list == null)
{
_logger.LogWarning("ReadList return null list");
return null;
}
_logger.LogInformation("ReadList. Count:{Count}", list.Count);
return list;
}
public ComponentViewModel? ReadElement(ComponentSearchModel model)
{
if (model == null)
{
throw new ArgumentNullException(nameof(model));
}
_logger.LogInformation("ReadElement. ComponentName:{ComponentName}. Id:{ Id} ", model.ComponentName, model.Id);
var element = _componentStorage.GetElement(model);
if (element == null)
{
_logger.LogWarning("ReadElement element not found");
return null;
}
_logger.LogInformation("ReadElement find. Id:{Id}", element.Id);
return element;
}
public bool Create(ComponentBindingModel model)
{
CheckModel(model);
if (_componentStorage.Insert(model) == null)
{
_logger.LogWarning("Insert operation failed");
return false;
}
return true;
}
public bool Update(ComponentBindingModel model)
{
CheckModel(model);
if (_componentStorage.Update(model) == null)
{
_logger.LogWarning("Update operation failed");
return false;
}
return true;
}
public bool Delete(ComponentBindingModel model)
{
CheckModel(model, false);
_logger.LogInformation("Delete. Id:{Id}", model.Id);
if (_componentStorage.Delete(model) == null)
{
_logger.LogWarning("Delete operation failed");
return false;
}
return true;
}
private void CheckModel(ComponentBindingModel model, bool withParams =
true)
{
if (model == null)
{
throw new ArgumentNullException(nameof(model));
}
if (!withParams)
{
return;
}
if (string.IsNullOrEmpty(model.ComponentName))
{
throw new ArgumentNullException("Нет названия компонента",
nameof(model.ComponentName));
}
if (model.Cost <= 0)
{
throw new ArgumentNullException("Цена компонента должна больше 0", nameof(model.Cost));
}
_logger.LogInformation("Component. ComponentName:{ComponentName}. Cost:{ Cost}. Id: { Id} ", model.ComponentName, model.Cost, model.Id);
var element = _componentStorage.GetElement(new ComponentSearchModel
{
ComponentName = model.ComponentName
});
if (element != null && element.Id != model.Id)
{
throw new InvalidOperationException("Компонент с таким названием уже есть");
}
}
}
}

View File

@ -0,0 +1,125 @@
using Microsoft.Extensions.Logging;
using SushiBarContracts.BindingModels;
using SushiBarContracts.BusinessLogicsContracts;
using SushiBarContracts.SearchModels;
using SushiBarContracts.StoragesContracts;
using SushiBarContracts.ViewModels;
using SushiBarDataModels.Enums;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace SushiBarBusinessLogic.BusinessLogics
{
public class OrderLogic : IOrderLogic
{
private readonly ILogger _logger;
private readonly IOrderStorage _orderStorage;
public OrderLogic(ILogger<OrderLogic> logger, IOrderStorage orderStorage)
{
_logger = logger;
_orderStorage = orderStorage;
}
public List<OrderViewModel>? ReadList(OrderSearchModel? model)
{
_logger.LogInformation("ReadList. OrderId:{Id}", model?.Id);
var list = model == null ? _orderStorage.GetFullList() : _orderStorage.GetFilteredList(model);
if (list == null)
{
_logger.LogWarning("ReadList return null list");
return null;
}
_logger.LogInformation("ReadList. Count:{Count}", list.Count);
return list;
}
public bool CreateOrder(OrderBindingModel model)
{
CheckModel(model);
if (model.Status != OrderStatus.Неизвестен)
return false;
model.Status = OrderStatus.Принят;
if (_orderStorage.Insert(model) == null)
{
_logger.LogWarning("Insert operation failed");
return false;
}
return true;
}
public bool TakeOrderInWork(OrderBindingModel model)
{
return ChangeStatus(model, OrderStatus.Выполняется);
}
public bool FinishOrder(OrderBindingModel model)
{
return ChangeStatus(model, OrderStatus.Готов);
}
public bool DeliveryOrder(OrderBindingModel model)
{
return ChangeStatus(model, OrderStatus.Выдан);
}
private void CheckModel(OrderBindingModel model, bool withParams = true)
{
if (model == null)
{
throw new ArgumentNullException(nameof(model));
}
if (!withParams)
{
return;
}
if (model.Count <= 0)
{
throw new ArgumentException("Колличество пиццы в заказе не может быть меньше 1", nameof(model.Count));
}
if (model.Sum <= 0)
{
throw new ArgumentException("Стоимость заказа на может быть меньше 1", nameof(model.Sum));
}
if (model.DateImplement.HasValue && model.DateImplement < model.DateCreate)
{
throw new ArithmeticException($"Дата выдачи заказа {model.DateImplement} не может быть раньше даты его создания {model.DateCreate}");
}
_logger.LogInformation("Sushi. SushiId:{SushiId}.Count:{Count}.Sum:{Sum}Id:{Id}",
model.SushiId, model.Count, model.Sum, model.Id);
}
private bool ChangeStatus(OrderBindingModel model, OrderStatus requiredStatus)
{
CheckModel(model, false);
var element = _orderStorage.GetElement(new OrderSearchModel()
{
Id = model.Id
});
if (element == null)
{
throw new ArgumentNullException(nameof(element));
}
model.DateCreate = element.DateCreate;
model.SushiId = element.SushiId;
model.DateImplement = element.DateImplement;
model.Status = element.Status;
model.Count = element.Count;
model.Sum = element.Sum;
if (requiredStatus - model.Status == 1)
{
model.Status = requiredStatus;
if (model.Status == OrderStatus.Выдан)
model.DateImplement = DateTime.Now;
if (_orderStorage.Update(model) == null)
{
_logger.LogWarning("Update operation failed");
return false;
}
return true;
}
_logger.LogWarning("Changing status operation faled: Current-{Status}:required-{requiredStatus}.", model.Status, requiredStatus);
throw new ArgumentException($"Невозможно присвоить статус {requiredStatus} заказу с текущим статусом {model.Status}");
}
}
}

View File

@ -0,0 +1,23 @@
<Project Sdk="Microsoft.NET.Sdk">
<PropertyGroup>
<TargetFramework>net6.0</TargetFramework>
<ImplicitUsings>enable</ImplicitUsings>
<Nullable>enable</Nullable>
</PropertyGroup>
<ItemGroup>
<PackageReference Include="Microsoft.EntityFrameworkCore" Version="7.0.17" />
<PackageReference Include="Microsoft.EntityFrameworkCore.SqlServer" Version="7.0.17" />
<PackageReference Include="Microsoft.EntityFrameworkCore.Tools" Version="7.0.17">
<PrivateAssets>all</PrivateAssets>
<IncludeAssets>runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets>
</PackageReference>
<PackageReference Include="Microsoft.Extensions.Logging.Abstractions" Version="8.0.0" />
</ItemGroup>
<ItemGroup>
<ProjectReference Include="..\SushiBarContracts\SushiBarContracts.csproj" />
</ItemGroup>
</Project>

View File

@ -0,0 +1,116 @@
using Microsoft.Extensions.Logging;
using SushiBarContracts.BusinessLogicsContracts;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using SushiBarContracts.BindingModels;
using SushiBarContracts.SearchModels;
using SushiBarContracts.StoragesContracts;
using SushiBarContracts.ViewModels;
namespace SushiBarBusinessLogic.BusinessLogics
{
public class SushiLogic :ISushiLogic
{
private readonly ILogger _logger;
private readonly ISushiStorage _SushiStorage;
public SushiLogic(ILogger<SushiLogic> logger, ISushiStorage SushiStorage)
{
_logger = logger;
_SushiStorage = SushiStorage;
}
public List<SushiViewModel>? ReadList(SushiSearchModel? model)
{
_logger.LogInformation("ReadList. SushiName:{SushiName}.Id:{ Id}", model?.SushiName, model?.Id);
var list = model == null ? _SushiStorage.GetFullList() : _SushiStorage.GetFilteredList(model);
if (list == null)
{
_logger.LogWarning("ReadList return null list");
return null;
}
_logger.LogInformation("ReadList. Count:{Count}", list.Count);
return list;
}
public SushiViewModel? ReadElement(SushiSearchModel model)
{
if (model == null)
{
throw new ArgumentNullException(nameof(model));
}
_logger.LogInformation("ReadElement. SushiName:{SushiName}.Id:{ Id}", model.SushiName, model.Id);
var element = _SushiStorage.GetElement(model);
if (element == null)
{
_logger.LogWarning("ReadElement element not found");
return null;
}
_logger.LogInformation("ReadElement find. Id:{Id}", element.Id);
return element;
}
public bool Create(SushiBindingModel model)
{
CheckModel(model);
if (_SushiStorage.Insert(model) == null)
{
_logger.LogWarning("Insert operation failed");
return false;
}
return true;
}
public bool Update(SushiBindingModel model)
{
CheckModel(model);
if (_SushiStorage.Update(model) == null)
{
_logger.LogWarning("Update operation failed");
return false;
}
return true;
}
public bool Delete(SushiBindingModel model)
{
CheckModel(model, false);
_logger.LogInformation("Delete. Id:{Id}", model.Id);
if (_SushiStorage.Delete(model) == null)
{
_logger.LogWarning("Delete operation failed");
return false;
}
return true;
}
private void CheckModel(SushiBindingModel model, bool withParams = true)
{
if (model == null)
{
throw new ArgumentNullException(nameof(model));
}
if (!withParams)
{
return;
}
if (string.IsNullOrEmpty(model.SushiName))
{
throw new ArgumentNullException("Нет названия пиццы", nameof(model.SushiName));
}
if (model.Price <= 0)
{
throw new ArgumentNullException("Цена пиццы должна быть больше 0", nameof(model.Price));
}
if (model.SushiComponents == null || model.SushiComponents.Count == 0)
{
throw new ArgumentNullException("Перечень ингредиентов не может быть пустым", nameof(model.SushiComponents));
}
_logger.LogInformation("Sushi. SushiName:{SushiName}.Price:{Price}.Id: { Id}", model.SushiName, model.Price, model.Id);
var element = _SushiStorage.GetElement(new SushiSearchModel
{
SushiName = model.SushiName
});
if (element != null && element.Id != model.Id)
{
throw new InvalidOperationException("Пицца с таким названием уже есть");
}
}
}
}

File diff suppressed because it is too large Load Diff

View File

@ -0,0 +1,12 @@
{
"runtimeOptions": {
"tfm": "net6.0",
"framework": {
"name": "Microsoft.NETCore.App",
"version": "6.0.0"
},
"configProperties": {
"System.Reflection.NullabilityInfoContext.IsSupported": true
}
}
}

Some files were not shown because too many files have changed in this diff Show More