init commit

This commit is contained in:
Class_Student 2024-11-15 11:04:29 +03:00
parent 28b0f0eaa4
commit bc831b38be
90 changed files with 153 additions and 201 deletions

View File

@ -1,7 +0,0 @@
{
"ExpandedNodes": [
""
],
"SelectedNode": "\\presence.sln",
"PreviewInSolutionExplorer": false
}

Binary file not shown.

Binary file not shown.

Binary file not shown.

View File

@ -1,71 +0,0 @@
{
"Version": 1,
"WorkspaceRootPath": "C:\\Users\\class_student\\source\\repos\\presence\\",
"Documents": [
{
"AbsoluteMoniker": "D:0:0:{1904560F-B17D-4598-AE5C-5FA0D0C2517B}|ui\\ui.csproj|c:\\users\\class_student\\source\\repos\\presence\\ui\\mainmenu.cs||{A6C744A8-0E4A-4FC6-886A-064283054674}",
"RelativeMoniker": "D:0:0:{1904560F-B17D-4598-AE5C-5FA0D0C2517B}|ui\\ui.csproj|solutionrelative:ui\\mainmenu.cs||{A6C744A8-0E4A-4FC6-886A-064283054674}"
},
{
"AbsoluteMoniker": "D:0:0:{1904560F-B17D-4598-AE5C-5FA0D0C2517B}|ui\\ui.csproj|c:\\users\\class_student\\source\\repos\\presence\\ui\\presenceconsole.cs||{A6C744A8-0E4A-4FC6-886A-064283054674}",
"RelativeMoniker": "D:0:0:{1904560F-B17D-4598-AE5C-5FA0D0C2517B}|ui\\ui.csproj|solutionrelative:ui\\presenceconsole.cs||{A6C744A8-0E4A-4FC6-886A-064283054674}"
},
{
"AbsoluteMoniker": "D:0:0:{214169B6-E77C-4C7D-8D64-6E5126C243FA}|console_ui\\console_ui.csproj|c:\\users\\class_student\\source\\repos\\presence\\console_ui\\program.cs||{A6C744A8-0E4A-4FC6-886A-064283054674}",
"RelativeMoniker": "D:0:0:{214169B6-E77C-4C7D-8D64-6E5126C243FA}|console_ui\\console_ui.csproj|solutionrelative:console_ui\\program.cs||{A6C744A8-0E4A-4FC6-886A-064283054674}"
}
],
"DocumentGroupContainers": [
{
"Orientation": 0,
"VerticalTabListWidth": 256,
"DocumentGroups": [
{
"DockedWidth": 200,
"SelectedChildIndex": 0,
"Children": [
{
"$type": "Document",
"DocumentIndex": 0,
"Title": "MainMenu.cs",
"DocumentMoniker": "C:\\Users\\class_student\\source\\repos\\presence\\ui\\MainMenu.cs",
"RelativeDocumentMoniker": "ui\\MainMenu.cs",
"ToolTip": "C:\\Users\\class_student\\source\\repos\\presence\\ui\\MainMenu.cs",
"RelativeToolTip": "ui\\MainMenu.cs",
"ViewState": "AQIAAAAAAAAAAAAAAAAAABgAAAAYAAAA",
"Icon": "ae27a6b0-e345-4288-96df-5eaf394ee369.000738|",
"WhenOpened": "2024-11-15T07:41:49.331Z",
"EditorCaption": ""
},
{
"$type": "Document",
"DocumentIndex": 1,
"Title": "PresenceConsole.cs",
"DocumentMoniker": "C:\\Users\\class_student\\source\\repos\\presence\\ui\\PresenceConsole.cs",
"RelativeDocumentMoniker": "ui\\PresenceConsole.cs",
"ToolTip": "C:\\Users\\class_student\\source\\repos\\presence\\ui\\PresenceConsole.cs",
"RelativeToolTip": "ui\\PresenceConsole.cs",
"ViewState": "AQIAAJsAAAAAAAAAAAAuwKQAAAAQAAAA",
"Icon": "ae27a6b0-e345-4288-96df-5eaf394ee369.000738|",
"WhenOpened": "2024-11-15T07:39:32.517Z",
"EditorCaption": ""
},
{
"$type": "Document",
"DocumentIndex": 2,
"Title": "Program.cs",
"DocumentMoniker": "C:\\Users\\class_student\\source\\repos\\presence\\console_ui\\Program.cs",
"RelativeDocumentMoniker": "console_ui\\Program.cs",
"ToolTip": "C:\\Users\\class_student\\source\\repos\\presence\\console_ui\\Program.cs",
"RelativeToolTip": "console_ui\\Program.cs",
"ViewState": "AQIAAAAAAAAAAAAAAAAAABAAAAApAAAA",
"Icon": "ae27a6b0-e345-4288-96df-5eaf394ee369.000738|",
"WhenOpened": "2024-11-15T07:37:58.187Z",
"EditorCaption": ""
}
]
}
]
}
]
}

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

View File

@ -14,7 +14,7 @@ using System.Reflection;
[assembly: System.Reflection.AssemblyCompanyAttribute("console_ui")]
[assembly: System.Reflection.AssemblyConfigurationAttribute("Debug")]
[assembly: System.Reflection.AssemblyFileVersionAttribute("1.0.0.0")]
[assembly: System.Reflection.AssemblyInformationalVersionAttribute("1.0.0+e837fb2d5211480dc710ce847045a78da8ec7516")]
[assembly: System.Reflection.AssemblyInformationalVersionAttribute("1.0.0+28b0f0eaa4bdbc5beb0e71b121ca97a82102b037")]
[assembly: System.Reflection.AssemblyProductAttribute("console_ui")]
[assembly: System.Reflection.AssemblyTitleAttribute("console_ui")]
[assembly: System.Reflection.AssemblyVersionAttribute("1.0.0.0")]

View File

@ -1 +1 @@
b1aa901920ae28aa9f6a2720fa49b0ed055d99b6d60603474f71035463fa5e49
32e9080759ef99f05e7ddf73ba6012b2dd0e278f8dcf94cfa91e5db68e73c3a2

