:)
This commit is contained in:
parent
63514bf9f0
commit
121b311f6c
@ -63,38 +63,38 @@ namespace Demo.UI
|
|||||||
break;
|
break;
|
||||||
|
|
||||||
case "2":
|
case "2":
|
||||||
Console.Write("Введите ID пользователя для удаления: ");
|
Console.Write("Введите Guid пользователя для удаления: ");
|
||||||
if (Guid.TryParse(Console.ReadLine(), out Guid userGuid))
|
if (Guid.TryParse(Console.ReadLine(), out Guid userGuid))
|
||||||
{
|
{
|
||||||
_userConsoleUI.RemoveUserById(userGuid);
|
_userConsoleUI.RemoveUserById(userGuid);
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
Console.WriteLine("Неверный формат ID");
|
Console.WriteLine("Неверный формат Guid");
|
||||||
}
|
}
|
||||||
break;
|
break;
|
||||||
|
|
||||||
case "3":
|
case "3":
|
||||||
Console.Write("Введите ID пользователя для обновления: ");
|
Console.Write("Введите Guid пользователя для обновления: ");
|
||||||
if (Guid.TryParse(Console.ReadLine(), out Guid updateUserGuid))
|
if (Guid.TryParse(Console.ReadLine(), out Guid updateUserGuid))
|
||||||
{
|
{
|
||||||
_userConsoleUI.UpdateUserById(updateUserGuid);
|
_userConsoleUI.UpdateUserById(updateUserGuid);
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
Console.WriteLine("Неверный формат ID");
|
Console.WriteLine("Неверный формат Guid");
|
||||||
}
|
}
|
||||||
break;
|
break;
|
||||||
|
|
||||||
case "4":
|
case "4":
|
||||||
Console.Write("Введите ID пользователя для поиска: ");
|
Console.Write("Введите Guid пользователя для поиска: ");
|
||||||
if (Guid.TryParse(Console.ReadLine(), out Guid findUserGuid))
|
if (Guid.TryParse(Console.ReadLine(), out Guid findUserGuid))
|
||||||
{
|
{
|
||||||
_userConsoleUI.FindUserById(findUserGuid);
|
_userConsoleUI.FindUserById(findUserGuid);
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
Console.WriteLine("Неверный формат ID");
|
Console.WriteLine("Неверный формат Guid");
|
||||||
}
|
}
|
||||||
break;
|
break;
|
||||||
|
|
||||||
|
@ -14,7 +14,7 @@ using System.Reflection;
|
|||||||
[assembly: System.Reflection.AssemblyCompanyAttribute("Demo")]
|
[assembly: System.Reflection.AssemblyCompanyAttribute("Demo")]
|
||||||
[assembly: System.Reflection.AssemblyConfigurationAttribute("Debug")]
|
[assembly: System.Reflection.AssemblyConfigurationAttribute("Debug")]
|
||||||
[assembly: System.Reflection.AssemblyFileVersionAttribute("1.0.0.0")]
|
[assembly: System.Reflection.AssemblyFileVersionAttribute("1.0.0.0")]
|
||||||
[assembly: System.Reflection.AssemblyInformationalVersionAttribute("1.0.0+35f253e7db2199cf2eb5503d4b8179ef82249bc2")]
|
[assembly: System.Reflection.AssemblyInformationalVersionAttribute("1.0.0+63514bf9f01c713ad275de131dc9e64d0277c472")]
|
||||||
[assembly: System.Reflection.AssemblyProductAttribute("Demo")]
|
[assembly: System.Reflection.AssemblyProductAttribute("Demo")]
|
||||||
[assembly: System.Reflection.AssemblyTitleAttribute("Demo")]
|
[assembly: System.Reflection.AssemblyTitleAttribute("Demo")]
|
||||||
[assembly: System.Reflection.AssemblyVersionAttribute("1.0.0.0")]
|
[assembly: System.Reflection.AssemblyVersionAttribute("1.0.0.0")]
|
||||||
|
@ -1 +1 @@
|
|||||||
c787c0f2a5e9cb8703cdf116b9cbb1a333e1a1aeaf3f1d7f211e16ae272e6a29
|
c5feef83a9efc57d198dcb51d670d9463d8ed3d67d74ac2686f63dcbedfb5ddb
|
||||||
|
@ -8,6 +8,6 @@ build_property.PlatformNeutralAssembly =
|
|||||||
build_property.EnforceExtendedAnalyzerRules =
|
build_property.EnforceExtendedAnalyzerRules =
|
||||||
build_property._SupportedPlatformList = Linux,macOS,Windows
|
build_property._SupportedPlatformList = Linux,macOS,Windows
|
||||||
build_property.RootNamespace = Demo
|
build_property.RootNamespace = Demo
|
||||||
build_property.ProjectDir = C:\Users\class_student\Source\Repos\Mega_New_Presence\presence_new\
|
build_property.ProjectDir = C:\Users\class_student\source\repos\Mega_New_Presence\presence_new\
|
||||||
build_property.EnableComHosting =
|
build_property.EnableComHosting =
|
||||||
build_property.EnableGeneratedComInterfaceComImportInterop =
|
build_property.EnableGeneratedComInterfaceComImportInterop =
|
||||||
|
Binary file not shown.
@ -1,17 +1,17 @@
|
|||||||
{
|
{
|
||||||
"format": 1,
|
"format": 1,
|
||||||
"restore": {
|
"restore": {
|
||||||
"C:\\Users\\class_student\\Source\\Repos\\Mega_New_Presence\\presence_new\\Demo.csproj": {}
|
"C:\\Users\\class_student\\source\\repos\\Mega_New_Presence\\presence_new\\Demo.csproj": {}
|
||||||
},
|
},
|
||||||
"projects": {
|
"projects": {
|
||||||
"C:\\Users\\class_student\\Source\\Repos\\Mega_New_Presence\\presence_new\\Demo.csproj": {
|
"C:\\Users\\class_student\\source\\repos\\Mega_New_Presence\\presence_new\\Demo.csproj": {
|
||||||
"version": "1.0.0",
|
"version": "1.0.0",
|
||||||
"restore": {
|
"restore": {
|
||||||
"projectUniqueName": "C:\\Users\\class_student\\Source\\Repos\\Mega_New_Presence\\presence_new\\Demo.csproj",
|
"projectUniqueName": "C:\\Users\\class_student\\source\\repos\\Mega_New_Presence\\presence_new\\Demo.csproj",
|
||||||
"projectName": "Demo",
|
"projectName": "Demo",
|
||||||
"projectPath": "C:\\Users\\class_student\\Source\\Repos\\Mega_New_Presence\\presence_new\\Demo.csproj",
|
"projectPath": "C:\\Users\\class_student\\source\\repos\\Mega_New_Presence\\presence_new\\Demo.csproj",
|
||||||
"packagesPath": "C:\\Users\\class_student\\.nuget\\packages\\",
|
"packagesPath": "C:\\Users\\class_student\\.nuget\\packages\\",
|
||||||
"outputPath": "C:\\Users\\class_student\\Source\\Repos\\Mega_New_Presence\\presence_new\\obj\\",
|
"outputPath": "C:\\Users\\class_student\\source\\repos\\Mega_New_Presence\\presence_new\\obj\\",
|
||||||
"projectStyle": "PackageReference",
|
"projectStyle": "PackageReference",
|
||||||
"configFilePaths": [
|
"configFilePaths": [
|
||||||
"C:\\Users\\class_student\\AppData\\Roaming\\NuGet\\NuGet.Config",
|
"C:\\Users\\class_student\\AppData\\Roaming\\NuGet\\NuGet.Config",
|
||||||
|
@ -1,8 +1,8 @@
|
|||||||
{
|
{
|
||||||
"version": 2,
|
"version": 2,
|
||||||
"dgSpecHash": "5j6Q0wQAgGNgXb7AVtlneZ6ztPd6SxIjaxUAnwEiUSDrqBM9Uhid+TaQlvpxQpbqhuvap8gDUh1InqHMnd0/fg==",
|
"dgSpecHash": "ZSB+8uSwGtgzxgWAkvF1EmLdCT6NlroWR24kkKInm0qRiyoJp4iiwMeXL0Ke2oqXE6ZyvEcVb7KteJu2BHbw/A==",
|
||||||
"success": true,
|
"success": true,
|
||||||
"projectFilePath": "C:\\Users\\class_student\\Source\\Repos\\Mega_New_Presence\\presence_new\\Demo.csproj",
|
"projectFilePath": "C:\\Users\\class_student\\source\\repos\\Mega_New_Presence\\presence_new\\Demo.csproj",
|
||||||
"expectedPackageFiles": [
|
"expectedPackageFiles": [
|
||||||
"C:\\Users\\class_student\\.nuget\\packages\\closedxml\\0.104.1\\closedxml.0.104.1.nupkg.sha512",
|
"C:\\Users\\class_student\\.nuget\\packages\\closedxml\\0.104.1\\closedxml.0.104.1.nupkg.sha512",
|
||||||
"C:\\Users\\class_student\\.nuget\\packages\\closedxml.parser\\1.2.0\\closedxml.parser.1.2.0.nupkg.sha512",
|
"C:\\Users\\class_student\\.nuget\\packages\\closedxml.parser\\1.2.0\\closedxml.parser.1.2.0.nupkg.sha512",
|
||||||
|
Loading…
Reference in New Issue
Block a user