This commit is contained in:
Class_Student 2024-11-06 12:29:49 +03:00
parent 63514bf9f0
commit 121b311f6c
7 changed files with 16 additions and 16 deletions

View File

@ -63,38 +63,38 @@ namespace Demo.UI
break;
case "2":
Console.Write("Введите ID пользователя для удаления: ");
Console.Write("Введите Guid пользователя для удаления: ");
if (Guid.TryParse(Console.ReadLine(), out Guid userGuid))
{
_userConsoleUI.RemoveUserById(userGuid);
}
else
{
Console.WriteLine("Неверный формат ID");
Console.WriteLine("Неверный формат Guid");
}
break;
case "3":
Console.Write("Введите ID пользователя для обновления: ");
Console.Write("Введите Guid пользователя для обновления: ");
if (Guid.TryParse(Console.ReadLine(), out Guid updateUserGuid))
{
_userConsoleUI.UpdateUserById(updateUserGuid);
}
else
{
Console.WriteLine("Неверный формат ID");
Console.WriteLine("Неверный формат Guid");
}
break;
case "4":
Console.Write("Введите ID пользователя для поиска: ");
Console.Write("Введите Guid пользователя для поиска: ");
if (Guid.TryParse(Console.ReadLine(), out Guid findUserGuid))
{
_userConsoleUI.FindUserById(findUserGuid);
}
else
{
Console.WriteLine("Неверный формат ID");
Console.WriteLine("Неверный формат Guid");
}
break;

View File

@ -14,7 +14,7 @@ using System.Reflection;
[assembly: System.Reflection.AssemblyCompanyAttribute("Demo")]
[assembly: System.Reflection.AssemblyConfigurationAttribute("Debug")]
[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.AssemblyTitleAttribute("Demo")]
[assembly: System.Reflection.AssemblyVersionAttribute("1.0.0.0")]

View File

@ -1 +1 @@
c787c0f2a5e9cb8703cdf116b9cbb1a333e1a1aeaf3f1d7f211e16ae272e6a29
c5feef83a9efc57d198dcb51d670d9463d8ed3d67d74ac2686f63dcbedfb5ddb

View File

@ -8,6 +8,6 @@ build_property.PlatformNeutralAssembly =
build_property.EnforceExtendedAnalyzerRules =
build_property._SupportedPlatformList = Linux,macOS,Windows
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.EnableGeneratedComInterfaceComImportInterop =

View File

@ -1,17 +1,17 @@
{
"format": 1,
"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": {
"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",
"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",
"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\\",
"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",
"configFilePaths": [
"C:\\Users\\class_student\\AppData\\Roaming\\NuGet\\NuGet.Config",

View File

@ -1,8 +1,8 @@
{
"version": 2,
"dgSpecHash": "5j6Q0wQAgGNgXb7AVtlneZ6ztPd6SxIjaxUAnwEiUSDrqBM9Uhid+TaQlvpxQpbqhuvap8gDUh1InqHMnd0/fg==",
"dgSpecHash": "ZSB+8uSwGtgzxgWAkvF1EmLdCT6NlroWR24kkKInm0qRiyoJp4iiwMeXL0Ke2oqXE6ZyvEcVb7KteJu2BHbw/A==",
"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": [
"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",