View File

@ -8,6 +8,6 @@ build_property.PlatformNeutralAssembly =
build_property.EnforceExtendedAnalyzerRules =
build_property._SupportedPlatformList = Linux,macOS,Windows
build_property.RootNamespace = console_ui
build_property.ProjectDir = C:\Users\class_student\Source\Repos\presence\console_ui\
build_property.ProjectDir = C:\Users\class_student\source\repos\presence\console_ui\
build_property.EnableComHosting =
build_property.EnableGeneratedComInterfaceComImportInterop =

View File

@ -1 +1 @@
0f75281e4866378625f56e61d7576f6f9cd38f2cdb7d10445496448d11c7a7d2
26d3e230181239da2f5c0ec50a011c8201532e8bf41b8953993ac55370a1416f

View File

@ -1,15 +1,15 @@
{
"format": 1,
"restore": {
"C:\\Users\\class_student\\Source\\Repos\\presence\\console_ui\\console_ui.csproj": {}
"C:\\Users\\class_student\\source\\repos\\presence\\console_ui\\console_ui.csproj": {}
},
"projects": {
"C:\\Users\\class_student\\Source\\Repos\\presence\\console_ui\\console_ui.csproj": {
"C:\\Users\\class_student\\source\\repos\\presence\\console_ui\\console_ui.csproj": {
"version": "1.0.0",
"restore": {
"projectUniqueName": "C:\\Users\\class_student\\Source\\Repos\\presence\\console_ui\\console_ui.csproj",
"projectUniqueName": "C:\\Users\\class_student\\source\\repos\\presence\\console_ui\\console_ui.csproj",
"projectName": "console_ui",
"projectPath": "C:\\Users\\class_student\\Source\\Repos\\presence\\console_ui\\console_ui.csproj",
"projectPath": "C:\\Users\\class_student\\source\\repos\\presence\\console_ui\\console_ui.csproj",
"packagesPath": "C:\\Users\\class_student\\.nuget\\packages\\",
"outputPath": "C:\\Users\\class_student\\Source\\Repos\\presence\\console_ui\\obj\\",
"projectStyle": "PackageReference",
@ -32,14 +32,14 @@
"net8.0": {
"targetAlias": "net8.0",
"projectReferences": {
"C:\\Users\\class_student\\Source\\Repos\\presence\\data\\data.csproj": {
"projectPath": "C:\\Users\\class_student\\Source\\Repos\\presence\\data\\data.csproj"
"C:\\Users\\class_student\\source\\repos\\presence\\data\\data.csproj": {
"projectPath": "C:\\Users\\class_student\\source\\repos\\presence\\data\\data.csproj"
},
"C:\\Users\\class_student\\Source\\Repos\\presence\\domain\\domain.csproj": {
"projectPath": "C:\\Users\\class_student\\Source\\Repos\\presence\\domain\\domain.csproj"
"C:\\Users\\class_student\\source\\repos\\presence\\domain\\domain.csproj": {
"projectPath": "C:\\Users\\class_student\\source\\repos\\presence\\domain\\domain.csproj"
},
"C:\\Users\\class_student\\Source\\Repos\\presence\\ui\\ui.csproj": {
"projectPath": "C:\\Users\\class_student\\Source\\Repos\\presence\\ui\\ui.csproj"
"C:\\Users\\class_student\\source\\repos\\presence\\ui\\ui.csproj": {
"projectPath": "C:\\Users\\class_student\\source\\repos\\presence\\ui\\ui.csproj"
}
}
}
@ -92,12 +92,12 @@
}
}
},
"C:\\Users\\class_student\\Source\\Repos\\presence\\data\\data.csproj": {
"C:\\Users\\class_student\\source\\repos\\presence\\data\\data.csproj": {
"version": "1.0.0",
"restore": {
"projectUniqueName": "C:\\Users\\class_student\\Source\\Repos\\presence\\data\\data.csproj",
"projectUniqueName": "C:\\Users\\class_student\\source\\repos\\presence\\data\\data.csproj",
"projectName": "data",
"projectPath": "C:\\Users\\class_student\\Source\\Repos\\presence\\data\\data.csproj",
"projectPath": "C:\\Users\\class_student\\source\\repos\\presence\\data\\data.csproj",
"packagesPath": "C:\\Users\\class_student\\.nuget\\packages\\",
"outputPath": "C:\\Users\\class_student\\Source\\Repos\\presence\\data\\obj\\",
"projectStyle": "PackageReference",
@ -172,12 +172,12 @@
}
}
},
"C:\\Users\\class_student\\Source\\Repos\\presence\\domain\\domain.csproj": {
"C:\\Users\\class_student\\source\\repos\\presence\\domain\\domain.csproj": {
"version": "1.0.0",
"restore": {
"projectUniqueName": "C:\\Users\\class_student\\Source\\Repos\\presence\\domain\\domain.csproj",
"projectUniqueName": "C:\\Users\\class_student\\source\\repos\\presence\\domain\\domain.csproj",
"projectName": "domain",
"projectPath": "C:\\Users\\class_student\\Source\\Repos\\presence\\domain\\domain.csproj",
"projectPath": "C:\\Users\\class_student\\source\\repos\\presence\\domain\\domain.csproj",
"packagesPath": "C:\\Users\\class_student\\.nuget\\packages\\",
"outputPath": "C:\\Users\\class_student\\Source\\Repos\\presence\\domain\\obj\\",
"projectStyle": "PackageReference",
@ -200,8 +200,8 @@
"net8.0": {
"targetAlias": "net8.0",
"projectReferences": {
"C:\\Users\\class_student\\Source\\Repos\\presence\\data\\data.csproj": {
"projectPath": "C:\\Users\\class_student\\Source\\Repos\\presence\\data\\data.csproj"
"C:\\Users\\class_student\\source\\repos\\presence\\data\\data.csproj": {
"projectPath": "C:\\Users\\class_student\\source\\repos\\presence\\data\\data.csproj"
}
}
}
@ -246,14 +246,14 @@
}
}
},
"C:\\Users\\class_student\\Source\\Repos\\presence\\ui\\ui.csproj": {
"C:\\Users\\class_student\\source\\repos\\presence\\ui\\ui.csproj": {
"version": "1.0.0",
"restore": {
"projectUniqueName": "C:\\Users\\class_student\\Source\\Repos\\presence\\ui\\ui.csproj",
"projectUniqueName": "C:\\Users\\class_student\\source\\repos\\presence\\ui\\ui.csproj",
"projectName": "ui",
"projectPath": "C:\\Users\\class_student\\Source\\Repos\\presence\\ui\\ui.csproj",
"projectPath": "C:\\Users\\class_student\\source\\repos\\presence\\ui\\ui.csproj",
"packagesPath": "C:\\Users\\class_student\\.nuget\\packages\\",
"outputPath": "C:\\Users\\class_student\\Source\\Repos\\presence\\ui\\obj\\",
"outputPath": "C:\\Users\\class_student\\source\\repos\\presence\\ui\\obj\\",
"projectStyle": "PackageReference",
"fallbackFolders": [
"C:\\Program Files (x86)\\Microsoft Visual Studio\\Shared\\NuGetPackages"
@ -274,8 +274,8 @@
"net8.0": {
"targetAlias": "net8.0",
"projectReferences": {
"C:\\Users\\class_student\\Source\\Repos\\presence\\domain\\domain.csproj": {
"projectPath": "C:\\Users\\class_student\\Source\\Repos\\presence\\domain\\domain.csproj"
"C:\\Users\\class_student\\source\\repos\\presence\\domain\\domain.csproj": {
"projectPath": "C:\\Users\\class_student\\source\\repos\\presence\\domain\\domain.csproj"
}
}
}

View File

@ -1062,9 +1062,9 @@
"project": {
"version": "1.0.0",
"restore": {
"projectUniqueName": "C:\\Users\\class_student\\Source\\Repos\\presence\\console_ui\\console_ui.csproj",
"projectUniqueName": "C:\\Users\\class_student\\source\\repos\\presence\\console_ui\\console_ui.csproj",
"projectName": "console_ui",
"projectPath": "C:\\Users\\class_student\\Source\\Repos\\presence\\console_ui\\console_ui.csproj",
"projectPath": "C:\\Users\\class_student\\source\\repos\\presence\\console_ui\\console_ui.csproj",
"packagesPath": "C:\\Users\\class_student\\.nuget\\packages\\",
"outputPath": "C:\\Users\\class_student\\Source\\Repos\\presence\\console_ui\\obj\\",
"projectStyle": "PackageReference",
@ -1087,14 +1087,14 @@
"net8.0": {
"targetAlias": "net8.0",
"projectReferences": {
"C:\\Users\\class_student\\Source\\Repos\\presence\\data\\data.csproj": {
"projectPath": "C:\\Users\\class_student\\Source\\Repos\\presence\\data\\data.csproj"
"C:\\Users\\class_student\\source\\repos\\presence\\data\\data.csproj": {
"projectPath": "C:\\Users\\class_student\\source\\repos\\presence\\data\\data.csproj"
},
"C:\\Users\\class_student\\Source\\Repos\\presence\\domain\\domain.csproj": {
"projectPath": "C:\\Users\\class_student\\Source\\Repos\\presence\\domain\\domain.csproj"
"C:\\Users\\class_student\\source\\repos\\presence\\domain\\domain.csproj": {
"projectPath": "C:\\Users\\class_student\\source\\repos\\presence\\domain\\domain.csproj"
},
"C:\\Users\\class_student\\Source\\Repos\\presence\\ui\\ui.csproj": {
"projectPath": "C:\\Users\\class_student\\Source\\Repos\\presence\\ui\\ui.csproj"
"C:\\Users\\class_student\\source\\repos\\presence\\ui\\ui.csproj": {
"projectPath": "C:\\Users\\class_student\\source\\repos\\presence\\ui\\ui.csproj"
}
}
}

View File

@ -1,8 +1,8 @@
{
"version": 2,
"dgSpecHash": "yfJCYMI2ah3sfp2aK6Ke6ce9kWJKxkrL993rMZ5hRfO/n/HG67U+7imrDbnyVEbFgC9j14ziYrduCNKKBW5lDw==",
"dgSpecHash": "K96Xd5zzBItWc+Mr+bIjPBlXb106QCB6BGPKDJTxAeTmyHexxjkwSfGa9CyIAM1XZiTxYoKnzu4IT7ifaA64NA==",
"success": true,
"projectFilePath": "C:\\Users\\class_student\\Source\\Repos\\presence\\console_ui\\console_ui.csproj",
"projectFilePath": "C:\\Users\\class_student\\source\\repos\\presence\\console_ui\\console_ui.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",

Binary file not shown.

Binary file not shown.

View File

@ -14,7 +14,7 @@ using System.Reflection;
[assembly: System.Reflection.AssemblyCompanyAttribute("data")]
[assembly: System.Reflection.AssemblyConfigurationAttribute("Debug")]
[assembly: System.Reflection.AssemblyFileVersionAttribute("1.0.0.0")]
[assembly: System.Reflection.AssemblyInformationalVersionAttribute("1.0.0+e837fb2d5211480dc710ce847045a78da8ec7516")]
[assembly: System.Reflection.AssemblyInformationalVersionAttribute("1.0.0+28b0f0eaa4bdbc5beb0e71b121ca97a82102b037")]
[assembly: System.Reflection.AssemblyProductAttribute("data")]
[assembly: System.Reflection.AssemblyTitleAttribute("data")]
[assembly: System.Reflection.AssemblyVersionAttribute("1.0.0.0")]

View File

@ -1 +1 @@
1d547403d5a0e12eb3176cb5cf33743f9bbef50c911e92980c7fddec94af5db7
e4cd134b92882cbfc58e80669abbe16e0faadcb1b6d692c06191b87e98682958

View File

@ -8,6 +8,6 @@ build_property.PlatformNeutralAssembly =
build_property.EnforceExtendedAnalyzerRules =
build_property._SupportedPlatformList = Linux,macOS,Windows
build_property.RootNamespace = data
build_property.ProjectDir = C:\Users\class_student\Source\Repos\presence\data\
build_property.ProjectDir = C:\Users\class_student\source\repos\presence\data\
build_property.EnableComHosting =
build_property.EnableGeneratedComInterfaceComImportInterop =

Binary file not shown.

View File

@ -1 +1 @@
ad0a4479b59a7ef873597a5be47af04d30bf61b8a15ec5b82893655c935f039d
b84345f992d3666be6b0e025aa74afc1a71aca079d190d689c0864402727cdd0

Binary file not shown.

Binary file not shown.

View File

@ -1,15 +1,15 @@
{
"format": 1,
"restore": {
"C:\\Users\\class_student\\Source\\Repos\\presence\\data\\data.csproj": {}
"C:\\Users\\class_student\\source\\repos\\presence\\data\\data.csproj": {}
},
"projects": {
"C:\\Users\\class_student\\Source\\Repos\\presence\\data\\data.csproj": {
"C:\\Users\\class_student\\source\\repos\\presence\\data\\data.csproj": {
"version": "1.0.0",
"restore": {
"projectUniqueName": "C:\\Users\\class_student\\Source\\Repos\\presence\\data\\data.csproj",
"projectUniqueName": "C:\\Users\\class_student\\source\\repos\\presence\\data\\data.csproj",
"projectName": "data",
"projectPath": "C:\\Users\\class_student\\Source\\Repos\\presence\\data\\data.csproj",
"projectPath": "C:\\Users\\class_student\\source\\repos\\presence\\data\\data.csproj",
"packagesPath": "C:\\Users\\class_student\\.nuget\\packages\\",
"outputPath": "C:\\Users\\class_student\\Source\\Repos\\presence\\data\\obj\\",
"projectStyle": "PackageReference",

View File

@ -1,8 +1,8 @@
{
"version": 2,
"dgSpecHash": "dBPobGZbW4jKftpopDdOdvwpbzROWoiPzYBMGL/hXvUgdi/u/sEl0RkoQlrjuHoJDOWHTVpRo8RBVk4zjt8Z3g==",
"dgSpecHash": "DDnwm6gpeej6RjOTc40AjVgiFI7R+NkXTeSjPucV/p+JDC/9V23qaQY+5pEtF+rXq/EkUlb4yd7+Fl0AgmJ3RA==",
"success": true,
"projectFilePath": "C:\\Users\\class_student\\Source\\Repos\\presence\\data\\data.csproj",
"projectFilePath": "C:\\Users\\class_student\\source\\repos\\presence\\data\\data.csproj",
"expectedPackageFiles": [
"C:\\Users\\class_student\\.nuget\\packages\\humanizer.core\\2.14.1\\humanizer.core.2.14.1.nupkg.sha512",
"C:\\Users\\class_student\\.nuget\\packages\\microsoft.bcl.asyncinterfaces\\6.0.0\\microsoft.bcl.asyncinterfaces.6.0.0.nupkg.sha512",

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

View File

@ -14,7 +14,7 @@ using System.Reflection;
[assembly: System.Reflection.AssemblyCompanyAttribute("domain")]
[assembly: System.Reflection.AssemblyConfigurationAttribute("Debug")]
[assembly: System.Reflection.AssemblyFileVersionAttribute("1.0.0.0")]
[assembly: System.Reflection.AssemblyInformationalVersionAttribute("1.0.0+e837fb2d5211480dc710ce847045a78da8ec7516")]
[assembly: System.Reflection.AssemblyInformationalVersionAttribute("1.0.0+28b0f0eaa4bdbc5beb0e71b121ca97a82102b037")]
[assembly: System.Reflection.AssemblyProductAttribute("domain")]
[assembly: System.Reflection.AssemblyTitleAttribute("domain")]
[assembly: System.Reflection.AssemblyVersionAttribute("1.0.0.0")]

View File

@ -1 +1 @@
5dd4ef344ad997aa151f4f6e98822fcc945411ec4d36c7fe492f4d0031fb612f
9584676b028343be5c40389a6e12fdba6caf1e083ec7e28ed52aa54e02f3df00

View File

@ -8,6 +8,6 @@ build_property.PlatformNeutralAssembly =
build_property.EnforceExtendedAnalyzerRules =
build_property._SupportedPlatformList = Linux,macOS,Windows
build_property.RootNamespace = domain
build_property.ProjectDir = C:\Users\class_student\Source\Repos\presence\domain\
build_property.ProjectDir = C:\Users\class_student\source\repos\presence\domain\
build_property.EnableComHosting =
build_property.EnableGeneratedComInterfaceComImportInterop =

Binary file not shown.

Binary file not shown.

View File

@ -1,15 +1,15 @@
{
"format": 1,
"restore": {
"C:\\Users\\class_student\\Source\\Repos\\presence\\domain\\domain.csproj": {}
"C:\\Users\\class_student\\source\\repos\\presence\\domain\\domain.csproj": {}
},
"projects": {
"C:\\Users\\class_student\\Source\\Repos\\presence\\data\\data.csproj": {
"C:\\Users\\class_student\\source\\repos\\presence\\data\\data.csproj": {
"version": "1.0.0",
"restore": {
"projectUniqueName": "C:\\Users\\class_student\\Source\\Repos\\presence\\data\\data.csproj",
"projectUniqueName": "C:\\Users\\class_student\\source\\repos\\presence\\data\\data.csproj",
"projectName": "data",
"projectPath": "C:\\Users\\class_student\\Source\\Repos\\presence\\data\\data.csproj",
"projectPath": "C:\\Users\\class_student\\source\\repos\\presence\\data\\data.csproj",
"packagesPath": "C:\\Users\\class_student\\.nuget\\packages\\",
"outputPath": "C:\\Users\\class_student\\Source\\Repos\\presence\\data\\obj\\",
"projectStyle": "PackageReference",
@ -84,12 +84,12 @@
}
}
},
"C:\\Users\\class_student\\Source\\Repos\\presence\\domain\\domain.csproj": {
"C:\\Users\\class_student\\source\\repos\\presence\\domain\\domain.csproj": {
"version": "1.0.0",
"restore": {
"projectUniqueName": "C:\\Users\\class_student\\Source\\Repos\\presence\\domain\\domain.csproj",
"projectUniqueName": "C:\\Users\\class_student\\source\\repos\\presence\\domain\\domain.csproj",
"projectName": "domain",
"projectPath": "C:\\Users\\class_student\\Source\\Repos\\presence\\domain\\domain.csproj",
"projectPath": "C:\\Users\\class_student\\source\\repos\\presence\\domain\\domain.csproj",
"packagesPath": "C:\\Users\\class_student\\.nuget\\packages\\",
"outputPath": "C:\\Users\\class_student\\Source\\Repos\\presence\\domain\\obj\\",
"projectStyle": "PackageReference",
@ -112,8 +112,8 @@
"net8.0": {
"targetAlias": "net8.0",
"projectReferences": {
"C:\\Users\\class_student\\Source\\Repos\\presence\\data\\data.csproj": {
"projectPath": "C:\\Users\\class_student\\Source\\Repos\\presence\\data\\data.csproj"
"C:\\Users\\class_student\\source\\repos\\presence\\data\\data.csproj": {
"projectPath": "C:\\Users\\class_student\\source\\repos\\presence\\data\\data.csproj"
}
}
}

View File

@ -1025,9 +1025,9 @@
"project": {
"version": "1.0.0",
"restore": {
"projectUniqueName": "C:\\Users\\class_student\\Source\\Repos\\presence\\domain\\domain.csproj",
"projectUniqueName": "C:\\Users\\class_student\\source\\repos\\presence\\domain\\domain.csproj",
"projectName": "domain",
"projectPath": "C:\\Users\\class_student\\Source\\Repos\\presence\\domain\\domain.csproj",
"projectPath": "C:\\Users\\class_student\\source\\repos\\presence\\domain\\domain.csproj",
"packagesPath": "C:\\Users\\class_student\\.nuget\\packages\\",
"outputPath": "C:\\Users\\class_student\\Source\\Repos\\presence\\domain\\obj\\",
"projectStyle": "PackageReference",
@ -1050,8 +1050,8 @@
"net8.0": {
"targetAlias": "net8.0",
"projectReferences": {
"C:\\Users\\class_student\\Source\\Repos\\presence\\data\\data.csproj": {
"projectPath": "C:\\Users\\class_student\\Source\\Repos\\presence\\data\\data.csproj"
"C:\\Users\\class_student\\source\\repos\\presence\\data\\data.csproj": {
"projectPath": "C:\\Users\\class_student\\source\\repos\\presence\\data\\data.csproj"
}
}
}

View File

@ -1,8 +1,8 @@
{
"version": 2,
"dgSpecHash": "huTb6uPnY4Oy6459ePz3VJW91KIPhP3IHAaAETusVV7WDseLI/x2QkHrEeLo/1s2QMdcVBzKbOVfAT7f8Vi3Cw==",
"dgSpecHash": "B6/hulEGPdjqLzqDRxfurQrl5AeIwbmlU6b6QX4UG6XWgXQMg2xBKvbla99nkBkdY6CKg3bg1R0V+5RizSgZUA==",
"success": true,
"projectFilePath": "C:\\Users\\class_student\\Source\\Repos\\presence\\domain\\domain.csproj",
"projectFilePath": "C:\\Users\\class_student\\source\\repos\\presence\\domain\\domain.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",

View File

@ -14,7 +14,7 @@ using System.Reflection;
[assembly: System.Reflection.AssemblyCompanyAttribute("presence_api")]
[assembly: System.Reflection.AssemblyConfigurationAttribute("Debug")]
[assembly: System.Reflection.AssemblyFileVersionAttribute("1.0.0.0")]
[assembly: System.Reflection.AssemblyInformationalVersionAttribute("1.0.0+e837fb2d5211480dc710ce847045a78da8ec7516")]
[assembly: System.Reflection.AssemblyInformationalVersionAttribute("1.0.0+28b0f0eaa4bdbc5beb0e71b121ca97a82102b037")]
[assembly: System.Reflection.AssemblyProductAttribute("presence_api")]
[assembly: System.Reflection.AssemblyTitleAttribute("presence_api")]
[assembly: System.Reflection.AssemblyVersionAttribute("1.0.0.0")]

View File

@ -1 +1 @@
769e84ccbb2f8d44b24e6e49839b713bd037c65b28280296bae924a355ebc219
1cecb6fb24799015fcc3bc184b2f81dcfad82fb42561666b026513f195fabadc

View File

@ -9,11 +9,11 @@ build_property.EnforceExtendedAnalyzerRules =
build_property._SupportedPlatformList = Linux,macOS,Windows
build_property.RootNamespace = presence_api
build_property.RootNamespace = presence_api
build_property.ProjectDir = C:\Users\class_student\Source\Repos\presence\presence_api\
build_property.ProjectDir = C:\Users\class_student\source\repos\presence\presence_api\
build_property.EnableComHosting =
build_property.EnableGeneratedComInterfaceComImportInterop =
build_property.RazorLangVersion = 8.0
build_property.SupportLocalizedComponentNames =
build_property.GenerateRazorMetadataSourceChecksumAttributes =
build_property.MSBuildProjectDirectory = C:\Users\class_student\Source\Repos\presence\presence_api
build_property.MSBuildProjectDirectory = C:\Users\class_student\source\repos\presence\presence_api
build_property._RazorSourceGeneratorDebug =

View File

@ -1,15 +1,15 @@
{
"format": 1,
"restore": {
"C:\\Users\\class_student\\Source\\Repos\\presence\\presence_api\\presence_api.csproj": {}
"C:\\Users\\class_student\\source\\repos\\presence\\presence_api\\presence_api.csproj": {}
},
"projects": {
"C:\\Users\\class_student\\Source\\Repos\\presence\\data\\data.csproj": {
"C:\\Users\\class_student\\source\\repos\\presence\\data\\data.csproj": {
"version": "1.0.0",
"restore": {
"projectUniqueName": "C:\\Users\\class_student\\Source\\Repos\\presence\\data\\data.csproj",
"projectUniqueName": "C:\\Users\\class_student\\source\\repos\\presence\\data\\data.csproj",
"projectName": "data",
"projectPath": "C:\\Users\\class_student\\Source\\Repos\\presence\\data\\data.csproj",
"projectPath": "C:\\Users\\class_student\\source\\repos\\presence\\data\\data.csproj",
"packagesPath": "C:\\Users\\class_student\\.nuget\\packages\\",
"outputPath": "C:\\Users\\class_student\\Source\\Repos\\presence\\data\\obj\\",
"projectStyle": "PackageReference",
@ -84,12 +84,12 @@
}
}
},
"C:\\Users\\class_student\\Source\\Repos\\presence\\domain\\domain.csproj": {
"C:\\Users\\class_student\\source\\repos\\presence\\domain\\domain.csproj": {
"version": "1.0.0",
"restore": {
"projectUniqueName": "C:\\Users\\class_student\\Source\\Repos\\presence\\domain\\domain.csproj",
"projectUniqueName": "C:\\Users\\class_student\\source\\repos\\presence\\domain\\domain.csproj",
"projectName": "domain",
"projectPath": "C:\\Users\\class_student\\Source\\Repos\\presence\\domain\\domain.csproj",
"projectPath": "C:\\Users\\class_student\\source\\repos\\presence\\domain\\domain.csproj",
"packagesPath": "C:\\Users\\class_student\\.nuget\\packages\\",
"outputPath": "C:\\Users\\class_student\\Source\\Repos\\presence\\domain\\obj\\",
"projectStyle": "PackageReference",
@ -112,8 +112,8 @@
"net8.0": {
"targetAlias": "net8.0",
"projectReferences": {
"C:\\Users\\class_student\\Source\\Repos\\presence\\data\\data.csproj": {
"projectPath": "C:\\Users\\class_student\\Source\\Repos\\presence\\data\\data.csproj"
"C:\\Users\\class_student\\source\\repos\\presence\\data\\data.csproj": {
"projectPath": "C:\\Users\\class_student\\source\\repos\\presence\\data\\data.csproj"
}
}
}
@ -158,14 +158,14 @@
}
}
},
"C:\\Users\\class_student\\Source\\Repos\\presence\\presence_api\\presence_api.csproj": {
"C:\\Users\\class_student\\source\\repos\\presence\\presence_api\\presence_api.csproj": {
"version": "1.0.0",
"restore": {
"projectUniqueName": "C:\\Users\\class_student\\Source\\Repos\\presence\\presence_api\\presence_api.csproj",
"projectUniqueName": "C:\\Users\\class_student\\source\\repos\\presence\\presence_api\\presence_api.csproj",
"projectName": "presence_api",
"projectPath": "C:\\Users\\class_student\\Source\\Repos\\presence\\presence_api\\presence_api.csproj",
"projectPath": "C:\\Users\\class_student\\source\\repos\\presence\\presence_api\\presence_api.csproj",
"packagesPath": "C:\\Users\\class_student\\.nuget\\packages\\",
"outputPath": "C:\\Users\\class_student\\Source\\Repos\\presence\\presence_api\\obj\\",
"outputPath": "C:\\Users\\class_student\\source\\repos\\presence\\presence_api\\obj\\",
"projectStyle": "PackageReference",
"fallbackFolders": [
"C:\\Program Files (x86)\\Microsoft Visual Studio\\Shared\\NuGetPackages"
@ -186,8 +186,8 @@
"net8.0": {
"targetAlias": "net8.0",
"projectReferences": {
"C:\\Users\\class_student\\Source\\Repos\\presence\\domain\\domain.csproj": {
"projectPath": "C:\\Users\\class_student\\Source\\Repos\\presence\\domain\\domain.csproj"
"C:\\Users\\class_student\\source\\repos\\presence\\domain\\domain.csproj": {
"projectPath": "C:\\Users\\class_student\\source\\repos\\presence\\domain\\domain.csproj"
}
}
}

View File

@ -1492,11 +1492,11 @@
"project": {
"version": "1.0.0",
"restore": {
"projectUniqueName": "C:\\Users\\class_student\\Source\\Repos\\presence\\presence_api\\presence_api.csproj",
"projectUniqueName": "C:\\Users\\class_student\\source\\repos\\presence\\presence_api\\presence_api.csproj",
"projectName": "presence_api",
"projectPath": "C:\\Users\\class_student\\Source\\Repos\\presence\\presence_api\\presence_api.csproj",
"projectPath": "C:\\Users\\class_student\\source\\repos\\presence\\presence_api\\presence_api.csproj",
"packagesPath": "C:\\Users\\class_student\\.nuget\\packages\\",
"outputPath": "C:\\Users\\class_student\\Source\\Repos\\presence\\presence_api\\obj\\",
"outputPath": "C:\\Users\\class_student\\source\\repos\\presence\\presence_api\\obj\\",
"projectStyle": "PackageReference",
"fallbackFolders": [
"C:\\Program Files (x86)\\Microsoft Visual Studio\\Shared\\NuGetPackages"
@ -1517,8 +1517,8 @@
"net8.0": {
"targetAlias": "net8.0",
"projectReferences": {
"C:\\Users\\class_student\\Source\\Repos\\presence\\domain\\domain.csproj": {
"projectPath": "C:\\Users\\class_student\\Source\\Repos\\presence\\domain\\domain.csproj"
"C:\\Users\\class_student\\source\\repos\\presence\\domain\\domain.csproj": {
"projectPath": "C:\\Users\\class_student\\source\\repos\\presence\\domain\\domain.csproj"
}
}
}

View File

@ -1,8 +1,8 @@
{
"version": 2,
"dgSpecHash": "Wpv0GgUqF9c3N+U/qXq9dDp6NW5DUXDhQiVLWU04sXnDJSo9hDp27+WDSWo9VMpqc8dm6ZwhSi9it6pDrxY7Cw==",
"dgSpecHash": "xt+O5Zbifose0itRRSK2jIsvmLEYSx72AOWSNnYCmc0/9Qr+/zG/9FLj4hAqH96X+MC5b5FPhaeWaJgxuTceCw==",
"success": true,
"projectFilePath": "C:\\Users\\class_student\\Source\\Repos\\presence\\presence_api\\presence_api.csproj",
"projectFilePath": "C:\\Users\\class_student\\source\\repos\\presence\\presence_api\\presence_api.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",

View File

@ -16,7 +16,7 @@ namespace ui
{
_userConsoleUI = new UserConsoleUI(userUseCase);
_groupConsoleUI = new GroupConsoleUI(groupUseCase);
_presenceConsoleUI = new PresenceConsole(presenceUseCase,presenceRepository); // Передаем presenceRepository
_presenceConsoleUI = new PresenceConsole(presenceUseCase,presenceRepository);
}
@ -182,8 +182,17 @@ namespace ui
break;
case "13":
Console.Write("Введите пользователя: ");
userGuid = Guid.Parse(Console.ReadLine());
Console.Write("Введите GUID пользователя: ");
string userGuidInput = Console.ReadLine();
Guid newUserGuid;
// Проверка на корректность GUID
if (!Guid.TryParse(userGuidInput, out newUserGuid))
{
Console.WriteLine("Ошибка: введён некорректный GUID.");
break;
}
Console.Write("Введите номер первого занятия: ");
int firstAbsLesson = int.Parse(Console.ReadLine());
Console.Write("Введите номер последнего занятия: ");
@ -191,8 +200,8 @@ namespace ui
Console.Write("Введите ID группы: ");
int absGroupId = int.Parse(Console.ReadLine());
_presenceConsoleUI.MarkUserAsAbsent(DateTime.Now, absGroupId, userGuid, firstAbsLesson, lastAbsLesson);
Console.WriteLine("Пользователь отмечен как отсутствующий.");
// Проверка существования группы и пользователя
_presenceConsoleUI.MarkUserAsAbsent(DateTime.Now, absGroupId, newUserGuid, firstAbsLesson, lastAbsLesson);
break;

View File

@ -1,4 +1,5 @@
using data.Repository;
using data.RemoteData.RemoteDataBase;
using data.Repository;
using domain.Models;
using domain.UseCase;
using System;
@ -12,11 +13,13 @@ namespace ui
{
private readonly UseCaseGeneratePresence _presenceUseCase;
private readonly IPresenceRepository _presenceRepository;
private readonly RemoteDatabaseContext _remoteDatabaseContext;
public PresenceConsole(UseCaseGeneratePresence presenceUseCase,IPresenceRepository presenceRepository)
{
_presenceUseCase = presenceUseCase;
_presenceRepository = presenceRepository;
_remoteDatabaseContext = new RemoteDatabaseContext();
}
@ -105,7 +108,25 @@ namespace ui
public void MarkUserAsAbsent(DateTime date, int groupId, Guid userGuid, int firstLesson, int lastLesson)
{
// Проверка существования группы
var groupExists = _remoteDatabaseContext.Groups.Any(g => g.Id == groupId);
if (!groupExists)
{
Console.WriteLine("Ошибка: группа с таким ID не существует.");
return;
}
// Проверка существования пользователя
var userExists = _remoteDatabaseContext.Users.Any(u => u.Guid == userGuid);
if (!userExists)
{
Console.WriteLine("Ошибка: пользователь с таким GUID не существует.");
return;
}
// Теперь, когда группа и пользователь найдены, вызываем метод для отметки отсутствия
_presenceUseCase.MarkUserAsAbsent(userGuid, groupId, firstLesson, lastLesson, date);
Console.WriteLine("Пользователь отмечен как отсутствующий.");
}

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

View File

@ -14,7 +14,7 @@ using System.Reflection;
[assembly: System.Reflection.AssemblyCompanyAttribute("ui")]
[assembly: System.Reflection.AssemblyConfigurationAttribute("Debug")]
[assembly: System.Reflection.AssemblyFileVersionAttribute("1.0.0.0")]
[assembly: System.Reflection.AssemblyInformationalVersionAttribute("1.0.0+e837fb2d5211480dc710ce847045a78da8ec7516")]
[assembly: System.Reflection.AssemblyInformationalVersionAttribute("1.0.0+28b0f0eaa4bdbc5beb0e71b121ca97a82102b037")]
[assembly: System.Reflection.AssemblyProductAttribute("ui")]
[assembly: System.Reflection.AssemblyTitleAttribute("ui")]
[assembly: System.Reflection.AssemblyVersionAttribute("1.0.0.0")]

View File

@ -1 +1 @@
8e7da15d994634a99f609260abfc82399e70f001349bcdea96a961b92ca122f7
c8023eb94005f8ae1a010db9f41731c1fef18c35b9906a12ef2b8c8d7f4e4cc8

View File

@ -8,6 +8,6 @@ build_property.PlatformNeutralAssembly =
build_property.EnforceExtendedAnalyzerRules =
build_property._SupportedPlatformList = Linux,macOS,Windows
build_property.RootNamespace = ui
build_property.ProjectDir = C:\Users\class_student\Source\Repos\presence\ui\
build_property.ProjectDir = C:\Users\class_student\source\repos\presence\ui\
build_property.EnableComHosting =
build_property.EnableGeneratedComInterfaceComImportInterop =

Binary file not shown.

Binary file not shown.

Binary file not shown.

View File

@ -1043,11 +1043,11 @@
"project": {
"version": "1.0.0",
"restore": {
"projectUniqueName": "C:\\Users\\class_student\\Source\\Repos\\presence\\ui\\ui.csproj",
"projectUniqueName": "C:\\Users\\class_student\\source\\repos\\presence\\ui\\ui.csproj",
"projectName": "ui",
"projectPath": "C:\\Users\\class_student\\Source\\Repos\\presence\\ui\\ui.csproj",
"projectPath": "C:\\Users\\class_student\\source\\repos\\presence\\ui\\ui.csproj",
"packagesPath": "C:\\Users\\class_student\\.nuget\\packages\\",
"outputPath": "C:\\Users\\class_student\\Source\\Repos\\presence\\ui\\obj\\",
"outputPath": "C:\\Users\\class_student\\source\\repos\\presence\\ui\\obj\\",
"projectStyle": "PackageReference",
"fallbackFolders": [
"C:\\Program Files (x86)\\Microsoft Visual Studio\\Shared\\NuGetPackages"
@ -1068,8 +1068,8 @@
"net8.0": {
"targetAlias": "net8.0",
"projectReferences": {
"C:\\Users\\class_student\\Source\\Repos\\presence\\domain\\domain.csproj": {
"projectPath": "C:\\Users\\class_student\\Source\\Repos\\presence\\domain\\domain.csproj"
"C:\\Users\\class_student\\source\\repos\\presence\\domain\\domain.csproj": {
"projectPath": "C:\\Users\\class_student\\source\\repos\\presence\\domain\\domain.csproj"
}
}
}

View File

@ -1,8 +1,8 @@
{
"version": 2,
"dgSpecHash": "UDtkAdRAUkdfKYnXSV9thbENks9XnkdqJxQzV8WJrz/dXRAhXe29BSoGinF9t/xt0yLNRfkZq+UZ5giwkN+pjQ==",
"dgSpecHash": "iBqlmJAmTWHzoxEV2YtClnbZRE4WTyDWuhCIy3AZcQnVrxkWZmlC4iT75dS78yINtjkCycXt2R1mIOgJY1LrqA==",
"success": true,
"projectFilePath": "C:\\Users\\class_student\\Source\\Repos\\presence\\ui\\ui.csproj",
"projectFilePath": "C:\\Users\\class_student\\source\\repos\\presence\\ui\\ui.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",

View File

@ -1,15 +1,15 @@
{
"format": 1,
"restore": {
"C:\\Users\\class_student\\Source\\Repos\\presence\\ui\\ui.csproj": {}
"C:\\Users\\class_student\\source\\repos\\presence\\ui\\ui.csproj": {}
},
"projects": {
"C:\\Users\\class_student\\Source\\Repos\\presence\\data\\data.csproj": {
"C:\\Users\\class_student\\source\\repos\\presence\\data\\data.csproj": {
"version": "1.0.0",
"restore": {
"projectUniqueName": "C:\\Users\\class_student\\Source\\Repos\\presence\\data\\data.csproj",
"projectUniqueName": "C:\\Users\\class_student\\source\\repos\\presence\\data\\data.csproj",
"projectName": "data",
"projectPath": "C:\\Users\\class_student\\Source\\Repos\\presence\\data\\data.csproj",
"projectPath": "C:\\Users\\class_student\\source\\repos\\presence\\data\\data.csproj",
"packagesPath": "C:\\Users\\class_student\\.nuget\\packages\\",
"outputPath": "C:\\Users\\class_student\\Source\\Repos\\presence\\data\\obj\\",
"projectStyle": "PackageReference",
@ -84,12 +84,12 @@
}
}
},
"C:\\Users\\class_student\\Source\\Repos\\presence\\domain\\domain.csproj": {
"C:\\Users\\class_student\\source\\repos\\presence\\domain\\domain.csproj": {
"version": "1.0.0",
"restore": {
"projectUniqueName": "C:\\Users\\class_student\\Source\\Repos\\presence\\domain\\domain.csproj",
"projectUniqueName": "C:\\Users\\class_student\\source\\repos\\presence\\domain\\domain.csproj",
"projectName": "domain",
"projectPath": "C:\\Users\\class_student\\Source\\Repos\\presence\\domain\\domain.csproj",
"projectPath": "C:\\Users\\class_student\\source\\repos\\presence\\domain\\domain.csproj",
"packagesPath": "C:\\Users\\class_student\\.nuget\\packages\\",
"outputPath": "C:\\Users\\class_student\\Source\\Repos\\presence\\domain\\obj\\",
"projectStyle": "PackageReference",
@ -112,8 +112,8 @@
"net8.0": {
"targetAlias": "net8.0",
"projectReferences": {
"C:\\Users\\class_student\\Source\\Repos\\presence\\data\\data.csproj": {
"projectPath": "C:\\Users\\class_student\\Source\\Repos\\presence\\data\\data.csproj"
"C:\\Users\\class_student\\source\\repos\\presence\\data\\data.csproj": {
"projectPath": "C:\\Users\\class_student\\source\\repos\\presence\\data\\data.csproj"
}
}
}
@ -158,14 +158,14 @@
}
}
},
"C:\\Users\\class_student\\Source\\Repos\\presence\\ui\\ui.csproj": {
"C:\\Users\\class_student\\source\\repos\\presence\\ui\\ui.csproj": {
"version": "1.0.0",
"restore": {
"projectUniqueName": "C:\\Users\\class_student\\Source\\Repos\\presence\\ui\\ui.csproj",
"projectUniqueName": "C:\\Users\\class_student\\source\\repos\\presence\\ui\\ui.csproj",
"projectName": "ui",
"projectPath": "C:\\Users\\class_student\\Source\\Repos\\presence\\ui\\ui.csproj",
"projectPath": "C:\\Users\\class_student\\source\\repos\\presence\\ui\\ui.csproj",
"packagesPath": "C:\\Users\\class_student\\.nuget\\packages\\",
"outputPath": "C:\\Users\\class_student\\Source\\Repos\\presence\\ui\\obj\\",
"outputPath": "C:\\Users\\class_student\\source\\repos\\presence\\ui\\obj\\",
"projectStyle": "PackageReference",
"fallbackFolders": [
"C:\\Program Files (x86)\\Microsoft Visual Studio\\Shared\\NuGetPackages"
@ -186,8 +186,8 @@
"net8.0": {
"targetAlias": "net8.0",
"projectReferences": {
"C:\\Users\\class_student\\Source\\Repos\\presence\\domain\\domain.csproj": {
"projectPath": "C:\\Users\\class_student\\Source\\Repos\\presence\\domain\\domain.csproj"
"C:\\Users\\class_student\\source\\repos\\presence\\domain\\domain.csproj": {
"projectPath": "C:\\Users\\class_student\\source\\repos\\presence\\domain\\domain.csproj"
}
}
}