diff --git a/.vs/ProjectEvaluation/presence.metadata.v7.bin b/.vs/ProjectEvaluation/presence.metadata.v7.bin new file mode 100644 index 0000000..b692662 Binary files /dev/null and b/.vs/ProjectEvaluation/presence.metadata.v7.bin differ diff --git a/.vs/ProjectEvaluation/presence.projects.v7.bin b/.vs/ProjectEvaluation/presence.projects.v7.bin new file mode 100644 index 0000000..1c3f2c7 Binary files /dev/null and b/.vs/ProjectEvaluation/presence.projects.v7.bin differ diff --git a/.vs/presence/DesignTimeBuild/.dtbcache.v2 b/.vs/presence/DesignTimeBuild/.dtbcache.v2 new file mode 100644 index 0000000..38b728c Binary files /dev/null and b/.vs/presence/DesignTimeBuild/.dtbcache.v2 differ diff --git a/.vs/presence/FileContentIndex/021a3812-ffd1-47bd-9ec7-0f931eae13f1.vsidx b/.vs/presence/FileContentIndex/021a3812-ffd1-47bd-9ec7-0f931eae13f1.vsidx new file mode 100644 index 0000000..d9a4842 Binary files /dev/null and b/.vs/presence/FileContentIndex/021a3812-ffd1-47bd-9ec7-0f931eae13f1.vsidx differ diff --git a/.vs/presence/FileContentIndex/424c3562-e07c-461d-adc1-6818e0b6656f.vsidx b/.vs/presence/FileContentIndex/424c3562-e07c-461d-adc1-6818e0b6656f.vsidx new file mode 100644 index 0000000..70aef67 Binary files /dev/null and b/.vs/presence/FileContentIndex/424c3562-e07c-461d-adc1-6818e0b6656f.vsidx differ diff --git a/.vs/presence/FileContentIndex/57f2487a-88e8-48cb-8c56-4ba8012aaadf.vsidx b/.vs/presence/FileContentIndex/57f2487a-88e8-48cb-8c56-4ba8012aaadf.vsidx new file mode 100644 index 0000000..7d87bc7 Binary files /dev/null and b/.vs/presence/FileContentIndex/57f2487a-88e8-48cb-8c56-4ba8012aaadf.vsidx differ diff --git a/.vs/presence/FileContentIndex/b6bb13cc-b0fe-415f-9ffe-a1ce6587623c.vsidx b/.vs/presence/FileContentIndex/b6bb13cc-b0fe-415f-9ffe-a1ce6587623c.vsidx new file mode 100644 index 0000000..251d0af Binary files /dev/null and b/.vs/presence/FileContentIndex/b6bb13cc-b0fe-415f-9ffe-a1ce6587623c.vsidx differ diff --git a/.vs/presence/config/applicationhost.config b/.vs/presence/config/applicationhost.config new file mode 100644 index 0000000..cdd2df8 --- /dev/null +++ b/.vs/presence/config/applicationhost.config @@ -0,0 +1,1026 @@ + + + + + + + +
+
+
+
+
+
+
+
+ + + +
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ +
+
+ +
+
+
+
+
+
+ +
+
+
+
+
+ +
+
+
+ +
+
+ +
+
+ +
+
+
+ + +
+
+
+
+
+
+ +
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/.vs/presence/v17/.futdcache.v2 b/.vs/presence/v17/.futdcache.v2 new file mode 100644 index 0000000..17a8a73 Binary files /dev/null and b/.vs/presence/v17/.futdcache.v2 differ diff --git a/.vs/presence/v17/.suo b/.vs/presence/v17/.suo new file mode 100644 index 0000000..24b8a31 Binary files /dev/null and b/.vs/presence/v17/.suo differ diff --git a/.vs/presence/v17/DocumentLayout.json b/.vs/presence/v17/DocumentLayout.json new file mode 100644 index 0000000..5f35e7a --- /dev/null +++ b/.vs/presence/v17/DocumentLayout.json @@ -0,0 +1,258 @@ +{ + "Version": 1, + "WorkspaceRootPath": "C:\\Users\\class_student\\source\\repos\\presence\\", + "Documents": [ + { + "AbsoluteMoniker": "D:0:0:{E466FB14-716E-437F-9E6C-B2A0D786694C}|presence_api\\presence_api.csproj|c:\\users\\class_student\\source\\repos\\presence\\presence_api\\program.cs||{A6C744A8-0E4A-4FC6-886A-064283054674}", + "RelativeMoniker": "D:0:0:{E466FB14-716E-437F-9E6C-B2A0D786694C}|presence_api\\presence_api.csproj|solutionrelative:presence_api\\program.cs||{A6C744A8-0E4A-4FC6-886A-064283054674}" + }, + { + "AbsoluteMoniker": "D:0:0:{E466FB14-716E-437F-9E6C-B2A0D786694C}|presence_api\\presence_api.csproj|c:\\users\\class_student\\source\\repos\\presence\\presence_api\\controllers\\adminpanelcontroller.cs||{A6C744A8-0E4A-4FC6-886A-064283054674}", + "RelativeMoniker": "D:0:0:{E466FB14-716E-437F-9E6C-B2A0D786694C}|presence_api\\presence_api.csproj|solutionrelative:presence_api\\controllers\\adminpanelcontroller.cs||{A6C744A8-0E4A-4FC6-886A-064283054674}" + }, + { + "AbsoluteMoniker": "D:0:0:{E466FB14-716E-437F-9E6C-B2A0D786694C}|presence_api\\presence_api.csproj|c:\\users\\class_student\\source\\repos\\presence\\presence_api\\serviceextensions\\serviceextensions.cs||{A6C744A8-0E4A-4FC6-886A-064283054674}", + "RelativeMoniker": "D:0:0:{E466FB14-716E-437F-9E6C-B2A0D786694C}|presence_api\\presence_api.csproj|solutionrelative:presence_api\\serviceextensions\\serviceextensions.cs||{A6C744A8-0E4A-4FC6-886A-064283054674}" + }, + { + "AbsoluteMoniker": "D:0:0:{53B2C28F-CCC6-4399-BA63-8A21E2D26B73}|domain\\domain.csproj|c:\\users\\class_student\\source\\repos\\presence\\domain\\usecase\\usecaseapi.cs||{A6C744A8-0E4A-4FC6-886A-064283054674}", + "RelativeMoniker": "D:0:0:{53B2C28F-CCC6-4399-BA63-8A21E2D26B73}|domain\\domain.csproj|solutionrelative:domain\\usecase\\usecaseapi.cs||{A6C744A8-0E4A-4FC6-886A-064283054674}" + }, + { + "AbsoluteMoniker": "D:0:0:{53B2C28F-CCC6-4399-BA63-8A21E2D26B73}|domain\\domain.csproj|c:\\users\\class_student\\source\\repos\\presence\\domain\\usecase\\groupusecase.cs||{A6C744A8-0E4A-4FC6-886A-064283054674}", + "RelativeMoniker": "D:0:0:{53B2C28F-CCC6-4399-BA63-8A21E2D26B73}|domain\\domain.csproj|solutionrelative:domain\\usecase\\groupusecase.cs||{A6C744A8-0E4A-4FC6-886A-064283054674}" + }, + { + "AbsoluteMoniker": "D:0:0:{7E1D482B-6976-4984-85C3-AE6E789E7FC2}|data\\data.csproj|c:\\users\\class_student\\source\\repos\\presence\\data\\repository\\igrouprepository.cs||{A6C744A8-0E4A-4FC6-886A-064283054674}", + "RelativeMoniker": "D:0:0:{7E1D482B-6976-4984-85C3-AE6E789E7FC2}|data\\data.csproj|solutionrelative:data\\repository\\igrouprepository.cs||{A6C744A8-0E4A-4FC6-886A-064283054674}" + }, + { + "AbsoluteMoniker": "D:0:0:{7E1D482B-6976-4984-85C3-AE6E789E7FC2}|data\\data.csproj|c:\\users\\class_student\\source\\repos\\presence\\data\\repository\\sqlgrouprepositoryimpl.cs||{A6C744A8-0E4A-4FC6-886A-064283054674}", + "RelativeMoniker": "D:0:0:{7E1D482B-6976-4984-85C3-AE6E789E7FC2}|data\\data.csproj|solutionrelative:data\\repository\\sqlgrouprepositoryimpl.cs||{A6C744A8-0E4A-4FC6-886A-064283054674}" + }, + { + "AbsoluteMoniker": "D:0:0:{7E1D482B-6976-4984-85C3-AE6E789E7FC2}|data\\data.csproj|c:\\users\\class_student\\source\\repos\\presence\\data\\repository\\sqlpresencerepositoryimpl.cs||{A6C744A8-0E4A-4FC6-886A-064283054674}", + "RelativeMoniker": "D:0:0:{7E1D482B-6976-4984-85C3-AE6E789E7FC2}|data\\data.csproj|solutionrelative:data\\repository\\sqlpresencerepositoryimpl.cs||{A6C744A8-0E4A-4FC6-886A-064283054674}" + }, + { + "AbsoluteMoniker": "D:0:0:{7E1D482B-6976-4984-85C3-AE6E789E7FC2}|data\\data.csproj|c:\\users\\class_student\\source\\repos\\presence\\data\\repository\\sqluserrepositoryimpl.cs||{A6C744A8-0E4A-4FC6-886A-064283054674}", + "RelativeMoniker": "D:0:0:{7E1D482B-6976-4984-85C3-AE6E789E7FC2}|data\\data.csproj|solutionrelative:data\\repository\\sqluserrepositoryimpl.cs||{A6C744A8-0E4A-4FC6-886A-064283054674}" + }, + { + "AbsoluteMoniker": "D:0:0:{53B2C28F-CCC6-4399-BA63-8A21E2D26B73}|domain\\domain.csproj|c:\\users\\class_student\\source\\repos\\presence\\domain\\models\\groupwithstudentsdto.cs||{A6C744A8-0E4A-4FC6-886A-064283054674}", + "RelativeMoniker": "D:0:0:{53B2C28F-CCC6-4399-BA63-8A21E2D26B73}|domain\\domain.csproj|solutionrelative:domain\\models\\groupwithstudentsdto.cs||{A6C744A8-0E4A-4FC6-886A-064283054674}" + }, + { + "AbsoluteMoniker": "D:0:0:{53B2C28F-CCC6-4399-BA63-8A21E2D26B73}|domain\\domain.csproj|c:\\users\\class_student\\source\\repos\\presence\\domain\\usecase\\userusecase.cs||{A6C744A8-0E4A-4FC6-886A-064283054674}", + "RelativeMoniker": "D:0:0:{53B2C28F-CCC6-4399-BA63-8A21E2D26B73}|domain\\domain.csproj|solutionrelative:domain\\usecase\\userusecase.cs||{A6C744A8-0E4A-4FC6-886A-064283054674}" + }, + { + "AbsoluteMoniker": "D:0:0:{53B2C28F-CCC6-4399-BA63-8A21E2D26B73}|domain\\domain.csproj|c:\\users\\class_student\\source\\repos\\presence\\domain\\usecase\\usecasegeneratepresence.cs||{A6C744A8-0E4A-4FC6-886A-064283054674}", + "RelativeMoniker": "D:0:0:{53B2C28F-CCC6-4399-BA63-8A21E2D26B73}|domain\\domain.csproj|solutionrelative:domain\\usecase\\usecasegeneratepresence.cs||{A6C744A8-0E4A-4FC6-886A-064283054674}" + }, + { + "AbsoluteMoniker": "D:0:0:{7E1D482B-6976-4984-85C3-AE6E789E7FC2}|data\\data.csproj|c:\\users\\class_student\\source\\repos\\presence\\data\\repository\\iuserrepository.cs||{A6C744A8-0E4A-4FC6-886A-064283054674}", + "RelativeMoniker": "D:0:0:{7E1D482B-6976-4984-85C3-AE6E789E7FC2}|data\\data.csproj|solutionrelative:data\\repository\\iuserrepository.cs||{A6C744A8-0E4A-4FC6-886A-064283054674}" + }, + { + "AbsoluteMoniker": "D:0:0:{7E1D482B-6976-4984-85C3-AE6E789E7FC2}|data\\data.csproj|c:\\users\\class_student\\source\\repos\\presence\\data\\repository\\ipresencerepository.cs||{A6C744A8-0E4A-4FC6-886A-064283054674}", + "RelativeMoniker": "D:0:0:{7E1D482B-6976-4984-85C3-AE6E789E7FC2}|data\\data.csproj|solutionrelative:data\\repository\\ipresencerepository.cs||{A6C744A8-0E4A-4FC6-886A-064283054674}" + } + ], + "DocumentGroupContainers": [ + { + "Orientation": 0, + "VerticalTabListWidth": 256, + "DocumentGroups": [ + { + "DockedWidth": 200, + "SelectedChildIndex": 0, + "Children": [ + { + "$type": "Document", + "DocumentIndex": 0, + "Title": "Program.cs", + "DocumentMoniker": "C:\\Users\\class_student\\source\\repos\\presence\\presence_api\\Program.cs", + "RelativeDocumentMoniker": "presence_api\\Program.cs", + "ToolTip": "C:\\Users\\class_student\\source\\repos\\presence\\presence_api\\Program.cs", + "RelativeToolTip": "presence_api\\Program.cs", + "ViewState": "AQIAAAAAAAAAAAAAAAAAABAAAAAAAAAA", + "Icon": "ae27a6b0-e345-4288-96df-5eaf394ee369.000738|", + "WhenOpened": "2024-11-20T09:04:16.471Z", + "EditorCaption": "" + }, + { + "$type": "Document", + "DocumentIndex": 2, + "Title": "ServiceExtensions.cs", + "DocumentMoniker": "C:\\Users\\class_student\\source\\repos\\presence\\presence_api\\ServiceExtensions\\ServiceExtensions.cs", + "RelativeDocumentMoniker": "presence_api\\ServiceExtensions\\ServiceExtensions.cs", + "ToolTip": "C:\\Users\\class_student\\source\\repos\\presence\\presence_api\\ServiceExtensions\\ServiceExtensions.cs", + "RelativeToolTip": "presence_api\\ServiceExtensions\\ServiceExtensions.cs", + "ViewState": "AQIAABIAAAAAAAAAAAAkwCYAAAAAAAAA", + "Icon": "ae27a6b0-e345-4288-96df-5eaf394ee369.000738|", + "WhenOpened": "2024-11-20T08:58:05.371Z", + "EditorCaption": "" + }, + { + "$type": "Document", + "DocumentIndex": 10, + "Title": "UserUseCase.cs", + "DocumentMoniker": "C:\\Users\\class_student\\source\\repos\\presence\\domain\\UseCase\\UserUseCase.cs", + "RelativeDocumentMoniker": "domain\\UseCase\\UserUseCase.cs", + "ToolTip": "C:\\Users\\class_student\\source\\repos\\presence\\domain\\UseCase\\UserUseCase.cs", + "RelativeToolTip": "domain\\UseCase\\UserUseCase.cs", + "ViewState": "AQIAAGQAAAAAAAAAAAAAwHEAAAAHAAAA", + "Icon": "ae27a6b0-e345-4288-96df-5eaf394ee369.000738|", + "WhenOpened": "2024-11-20T07:06:29.916Z", + "EditorCaption": "" + }, + { + "$type": "Document", + "DocumentIndex": 3, + "Title": "UseCaseAPI.cs", + "DocumentMoniker": "C:\\Users\\class_student\\source\\repos\\presence\\domain\\UseCase\\UseCaseAPI.cs", + "RelativeDocumentMoniker": "domain\\UseCase\\UseCaseAPI.cs", + "ToolTip": "C:\\Users\\class_student\\source\\repos\\presence\\domain\\UseCase\\UseCaseAPI.cs", + "RelativeToolTip": "domain\\UseCase\\UseCaseAPI.cs", + "ViewState": "AQIAABMAAAAAAAAAAAAwwCoAAAARAAAA", + "Icon": "ae27a6b0-e345-4288-96df-5eaf394ee369.000738|", + "WhenOpened": "2024-11-20T07:37:53.868Z", + "EditorCaption": "" + }, + { + "$type": "Document", + "DocumentIndex": 9, + "Title": "GroupWithStudentsDto.cs", + "DocumentMoniker": "C:\\Users\\class_student\\source\\repos\\presence\\domain\\Models\\GroupWithStudentsDto.cs", + "RelativeDocumentMoniker": "domain\\Models\\GroupWithStudentsDto.cs", + "ToolTip": "C:\\Users\\class_student\\source\\repos\\presence\\domain\\Models\\GroupWithStudentsDto.cs", + "RelativeToolTip": "domain\\Models\\GroupWithStudentsDto.cs", + "ViewState": "AQIAAAAAAAAAAAAAAAAAAA0AAAAIAAAA", + "Icon": "ae27a6b0-e345-4288-96df-5eaf394ee369.000738|", + "WhenOpened": "2024-11-20T07:36:54.393Z", + "EditorCaption": "" + }, + { + "$type": "Document", + "DocumentIndex": 4, + "Title": "GroupUseCase.cs", + "DocumentMoniker": "C:\\Users\\class_student\\source\\repos\\presence\\domain\\UseCase\\GroupUseCase.cs", + "RelativeDocumentMoniker": "domain\\UseCase\\GroupUseCase.cs", + "ToolTip": "C:\\Users\\class_student\\source\\repos\\presence\\domain\\UseCase\\GroupUseCase.cs", + "RelativeToolTip": "domain\\UseCase\\GroupUseCase.cs", + "ViewState": "AQIAADQAAAAAAAAAAAAYwEkAAAAAAAAA", + "Icon": "ae27a6b0-e345-4288-96df-5eaf394ee369.000738|", + "WhenOpened": "2024-11-20T07:05:40.692Z", + "EditorCaption": "" + }, + { + "$type": "Document", + "DocumentIndex": 7, + "Title": "SQLPresenceRepositoryImpl.cs", + "DocumentMoniker": "C:\\Users\\class_student\\source\\repos\\presence\\data\\Repository\\SQLPresenceRepositoryImpl.cs", + "RelativeDocumentMoniker": "data\\Repository\\SQLPresenceRepositoryImpl.cs", + "ToolTip": "C:\\Users\\class_student\\source\\repos\\presence\\data\\Repository\\SQLPresenceRepositoryImpl.cs", + "RelativeToolTip": "data\\Repository\\SQLPresenceRepositoryImpl.cs", + "ViewState": "AQIAAMoAAAAAAAAAAAAYwN0AAAAFAAAA", + "Icon": "ae27a6b0-e345-4288-96df-5eaf394ee369.000738|", + "WhenOpened": "2024-11-20T07:11:00.628Z", + "EditorCaption": "" + }, + { + "$type": "Document", + "DocumentIndex": 8, + "Title": "SQLUserRepositoryImpl.cs", + "DocumentMoniker": "C:\\Users\\class_student\\source\\repos\\presence\\data\\Repository\\SQLUserRepositoryImpl.cs", + "RelativeDocumentMoniker": "data\\Repository\\SQLUserRepositoryImpl.cs", + "ToolTip": "C:\\Users\\class_student\\source\\repos\\presence\\data\\Repository\\SQLUserRepositoryImpl.cs", + "RelativeToolTip": "data\\Repository\\SQLUserRepositoryImpl.cs", + "ViewState": "AQIAAEoAAAAAAAAAAAAQwGYAAAAAAAAA", + "Icon": "ae27a6b0-e345-4288-96df-5eaf394ee369.000738|", + "WhenOpened": "2024-11-20T07:07:02.478Z", + "EditorCaption": "" + }, + { + "$type": "Document", + "DocumentIndex": 1, + "Title": "AdminPanelController.cs", + "DocumentMoniker": "C:\\Users\\class_student\\source\\repos\\presence\\presence_api\\Controllers\\AdminPanelController.cs", + "RelativeDocumentMoniker": "presence_api\\Controllers\\AdminPanelController.cs", + "ToolTip": "C:\\Users\\class_student\\source\\repos\\presence\\presence_api\\Controllers\\AdminPanelController.cs", + "RelativeToolTip": "presence_api\\Controllers\\AdminPanelController.cs", + "ViewState": "AQIAAGAAAAAAAAAAAAAswHsAAAA8AAAA", + "Icon": "ae27a6b0-e345-4288-96df-5eaf394ee369.000738|", + "WhenOpened": "2024-11-20T07:19:40.565Z", + "EditorCaption": "" + }, + { + "$type": "Document", + "DocumentIndex": 5, + "Title": "IGroupRepository.cs", + "DocumentMoniker": "C:\\Users\\class_student\\source\\repos\\presence\\data\\Repository\\IGroupRepository.cs", + "RelativeDocumentMoniker": "data\\Repository\\IGroupRepository.cs", + "ToolTip": "C:\\Users\\class_student\\source\\repos\\presence\\data\\Repository\\IGroupRepository.cs", + "RelativeToolTip": "data\\Repository\\IGroupRepository.cs", + "ViewState": "AQIAAAAAAAAAAAAAAAAAABAAAAAoAAAA", + "Icon": "ae27a6b0-e345-4288-96df-5eaf394ee369.000738|", + "WhenOpened": "2024-11-20T07:08:19.923Z", + "EditorCaption": "" + }, + { + "$type": "Document", + "DocumentIndex": 6, + "Title": "SQLGroupRepositoryImpl.cs", + "DocumentMoniker": "C:\\Users\\class_student\\source\\repos\\presence\\data\\Repository\\SQLGroupRepositoryImpl.cs", + "RelativeDocumentMoniker": "data\\Repository\\SQLGroupRepositoryImpl.cs", + "ToolTip": "C:\\Users\\class_student\\source\\repos\\presence\\data\\Repository\\SQLGroupRepositoryImpl.cs", + "RelativeToolTip": "data\\Repository\\SQLGroupRepositoryImpl.cs", + "ViewState": "AQIAABYAAAAAAAAAAAAgwCwAAAAAAAAA", + "Icon": "ae27a6b0-e345-4288-96df-5eaf394ee369.000738|", + "WhenOpened": "2024-11-20T08:36:33.509Z", + "EditorCaption": "" + }, + { + "$type": "Document", + "DocumentIndex": 11, + "Title": "UseCaseGeneratePresence.cs", + "DocumentMoniker": "C:\\Users\\class_student\\source\\repos\\presence\\domain\\UseCase\\UseCaseGeneratePresence.cs", + "RelativeDocumentMoniker": "domain\\UseCase\\UseCaseGeneratePresence.cs", + "ToolTip": "C:\\Users\\class_student\\source\\repos\\presence\\domain\\UseCase\\UseCaseGeneratePresence.cs", + "RelativeToolTip": "domain\\UseCase\\UseCaseGeneratePresence.cs", + "ViewState": "AQIAAAMAAAAAAAAAAAAAABcAAAAaAAAA", + "Icon": "ae27a6b0-e345-4288-96df-5eaf394ee369.000738|", + "WhenOpened": "2024-11-20T07:11:44.683Z", + "EditorCaption": "" + }, + { + "$type": "Document", + "DocumentIndex": 12, + "Title": "IUserRepository.cs", + "DocumentMoniker": "C:\\Users\\class_student\\source\\repos\\presence\\data\\Repository\\IUserRepository.cs", + "RelativeDocumentMoniker": "data\\Repository\\IUserRepository.cs", + "ToolTip": "C:\\Users\\class_student\\source\\repos\\presence\\data\\Repository\\IUserRepository.cs", + "RelativeToolTip": "data\\Repository\\IUserRepository.cs", + "ViewState": "AQIAAAkAAAAAAAAAAAAAABMAAAAcAAAA", + "Icon": "ae27a6b0-e345-4288-96df-5eaf394ee369.000738|", + "WhenOpened": "2024-11-20T07:08:31.58Z", + "EditorCaption": "" + }, + { + "$type": "Document", + "DocumentIndex": 13, + "Title": "IPresenceRepository.cs", + "DocumentMoniker": "C:\\Users\\class_student\\source\\repos\\presence\\data\\Repository\\IPresenceRepository.cs", + "RelativeDocumentMoniker": "data\\Repository\\IPresenceRepository.cs", + "ToolTip": "C:\\Users\\class_student\\source\\repos\\presence\\data\\Repository\\IPresenceRepository.cs", + "RelativeToolTip": "data\\Repository\\IPresenceRepository.cs", + "ViewState": "AQIAAAYAAAAAAAAAAAAAABUAAAAAAAAA", + "Icon": "ae27a6b0-e345-4288-96df-5eaf394ee369.000738|", + "WhenOpened": "2024-11-20T07:08:43.328Z", + "EditorCaption": "" + } + ] + } + ] + } + ] +} \ No newline at end of file diff --git a/console_ui/bin/Debug/net8.0/console_ui.dll b/console_ui/bin/Debug/net8.0/console_ui.dll index d4dd06d..440bba7 100644 Binary files a/console_ui/bin/Debug/net8.0/console_ui.dll and b/console_ui/bin/Debug/net8.0/console_ui.dll differ diff --git a/console_ui/bin/Debug/net8.0/console_ui.exe b/console_ui/bin/Debug/net8.0/console_ui.exe index 4d30bd8..0e54d71 100644 Binary files a/console_ui/bin/Debug/net8.0/console_ui.exe and b/console_ui/bin/Debug/net8.0/console_ui.exe differ diff --git a/console_ui/bin/Debug/net8.0/console_ui.pdb b/console_ui/bin/Debug/net8.0/console_ui.pdb index 8415ef2..9924b38 100644 Binary files a/console_ui/bin/Debug/net8.0/console_ui.pdb and b/console_ui/bin/Debug/net8.0/console_ui.pdb differ diff --git a/console_ui/bin/Debug/net8.0/data.dll b/console_ui/bin/Debug/net8.0/data.dll index 6d875ac..0e306c9 100644 Binary files a/console_ui/bin/Debug/net8.0/data.dll and b/console_ui/bin/Debug/net8.0/data.dll differ diff --git a/console_ui/bin/Debug/net8.0/data.pdb b/console_ui/bin/Debug/net8.0/data.pdb index d64ba62..8abf1d8 100644 Binary files a/console_ui/bin/Debug/net8.0/data.pdb and b/console_ui/bin/Debug/net8.0/data.pdb differ diff --git a/console_ui/bin/Debug/net8.0/domain.dll b/console_ui/bin/Debug/net8.0/domain.dll index 037b9e5..d2d6650 100644 Binary files a/console_ui/bin/Debug/net8.0/domain.dll and b/console_ui/bin/Debug/net8.0/domain.dll differ diff --git a/console_ui/bin/Debug/net8.0/domain.pdb b/console_ui/bin/Debug/net8.0/domain.pdb index 7796988..87529ef 100644 Binary files a/console_ui/bin/Debug/net8.0/domain.pdb and b/console_ui/bin/Debug/net8.0/domain.pdb differ diff --git a/console_ui/bin/Debug/net8.0/ui.dll b/console_ui/bin/Debug/net8.0/ui.dll index 682ceef..01a79cd 100644 Binary files a/console_ui/bin/Debug/net8.0/ui.dll and b/console_ui/bin/Debug/net8.0/ui.dll differ diff --git a/console_ui/bin/Debug/net8.0/ui.pdb b/console_ui/bin/Debug/net8.0/ui.pdb index 05ef417..d0ad9f1 100644 Binary files a/console_ui/bin/Debug/net8.0/ui.pdb and b/console_ui/bin/Debug/net8.0/ui.pdb differ diff --git a/console_ui/obj/Debug/net8.0/apphost.exe b/console_ui/obj/Debug/net8.0/apphost.exe index 4d30bd8..0e54d71 100644 Binary files a/console_ui/obj/Debug/net8.0/apphost.exe and b/console_ui/obj/Debug/net8.0/apphost.exe differ diff --git a/console_ui/obj/Debug/net8.0/console_ui.AssemblyInfo.cs b/console_ui/obj/Debug/net8.0/console_ui.AssemblyInfo.cs index 5a77795..0a0f287 100644 --- a/console_ui/obj/Debug/net8.0/console_ui.AssemblyInfo.cs +++ b/console_ui/obj/Debug/net8.0/console_ui.AssemblyInfo.cs @@ -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+839362e7d0b5dfb5bcc210987efb21e47bd4ac2f")] +[assembly: System.Reflection.AssemblyInformationalVersionAttribute("1.0.0+6384379808b7c29803411ab478a3e004c268439d")] [assembly: System.Reflection.AssemblyProductAttribute("console_ui")] [assembly: System.Reflection.AssemblyTitleAttribute("console_ui")] [assembly: System.Reflection.AssemblyVersionAttribute("1.0.0.0")] diff --git a/console_ui/obj/Debug/net8.0/console_ui.AssemblyInfoInputs.cache b/console_ui/obj/Debug/net8.0/console_ui.AssemblyInfoInputs.cache index 89c5935..9aa3fea 100644 --- a/console_ui/obj/Debug/net8.0/console_ui.AssemblyInfoInputs.cache +++ b/console_ui/obj/Debug/net8.0/console_ui.AssemblyInfoInputs.cache @@ -1 +1 @@ -6d93ad453d2e7d50d36c9ca04017ca5cd10b3e5ef1de27876bbc4533fa29b306 +aefc6c5dc3f450c17468f92682798ffb637b2d0e00bb63b044a948e0fbd9a591 diff --git a/console_ui/obj/Debug/net8.0/console_ui.GeneratedMSBuildEditorConfig.editorconfig b/console_ui/obj/Debug/net8.0/console_ui.GeneratedMSBuildEditorConfig.editorconfig index a92fae3..29a1ff8 100644 --- a/console_ui/obj/Debug/net8.0/console_ui.GeneratedMSBuildEditorConfig.editorconfig +++ b/console_ui/obj/Debug/net8.0/console_ui.GeneratedMSBuildEditorConfig.editorconfig @@ -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 = diff --git a/console_ui/obj/Debug/net8.0/console_ui.assets.cache b/console_ui/obj/Debug/net8.0/console_ui.assets.cache index fb2dd3f..4b96818 100644 Binary files a/console_ui/obj/Debug/net8.0/console_ui.assets.cache and b/console_ui/obj/Debug/net8.0/console_ui.assets.cache differ diff --git a/console_ui/obj/Debug/net8.0/console_ui.csproj.AssemblyReference.cache b/console_ui/obj/Debug/net8.0/console_ui.csproj.AssemblyReference.cache index 8d344dc..e845862 100644 Binary files a/console_ui/obj/Debug/net8.0/console_ui.csproj.AssemblyReference.cache and b/console_ui/obj/Debug/net8.0/console_ui.csproj.AssemblyReference.cache differ diff --git a/console_ui/obj/Debug/net8.0/console_ui.dll b/console_ui/obj/Debug/net8.0/console_ui.dll index d4dd06d..440bba7 100644 Binary files a/console_ui/obj/Debug/net8.0/console_ui.dll and b/console_ui/obj/Debug/net8.0/console_ui.dll differ diff --git a/console_ui/obj/Debug/net8.0/console_ui.pdb b/console_ui/obj/Debug/net8.0/console_ui.pdb index 8415ef2..9924b38 100644 Binary files a/console_ui/obj/Debug/net8.0/console_ui.pdb and b/console_ui/obj/Debug/net8.0/console_ui.pdb differ diff --git a/console_ui/obj/Debug/net8.0/ref/console_ui.dll b/console_ui/obj/Debug/net8.0/ref/console_ui.dll index 8f18e4e..c8d668a 100644 Binary files a/console_ui/obj/Debug/net8.0/ref/console_ui.dll and b/console_ui/obj/Debug/net8.0/ref/console_ui.dll differ diff --git a/console_ui/obj/Debug/net8.0/refint/console_ui.dll b/console_ui/obj/Debug/net8.0/refint/console_ui.dll index 8f18e4e..c8d668a 100644 Binary files a/console_ui/obj/Debug/net8.0/refint/console_ui.dll and b/console_ui/obj/Debug/net8.0/refint/console_ui.dll differ diff --git a/console_ui/obj/console_ui.csproj.nuget.dgspec.json b/console_ui/obj/console_ui.csproj.nuget.dgspec.json index 3fd4bbf..e4a9177 100644 --- a/console_ui/obj/console_ui.csproj.nuget.dgspec.json +++ b/console_ui/obj/console_ui.csproj.nuget.dgspec.json @@ -1,17 +1,17 @@ { "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\\", + "outputPath": "C:\\Users\\class_student\\source\\repos\\presence\\console_ui\\obj\\", "projectStyle": "PackageReference", "fallbackFolders": [ "C:\\Program Files (x86)\\Microsoft Visual Studio\\Shared\\NuGetPackages" @@ -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,14 +92,14 @@ } } }, - "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\\", + "outputPath": "C:\\Users\\class_student\\source\\repos\\presence\\data\\obj\\", "projectStyle": "PackageReference", "fallbackFolders": [ "C:\\Program Files (x86)\\Microsoft Visual Studio\\Shared\\NuGetPackages" @@ -172,14 +172,14 @@ } } }, - "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\\", + "outputPath": "C:\\Users\\class_student\\source\\repos\\presence\\domain\\obj\\", "projectStyle": "PackageReference", "fallbackFolders": [ "C:\\Program Files (x86)\\Microsoft Visual Studio\\Shared\\NuGetPackages" @@ -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" } } } diff --git a/console_ui/obj/project.assets.json b/console_ui/obj/project.assets.json index 2247ccf..56289e2 100644 --- a/console_ui/obj/project.assets.json +++ b/console_ui/obj/project.assets.json @@ -1062,11 +1062,11 @@ "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\\", + "outputPath": "C:\\Users\\class_student\\source\\repos\\presence\\console_ui\\obj\\", "projectStyle": "PackageReference", "fallbackFolders": [ "C:\\Program Files (x86)\\Microsoft Visual Studio\\Shared\\NuGetPackages" @@ -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" } } } diff --git a/console_ui/obj/project.nuget.cache b/console_ui/obj/project.nuget.cache index b31b3c6..500da23 100644 --- a/console_ui/obj/project.nuget.cache +++ b/console_ui/obj/project.nuget.cache @@ -1,8 +1,8 @@ { "version": 2, - "dgSpecHash": "yfJCYMI2ah3sfp2aK6Ke6ce9kWJKxkrL993rMZ5hRfO/n/HG67U+7imrDbnyVEbFgC9j14ziYrduCNKKBW5lDw==", + "dgSpecHash": "8SnqRBoHTrXC6zNRgD35iWqKQFrMMB1xnQ0tZsRXiQnDkKksHZdiEnJsZgKSiOtjn3nAN28hgxy0Jfv7jHYl4g==", "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", diff --git a/data/Repository/IGroupRepository.cs b/data/Repository/IGroupRepository.cs index 2a3d1de..1138b48 100644 --- a/data/Repository/IGroupRepository.cs +++ b/data/Repository/IGroupRepository.cs @@ -14,9 +14,13 @@ namespace data.Repository bool RemoveGroupById(int groupID); bool UpdateGroupById(int groupID, GroupLocalEntity updatedGroup); GroupLocalEntity GetGroupById(int groupID); - bool AddGroup(GroupLocalEntity newGroup); + int AddGroup(GroupDao newGroup); public List GetAllGroupWithStident(); + + + + } } \ No newline at end of file diff --git a/data/Repository/IPresenceRepository.cs b/data/Repository/IPresenceRepository.cs index 3ac9ca4..4db3a6f 100644 --- a/data/Repository/IPresenceRepository.cs +++ b/data/Repository/IPresenceRepository.cs @@ -17,5 +17,8 @@ namespace data.Repository void MarkUserAsAbsent(Guid userGuid, int firstLessonNumber, int lastLessonNumber); void AddPresence(PresenceLocalEntity presence); List GetAttendanceByGroup(int groupId); + + void ClearAllPresence(); + } } diff --git a/data/Repository/IUserRepository.cs b/data/Repository/IUserRepository.cs index 3b50a73..fa8aac5 100644 --- a/data/Repository/IUserRepository.cs +++ b/data/Repository/IUserRepository.cs @@ -17,6 +17,7 @@ namespace data.Repository public UserDao GetUserInfo(Guid userGuid); + bool AddUser(UserDao user); } } diff --git a/data/Repository/SQLGroupRepositoryImpl.cs b/data/Repository/SQLGroupRepositoryImpl.cs index 538737a..69ffd5a 100644 --- a/data/Repository/SQLGroupRepositoryImpl.cs +++ b/data/Repository/SQLGroupRepositoryImpl.cs @@ -31,19 +31,20 @@ public class SQLGroupRepositoryImpl : IGroupRepository .ToList(); } - - public bool AddGroup(GroupLocalEntity group) - { - if (_remoteDatabaseContext.Groups.Any(g => g.Id == group.Id)) - return false; - var groupDao = new GroupDao { Id = group.Id, Name = group.Name }; - _remoteDatabaseContext.Groups.Add(groupDao); + public int AddGroup(GroupDao group) + { + if (_remoteDatabaseContext.Groups.Any(g => g.Name == group.Name)) + return -1; // Например, если группа с таким именем уже существует, возвращаем -1 + + _remoteDatabaseContext.Groups.Add(group); _remoteDatabaseContext.SaveChanges(); - return true; + + return group.Id; // Возвращаем ID добавленной группы } - + + public bool UpdateGroupById(int groupID, GroupLocalEntity updatedGroup) { var existingGroup = _remoteDatabaseContext.Groups.FirstOrDefault(g => g.Id == groupID); @@ -75,4 +76,5 @@ public class SQLGroupRepositoryImpl : IGroupRepository .ToList(); } + } diff --git a/data/Repository/SQLPresenceRepositoryImpl.cs b/data/Repository/SQLPresenceRepositoryImpl.cs index 71a8b79..645b34a 100644 --- a/data/Repository/SQLPresenceRepositoryImpl.cs +++ b/data/Repository/SQLPresenceRepositoryImpl.cs @@ -212,6 +212,12 @@ namespace data.Repository .ToList(); } + public void ClearAllPresence() + { + var allPresenceRecords = _remoteDatabaseContext.PresenceDaos.ToList(); + _remoteDatabaseContext.PresenceDaos.RemoveRange(allPresenceRecords); + _remoteDatabaseContext.SaveChanges(); + } } } diff --git a/data/Repository/SQLUserRepositoryImpl.cs b/data/Repository/SQLUserRepositoryImpl.cs index 03dd8e2..d4b169e 100644 --- a/data/Repository/SQLUserRepositoryImpl.cs +++ b/data/Repository/SQLUserRepositoryImpl.cs @@ -74,5 +74,32 @@ namespace data.Repository .FirstOrDefault(u => u.Guid == userGuid); } + public bool AddUser(UserDao user) + { + try + { + + var userDao = new UserDao + { + Guid = user.Guid, + FIO = user.FIO, + GroupID = user.GroupID // Привязываем к группе + }; + + // Добавляем пользователя в контекст базы данных + _remoteDatabaseContext.Users.Add(userDao); + _remoteDatabaseContext.SaveChanges(); // Сохраняем изменения + + return true; + } + catch (System.Exception ex) + { + // Логирование ошибки (при необходимости) + Console.WriteLine($"Ошибка при добавлении пользователя: {ex.Message}"); + return false; + } + } + + } } diff --git a/data/bin/Debug/net8.0/data.dll b/data/bin/Debug/net8.0/data.dll index 23b3d0c..0e306c9 100644 Binary files a/data/bin/Debug/net8.0/data.dll and b/data/bin/Debug/net8.0/data.dll differ diff --git a/data/bin/Debug/net8.0/data.pdb b/data/bin/Debug/net8.0/data.pdb index fa9e2d8..8abf1d8 100644 Binary files a/data/bin/Debug/net8.0/data.pdb and b/data/bin/Debug/net8.0/data.pdb differ diff --git a/data/obj/Debug/net8.0/data.AssemblyInfo.cs b/data/obj/Debug/net8.0/data.AssemblyInfo.cs index e405095..caba333 100644 --- a/data/obj/Debug/net8.0/data.AssemblyInfo.cs +++ b/data/obj/Debug/net8.0/data.AssemblyInfo.cs @@ -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+839362e7d0b5dfb5bcc210987efb21e47bd4ac2f")] +[assembly: System.Reflection.AssemblyInformationalVersionAttribute("1.0.0+6384379808b7c29803411ab478a3e004c268439d")] [assembly: System.Reflection.AssemblyProductAttribute("data")] [assembly: System.Reflection.AssemblyTitleAttribute("data")] [assembly: System.Reflection.AssemblyVersionAttribute("1.0.0.0")] diff --git a/data/obj/Debug/net8.0/data.AssemblyInfoInputs.cache b/data/obj/Debug/net8.0/data.AssemblyInfoInputs.cache index 02af07d..5309789 100644 --- a/data/obj/Debug/net8.0/data.AssemblyInfoInputs.cache +++ b/data/obj/Debug/net8.0/data.AssemblyInfoInputs.cache @@ -1 +1 @@ -3477ca2dab72974277df7dd17d47bbf7d5922c6bd6f9dc0ad19320b22ad1bbc1 +d053d29ce72b207708a24cb5821f2b33f56a042e82b2b45f447e49962e8a3ad9 diff --git a/data/obj/Debug/net8.0/data.GeneratedMSBuildEditorConfig.editorconfig b/data/obj/Debug/net8.0/data.GeneratedMSBuildEditorConfig.editorconfig index c4120f6..7cde3f1 100644 --- a/data/obj/Debug/net8.0/data.GeneratedMSBuildEditorConfig.editorconfig +++ b/data/obj/Debug/net8.0/data.GeneratedMSBuildEditorConfig.editorconfig @@ -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 = diff --git a/data/obj/Debug/net8.0/data.assets.cache b/data/obj/Debug/net8.0/data.assets.cache index 3c28687..9d92053 100644 Binary files a/data/obj/Debug/net8.0/data.assets.cache and b/data/obj/Debug/net8.0/data.assets.cache differ diff --git a/data/obj/Debug/net8.0/data.dll b/data/obj/Debug/net8.0/data.dll index 23b3d0c..0e306c9 100644 Binary files a/data/obj/Debug/net8.0/data.dll and b/data/obj/Debug/net8.0/data.dll differ diff --git a/data/obj/Debug/net8.0/data.genruntimeconfig.cache b/data/obj/Debug/net8.0/data.genruntimeconfig.cache index b6c23e1..db67133 100644 --- a/data/obj/Debug/net8.0/data.genruntimeconfig.cache +++ b/data/obj/Debug/net8.0/data.genruntimeconfig.cache @@ -1 +1 @@ -ad0a4479b59a7ef873597a5be47af04d30bf61b8a15ec5b82893655c935f039d +b84345f992d3666be6b0e025aa74afc1a71aca079d190d689c0864402727cdd0 diff --git a/data/obj/Debug/net8.0/data.pdb b/data/obj/Debug/net8.0/data.pdb index fa9e2d8..8abf1d8 100644 Binary files a/data/obj/Debug/net8.0/data.pdb and b/data/obj/Debug/net8.0/data.pdb differ diff --git a/data/obj/Debug/net8.0/ref/data.dll b/data/obj/Debug/net8.0/ref/data.dll index fa3a5c7..3e68545 100644 Binary files a/data/obj/Debug/net8.0/ref/data.dll and b/data/obj/Debug/net8.0/ref/data.dll differ diff --git a/data/obj/Debug/net8.0/refint/data.dll b/data/obj/Debug/net8.0/refint/data.dll index fa3a5c7..3e68545 100644 Binary files a/data/obj/Debug/net8.0/refint/data.dll and b/data/obj/Debug/net8.0/refint/data.dll differ diff --git a/data/obj/data.csproj.nuget.dgspec.json b/data/obj/data.csproj.nuget.dgspec.json index d1937e5..2cf3b8c 100644 --- a/data/obj/data.csproj.nuget.dgspec.json +++ b/data/obj/data.csproj.nuget.dgspec.json @@ -1,17 +1,17 @@ { "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\\", + "outputPath": "C:\\Users\\class_student\\source\\repos\\presence\\data\\obj\\", "projectStyle": "PackageReference", "fallbackFolders": [ "C:\\Program Files (x86)\\Microsoft Visual Studio\\Shared\\NuGetPackages" diff --git a/data/obj/project.nuget.cache b/data/obj/project.nuget.cache index 3caceb6..ab1c6bf 100644 --- a/data/obj/project.nuget.cache +++ b/data/obj/project.nuget.cache @@ -1,8 +1,8 @@ { "version": 2, - "dgSpecHash": "dBPobGZbW4jKftpopDdOdvwpbzROWoiPzYBMGL/hXvUgdi/u/sEl0RkoQlrjuHoJDOWHTVpRo8RBVk4zjt8Z3g==", + "dgSpecHash": "dq+xJQNSo82BcvI1YOEsRM5SyN3J419X1oAn1yZywg6ptvxskzy0YvsVYIchdWZwskiwWAGbewHiRF0FFD64Gg==", "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", diff --git a/domain/Models/GroupWithUsersDto.cs b/domain/Models/GroupWithStudentsDto.cs similarity index 87% rename from domain/Models/GroupWithUsersDto.cs rename to domain/Models/GroupWithStudentsDto.cs index 67d82ca..2532fc8 100644 --- a/domain/Models/GroupWithUsersDto.cs +++ b/domain/Models/GroupWithStudentsDto.cs @@ -6,7 +6,7 @@ using System.Threading.Tasks; namespace domain.Models { - public class GroupWithUsersDto + public class GroupWithStudentsDto { public string GroupName { get; set; } public List Students { get; set; } diff --git a/domain/UseCase/GroupUseCase.cs b/domain/UseCase/GroupUseCase.cs index 48e6ab0..a325cfa 100644 --- a/domain/UseCase/GroupUseCase.cs +++ b/domain/UseCase/GroupUseCase.cs @@ -63,7 +63,7 @@ namespace domain.UseCase ? _repositoryGroupImpl.GetAllGroup().Max(g => g.Id) + 1 : 1; - GroupLocalEntity newGroup = new GroupLocalEntity + GroupDao newGroup = new GroupDao { Id = newId, Name = groupName diff --git a/domain/UseCase/UseCaseAPI.cs b/domain/UseCase/UseCaseAPI.cs new file mode 100644 index 0000000..7cb2e88 --- /dev/null +++ b/domain/UseCase/UseCaseAPI.cs @@ -0,0 +1,56 @@ +using data.RemoteData.RemoteDataBase.DAO; +using data.Repository; +using domain.Models; +using System; +using System.Collections.Generic; +using System.Linq; +using System.Text; +using System.Threading.Tasks; + +namespace domain.UseCase +{ + public class UseCaseAPI + { + public readonly IUserRepository _userRepository; + public readonly IPresenceRepository _presenceRepository; + private readonly IGroupRepository _groupRepository; + + public UseCaseAPI(IUserRepository userRepository, IPresenceRepository presenceRepository, IGroupRepository groupRepository) + { + _userRepository = userRepository; + _presenceRepository = presenceRepository; + _groupRepository = groupRepository; + } + + public void AddGroupWithStudents(GroupWithStudentsDto groupDto) + { + if (string.IsNullOrWhiteSpace(groupDto.GroupName)) + throw new ArgumentException("Название группы не может быть пустым."); + + // Создаем группу + var newGroup = new GroupDao + { + Name = groupDto.GroupName + }; + + // Сохраняем группу и получаем ее ID + int groupId = _groupRepository.AddGroup(newGroup); + + // Если есть пользователи, добавляем их + foreach (var studentFio in groupDto.Students) + { + var user = new UserDao + { + FIO = studentFio, + GroupID = groupId, + Guid = Guid.NewGuid() // Генерация нового GUID + }; + _userRepository.AddUser(user); + } + } + + + + } + +} diff --git a/domain/UseCase/UseCaseGeneratePresence.cs b/domain/UseCase/UseCaseGeneratePresence.cs index ec9991d..bb14499 100644 --- a/domain/UseCase/UseCaseGeneratePresence.cs +++ b/domain/UseCase/UseCaseGeneratePresence.cs @@ -181,6 +181,12 @@ namespace domain.UseCase } } + public void ClearAllPresence() + { + _presenceRepository.ClearAllPresence(); + } + + } } diff --git a/domain/UseCase/UserUseCase.cs b/domain/UseCase/UserUseCase.cs index 368eada..2523173 100644 --- a/domain/UseCase/UserUseCase.cs +++ b/domain/UseCase/UserUseCase.cs @@ -44,7 +44,7 @@ namespace domain.UseCase } } - + public User UpdateUser(User user) { UserLocalEnity userLocalEnity = new UserLocalEnity @@ -80,7 +80,7 @@ namespace domain.UseCase }; } - + public User FindUserByGuid(Guid userGuid) { var user = _repositoryUserImpl.GetAllUsers @@ -110,6 +110,9 @@ namespace domain.UseCase { return _repositoryUserImpl.GetUserInfo(userGuid); } + + + } - + } diff --git a/domain/bin/Debug/net8.0/data.dll b/domain/bin/Debug/net8.0/data.dll index 23b3d0c..0e306c9 100644 Binary files a/domain/bin/Debug/net8.0/data.dll and b/domain/bin/Debug/net8.0/data.dll differ diff --git a/domain/bin/Debug/net8.0/data.pdb b/domain/bin/Debug/net8.0/data.pdb index fa9e2d8..8abf1d8 100644 Binary files a/domain/bin/Debug/net8.0/data.pdb and b/domain/bin/Debug/net8.0/data.pdb differ diff --git a/domain/bin/Debug/net8.0/domain.dll b/domain/bin/Debug/net8.0/domain.dll index 5b05b34..d2d6650 100644 Binary files a/domain/bin/Debug/net8.0/domain.dll and b/domain/bin/Debug/net8.0/domain.dll differ diff --git a/domain/bin/Debug/net8.0/domain.pdb b/domain/bin/Debug/net8.0/domain.pdb index 9d0bfc6..87529ef 100644 Binary files a/domain/bin/Debug/net8.0/domain.pdb and b/domain/bin/Debug/net8.0/domain.pdb differ diff --git a/domain/obj/Debug/net8.0/domain.AssemblyInfo.cs b/domain/obj/Debug/net8.0/domain.AssemblyInfo.cs index 844d320..af2bd09 100644 --- a/domain/obj/Debug/net8.0/domain.AssemblyInfo.cs +++ b/domain/obj/Debug/net8.0/domain.AssemblyInfo.cs @@ -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+839362e7d0b5dfb5bcc210987efb21e47bd4ac2f")] +[assembly: System.Reflection.AssemblyInformationalVersionAttribute("1.0.0+6384379808b7c29803411ab478a3e004c268439d")] [assembly: System.Reflection.AssemblyProductAttribute("domain")] [assembly: System.Reflection.AssemblyTitleAttribute("domain")] [assembly: System.Reflection.AssemblyVersionAttribute("1.0.0.0")] diff --git a/domain/obj/Debug/net8.0/domain.AssemblyInfoInputs.cache b/domain/obj/Debug/net8.0/domain.AssemblyInfoInputs.cache index 681929b..9bbc8c4 100644 --- a/domain/obj/Debug/net8.0/domain.AssemblyInfoInputs.cache +++ b/domain/obj/Debug/net8.0/domain.AssemblyInfoInputs.cache @@ -1 +1 @@ -d600c8be21c77e7a8016045fd7b23df7c522f9ffb1c956a2ec504417ddef5e8d +053c7164e1acb1954785d4556d11bff5bd69f90727fcfd458ecff8e68f9fea72 diff --git a/domain/obj/Debug/net8.0/domain.GeneratedMSBuildEditorConfig.editorconfig b/domain/obj/Debug/net8.0/domain.GeneratedMSBuildEditorConfig.editorconfig index d9f9575..65a1010 100644 --- a/domain/obj/Debug/net8.0/domain.GeneratedMSBuildEditorConfig.editorconfig +++ b/domain/obj/Debug/net8.0/domain.GeneratedMSBuildEditorConfig.editorconfig @@ -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 = diff --git a/domain/obj/Debug/net8.0/domain.assets.cache b/domain/obj/Debug/net8.0/domain.assets.cache index 5cfed49..a98c6a8 100644 Binary files a/domain/obj/Debug/net8.0/domain.assets.cache and b/domain/obj/Debug/net8.0/domain.assets.cache differ diff --git a/domain/obj/Debug/net8.0/domain.csproj.AssemblyReference.cache b/domain/obj/Debug/net8.0/domain.csproj.AssemblyReference.cache index a623b5a..a0045f6 100644 Binary files a/domain/obj/Debug/net8.0/domain.csproj.AssemblyReference.cache and b/domain/obj/Debug/net8.0/domain.csproj.AssemblyReference.cache differ diff --git a/domain/obj/Debug/net8.0/domain.csproj.CoreCompileInputs.cache b/domain/obj/Debug/net8.0/domain.csproj.CoreCompileInputs.cache index 41311de..4512e03 100644 --- a/domain/obj/Debug/net8.0/domain.csproj.CoreCompileInputs.cache +++ b/domain/obj/Debug/net8.0/domain.csproj.CoreCompileInputs.cache @@ -1 +1 @@ -25ffdbef0fe18e9f0b7cdfa9979510573163885468d7e3c18828a7f8ac0111c7 +1607375bb5d07fa3a7815d46071156e85b848ca356e3d0ffd450f4cdb5a8879c diff --git a/domain/obj/Debug/net8.0/domain.dll b/domain/obj/Debug/net8.0/domain.dll index 5b05b34..d2d6650 100644 Binary files a/domain/obj/Debug/net8.0/domain.dll and b/domain/obj/Debug/net8.0/domain.dll differ diff --git a/domain/obj/Debug/net8.0/domain.pdb b/domain/obj/Debug/net8.0/domain.pdb index 9d0bfc6..87529ef 100644 Binary files a/domain/obj/Debug/net8.0/domain.pdb and b/domain/obj/Debug/net8.0/domain.pdb differ diff --git a/domain/obj/Debug/net8.0/ref/domain.dll b/domain/obj/Debug/net8.0/ref/domain.dll index 86da7b5..1f34efa 100644 Binary files a/domain/obj/Debug/net8.0/ref/domain.dll and b/domain/obj/Debug/net8.0/ref/domain.dll differ diff --git a/domain/obj/Debug/net8.0/refint/domain.dll b/domain/obj/Debug/net8.0/refint/domain.dll index 86da7b5..1f34efa 100644 Binary files a/domain/obj/Debug/net8.0/refint/domain.dll and b/domain/obj/Debug/net8.0/refint/domain.dll differ diff --git a/domain/obj/domain.csproj.nuget.dgspec.json b/domain/obj/domain.csproj.nuget.dgspec.json index 60bdba5..946f38d 100644 --- a/domain/obj/domain.csproj.nuget.dgspec.json +++ b/domain/obj/domain.csproj.nuget.dgspec.json @@ -1,17 +1,17 @@ { "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\\", + "outputPath": "C:\\Users\\class_student\\source\\repos\\presence\\data\\obj\\", "projectStyle": "PackageReference", "fallbackFolders": [ "C:\\Program Files (x86)\\Microsoft Visual Studio\\Shared\\NuGetPackages" @@ -84,14 +84,14 @@ } } }, - "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\\", + "outputPath": "C:\\Users\\class_student\\source\\repos\\presence\\domain\\obj\\", "projectStyle": "PackageReference", "fallbackFolders": [ "C:\\Program Files (x86)\\Microsoft Visual Studio\\Shared\\NuGetPackages" @@ -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" } } } diff --git a/domain/obj/project.assets.json b/domain/obj/project.assets.json index d31ed5f..782ca28 100644 --- a/domain/obj/project.assets.json +++ b/domain/obj/project.assets.json @@ -1025,11 +1025,11 @@ "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\\", + "outputPath": "C:\\Users\\class_student\\source\\repos\\presence\\domain\\obj\\", "projectStyle": "PackageReference", "fallbackFolders": [ "C:\\Program Files (x86)\\Microsoft Visual Studio\\Shared\\NuGetPackages" @@ -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" } } } diff --git a/domain/obj/project.nuget.cache b/domain/obj/project.nuget.cache index dab4b89..e76a5a5 100644 --- a/domain/obj/project.nuget.cache +++ b/domain/obj/project.nuget.cache @@ -1,8 +1,8 @@ { "version": 2, - "dgSpecHash": "huTb6uPnY4Oy6459ePz3VJW91KIPhP3IHAaAETusVV7WDseLI/x2QkHrEeLo/1s2QMdcVBzKbOVfAT7f8Vi3Cw==", + "dgSpecHash": "lJTJ14wBwjXFnaVaxoabnlDogMX3Sp0lQVlqyaedGyWhAz5YJhifXah8drXyM7t4sf35FH72dxhiyf+6Qi+IXA==", "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", diff --git a/presence_api/Controllers/AdminPanelController.cs b/presence_api/Controllers/AdminPanelController.cs index 3489106..061328c 100644 --- a/presence_api/Controllers/AdminPanelController.cs +++ b/presence_api/Controllers/AdminPanelController.cs @@ -13,12 +13,14 @@ public class AdminPanelController : ControllerBase private readonly GroupUseCase _groupUseCase; private readonly UserUseCase _userUseCase; private readonly UseCaseGeneratePresence _presenceUseCase; + private readonly UseCaseAPI _useCaseAPI; - public AdminPanelController(GroupUseCase groupUseCase, UserUseCase userUseCase, UseCaseGeneratePresence presenceUseCase) + public AdminPanelController(GroupUseCase groupUseCase, UserUseCase userUseCase, UseCaseGeneratePresence presenceUseCase, UseCaseAPI useCaseAPI) { _groupUseCase = groupUseCase; _userUseCase = userUseCase; _presenceUseCase = presenceUseCase; + _useCaseAPI = useCaseAPI; } [HttpGet("student/{userGuid}")] @@ -47,12 +49,12 @@ public class AdminPanelController : ControllerBase } [HttpGet("groups")] - public ActionResult> GetAllGroupsWithUsers() + public ActionResult> GetAllGroupsWithUsers() { try { // Получаем группы с пользователями - var groupsWithUsers = _groupUseCase.GetAllGroupWithStident().Select(group => new GroupWithUsersDto + var groupsWithUsers = _groupUseCase.GetAllGroupWithStident().Select(group => new GroupWithStudentsDto { GroupName = group.Name, // Название группы Students = group.Users.Select(u => u.FIO).ToList() // Список студентов @@ -67,4 +69,60 @@ public class AdminPanelController : ControllerBase } } + [HttpDelete("presence/clear")] + public ActionResult ClearPresence() + { + try + { + _presenceUseCase.ClearAllPresence(); + return Ok(new { message = "Все записи присутствия успешно удалены." }); + } + catch (Exception ex) + { + return BadRequest(new { message = ex.Message }); + } + } + + [HttpDelete("groups/{groupId}")] + public ActionResult RemoveGroupById(int groupId) + { + try + { + _groupUseCase.RemoveGroupById(groupId); + return Ok(new { message = "Группа успешно удалена." }); + } + catch (Exception ex) + { + return BadRequest(new { message = ex.Message }); + } + } + + [HttpDelete("users/{userGuid}")] + public ActionResult RemoveUserByGuid(Guid userGuid) + { + try + { + _userUseCase.RemoveUserByGuid(userGuid); + return Ok(new { message = "Пользователь удален." }); + } + catch (Exception ex) + { + return BadRequest (new { message = ex.Message }); + } + } + + [HttpPost("groups/add")] + public IActionResult AddGroupWithStudents([FromBody] GroupWithStudentsDto groupDto) + { + try + { + _useCaseAPI.AddGroupWithStudents(groupDto); + return Ok(new { message = "Группа успешно добавлена." }); + } + catch (Exception ex) + { + return BadRequest(new { message = ex.Message }); + } + } + } \ No newline at end of file diff --git a/presence_api/Program.cs b/presence_api/Program.cs index 65520f9..ba32a02 100644 --- a/presence_api/Program.cs +++ b/presence_api/Program.cs @@ -7,6 +7,7 @@ builder.Services.AddControllers(); builder.Services.AddDbContext(); // +builder.Services.ConfigurateAdminPanel(); builder.Services.ConfigurateRepositories(); // , diff --git a/presence_api/ServiceExtensions/ServiceExtensions.cs b/presence_api/ServiceExtensions/ServiceExtensions.cs index ed638bc..4750255 100644 --- a/presence_api/ServiceExtensions/ServiceExtensions.cs +++ b/presence_api/ServiceExtensions/ServiceExtensions.cs @@ -33,7 +33,8 @@ public static class ServiceExtensions .AddScoped() .AddScoped() .AddScoped() - .AddScoped(); + .AddScoped() + .AddScoped(); } public static void ConfigurateRepositories(this IServiceCollection services) diff --git a/presence_api/bin/Debug/net8.0/data.dll b/presence_api/bin/Debug/net8.0/data.dll index 23b3d0c..0e306c9 100644 Binary files a/presence_api/bin/Debug/net8.0/data.dll and b/presence_api/bin/Debug/net8.0/data.dll differ diff --git a/presence_api/bin/Debug/net8.0/data.pdb b/presence_api/bin/Debug/net8.0/data.pdb index fa9e2d8..8abf1d8 100644 Binary files a/presence_api/bin/Debug/net8.0/data.pdb and b/presence_api/bin/Debug/net8.0/data.pdb differ diff --git a/presence_api/bin/Debug/net8.0/domain.dll b/presence_api/bin/Debug/net8.0/domain.dll index 5b05b34..d2d6650 100644 Binary files a/presence_api/bin/Debug/net8.0/domain.dll and b/presence_api/bin/Debug/net8.0/domain.dll differ diff --git a/presence_api/bin/Debug/net8.0/domain.pdb b/presence_api/bin/Debug/net8.0/domain.pdb index 9d0bfc6..87529ef 100644 Binary files a/presence_api/bin/Debug/net8.0/domain.pdb and b/presence_api/bin/Debug/net8.0/domain.pdb differ diff --git a/presence_api/bin/Debug/net8.0/presence_api.dll b/presence_api/bin/Debug/net8.0/presence_api.dll index 4ae7781..931749e 100644 Binary files a/presence_api/bin/Debug/net8.0/presence_api.dll and b/presence_api/bin/Debug/net8.0/presence_api.dll differ diff --git a/presence_api/bin/Debug/net8.0/presence_api.exe b/presence_api/bin/Debug/net8.0/presence_api.exe index 1b1c105..35e5d76 100644 Binary files a/presence_api/bin/Debug/net8.0/presence_api.exe and b/presence_api/bin/Debug/net8.0/presence_api.exe differ diff --git a/presence_api/bin/Debug/net8.0/presence_api.pdb b/presence_api/bin/Debug/net8.0/presence_api.pdb index a7b3110..3b1fcff 100644 Binary files a/presence_api/bin/Debug/net8.0/presence_api.pdb and b/presence_api/bin/Debug/net8.0/presence_api.pdb differ diff --git a/presence_api/obj/Debug/net8.0/apphost.exe b/presence_api/obj/Debug/net8.0/apphost.exe index 1b1c105..35e5d76 100644 Binary files a/presence_api/obj/Debug/net8.0/apphost.exe and b/presence_api/obj/Debug/net8.0/apphost.exe differ diff --git a/presence_api/obj/Debug/net8.0/presence_api.AssemblyInfo.cs b/presence_api/obj/Debug/net8.0/presence_api.AssemblyInfo.cs index bf00c91..4595555 100644 --- a/presence_api/obj/Debug/net8.0/presence_api.AssemblyInfo.cs +++ b/presence_api/obj/Debug/net8.0/presence_api.AssemblyInfo.cs @@ -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+839362e7d0b5dfb5bcc210987efb21e47bd4ac2f")] +[assembly: System.Reflection.AssemblyInformationalVersionAttribute("1.0.0+6384379808b7c29803411ab478a3e004c268439d")] [assembly: System.Reflection.AssemblyProductAttribute("presence_api")] [assembly: System.Reflection.AssemblyTitleAttribute("presence_api")] [assembly: System.Reflection.AssemblyVersionAttribute("1.0.0.0")] diff --git a/presence_api/obj/Debug/net8.0/presence_api.AssemblyInfoInputs.cache b/presence_api/obj/Debug/net8.0/presence_api.AssemblyInfoInputs.cache index c45c992..e7c3007 100644 --- a/presence_api/obj/Debug/net8.0/presence_api.AssemblyInfoInputs.cache +++ b/presence_api/obj/Debug/net8.0/presence_api.AssemblyInfoInputs.cache @@ -1 +1 @@ -58dd6509641082616d79aa48f9065490a199f2bf5e7bbe8dca45bc53fd028443 +e11df849e630c0f8e1608bee74a76508a888dd79c318da22260fa666dc054d46 diff --git a/presence_api/obj/Debug/net8.0/presence_api.GeneratedMSBuildEditorConfig.editorconfig b/presence_api/obj/Debug/net8.0/presence_api.GeneratedMSBuildEditorConfig.editorconfig index 5d41b90..4133ff1 100644 --- a/presence_api/obj/Debug/net8.0/presence_api.GeneratedMSBuildEditorConfig.editorconfig +++ b/presence_api/obj/Debug/net8.0/presence_api.GeneratedMSBuildEditorConfig.editorconfig @@ -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 = diff --git a/presence_api/obj/Debug/net8.0/presence_api.assets.cache b/presence_api/obj/Debug/net8.0/presence_api.assets.cache index b6d2398..a9ff107 100644 Binary files a/presence_api/obj/Debug/net8.0/presence_api.assets.cache and b/presence_api/obj/Debug/net8.0/presence_api.assets.cache differ diff --git a/presence_api/obj/Debug/net8.0/presence_api.csproj.AssemblyReference.cache b/presence_api/obj/Debug/net8.0/presence_api.csproj.AssemblyReference.cache index a7c5417..210c2a2 100644 Binary files a/presence_api/obj/Debug/net8.0/presence_api.csproj.AssemblyReference.cache and b/presence_api/obj/Debug/net8.0/presence_api.csproj.AssemblyReference.cache differ diff --git a/presence_api/obj/Debug/net8.0/presence_api.dll b/presence_api/obj/Debug/net8.0/presence_api.dll index 4ae7781..931749e 100644 Binary files a/presence_api/obj/Debug/net8.0/presence_api.dll and b/presence_api/obj/Debug/net8.0/presence_api.dll differ diff --git a/presence_api/obj/Debug/net8.0/presence_api.genruntimeconfig.cache b/presence_api/obj/Debug/net8.0/presence_api.genruntimeconfig.cache index cf879f2..ba116b2 100644 --- a/presence_api/obj/Debug/net8.0/presence_api.genruntimeconfig.cache +++ b/presence_api/obj/Debug/net8.0/presence_api.genruntimeconfig.cache @@ -1 +1 @@ -6ecd3068866734fc03c93de85f2d75c0ad3492267871c9c6bbb55afbef02fa85 +3a2a601248dd535ef3741f4ebc6335411ed0f699580eaaa48a0fe3c4700ec5ee diff --git a/presence_api/obj/Debug/net8.0/presence_api.pdb b/presence_api/obj/Debug/net8.0/presence_api.pdb index a7b3110..3b1fcff 100644 Binary files a/presence_api/obj/Debug/net8.0/presence_api.pdb and b/presence_api/obj/Debug/net8.0/presence_api.pdb differ diff --git a/presence_api/obj/Debug/net8.0/ref/presence_api.dll b/presence_api/obj/Debug/net8.0/ref/presence_api.dll index c930158..2b56588 100644 Binary files a/presence_api/obj/Debug/net8.0/ref/presence_api.dll and b/presence_api/obj/Debug/net8.0/ref/presence_api.dll differ diff --git a/presence_api/obj/Debug/net8.0/refint/presence_api.dll b/presence_api/obj/Debug/net8.0/refint/presence_api.dll index c930158..2b56588 100644 Binary files a/presence_api/obj/Debug/net8.0/refint/presence_api.dll and b/presence_api/obj/Debug/net8.0/refint/presence_api.dll differ diff --git a/presence_api/obj/presence_api.csproj.nuget.dgspec.json b/presence_api/obj/presence_api.csproj.nuget.dgspec.json index e47597c..5cc3302 100644 --- a/presence_api/obj/presence_api.csproj.nuget.dgspec.json +++ b/presence_api/obj/presence_api.csproj.nuget.dgspec.json @@ -1,17 +1,17 @@ { "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\\", + "outputPath": "C:\\Users\\class_student\\source\\repos\\presence\\data\\obj\\", "projectStyle": "PackageReference", "fallbackFolders": [ "C:\\Program Files (x86)\\Microsoft Visual Studio\\Shared\\NuGetPackages" @@ -84,14 +84,14 @@ } } }, - "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\\", + "outputPath": "C:\\Users\\class_student\\source\\repos\\presence\\domain\\obj\\", "projectStyle": "PackageReference", "fallbackFolders": [ "C:\\Program Files (x86)\\Microsoft Visual Studio\\Shared\\NuGetPackages" @@ -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" } } } diff --git a/presence_api/obj/project.assets.json b/presence_api/obj/project.assets.json index e8e6621..87e88ad 100644 --- a/presence_api/obj/project.assets.json +++ b/presence_api/obj/project.assets.json @@ -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" } } } diff --git a/presence_api/obj/project.nuget.cache b/presence_api/obj/project.nuget.cache index 7eab131..4387149 100644 --- a/presence_api/obj/project.nuget.cache +++ b/presence_api/obj/project.nuget.cache @@ -1,8 +1,8 @@ { "version": 2, - "dgSpecHash": "Wpv0GgUqF9c3N+U/qXq9dDp6NW5DUXDhQiVLWU04sXnDJSo9hDp27+WDSWo9VMpqc8dm6ZwhSi9it6pDrxY7Cw==", + "dgSpecHash": "ikXvASXc/Rkexe7ERiMNgD/DommsZr1j88s5EJUieLBAudeu/FD9X4LPlK0fHIJzxjo0vjxrOMWzCnQeUxzzbA==", "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", diff --git a/ui/bin/Debug/net8.0/data.dll b/ui/bin/Debug/net8.0/data.dll index e3159ee..0e306c9 100644 Binary files a/ui/bin/Debug/net8.0/data.dll and b/ui/bin/Debug/net8.0/data.dll differ diff --git a/ui/bin/Debug/net8.0/data.pdb b/ui/bin/Debug/net8.0/data.pdb index e1dd19f..8abf1d8 100644 Binary files a/ui/bin/Debug/net8.0/data.pdb and b/ui/bin/Debug/net8.0/data.pdb differ diff --git a/ui/bin/Debug/net8.0/domain.dll b/ui/bin/Debug/net8.0/domain.dll index 266637c..d2d6650 100644 Binary files a/ui/bin/Debug/net8.0/domain.dll and b/ui/bin/Debug/net8.0/domain.dll differ diff --git a/ui/bin/Debug/net8.0/domain.pdb b/ui/bin/Debug/net8.0/domain.pdb index 1753ca1..87529ef 100644 Binary files a/ui/bin/Debug/net8.0/domain.pdb and b/ui/bin/Debug/net8.0/domain.pdb differ diff --git a/ui/bin/Debug/net8.0/ui.dll b/ui/bin/Debug/net8.0/ui.dll index 682ceef..01a79cd 100644 Binary files a/ui/bin/Debug/net8.0/ui.dll and b/ui/bin/Debug/net8.0/ui.dll differ diff --git a/ui/bin/Debug/net8.0/ui.pdb b/ui/bin/Debug/net8.0/ui.pdb index 05ef417..d0ad9f1 100644 Binary files a/ui/bin/Debug/net8.0/ui.pdb and b/ui/bin/Debug/net8.0/ui.pdb differ diff --git a/ui/obj/Debug/net8.0/ref/ui.dll b/ui/obj/Debug/net8.0/ref/ui.dll index 00022f2..cbb8f15 100644 Binary files a/ui/obj/Debug/net8.0/ref/ui.dll and b/ui/obj/Debug/net8.0/ref/ui.dll differ diff --git a/ui/obj/Debug/net8.0/refint/ui.dll b/ui/obj/Debug/net8.0/refint/ui.dll index 00022f2..cbb8f15 100644 Binary files a/ui/obj/Debug/net8.0/refint/ui.dll and b/ui/obj/Debug/net8.0/refint/ui.dll differ diff --git a/ui/obj/Debug/net8.0/ui.AssemblyInfo.cs b/ui/obj/Debug/net8.0/ui.AssemblyInfo.cs index 4017776..2bb723b 100644 --- a/ui/obj/Debug/net8.0/ui.AssemblyInfo.cs +++ b/ui/obj/Debug/net8.0/ui.AssemblyInfo.cs @@ -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+839362e7d0b5dfb5bcc210987efb21e47bd4ac2f")] +[assembly: System.Reflection.AssemblyInformationalVersionAttribute("1.0.0+6384379808b7c29803411ab478a3e004c268439d")] [assembly: System.Reflection.AssemblyProductAttribute("ui")] [assembly: System.Reflection.AssemblyTitleAttribute("ui")] [assembly: System.Reflection.AssemblyVersionAttribute("1.0.0.0")] diff --git a/ui/obj/Debug/net8.0/ui.AssemblyInfoInputs.cache b/ui/obj/Debug/net8.0/ui.AssemblyInfoInputs.cache index 4c9eb75..534ea79 100644 --- a/ui/obj/Debug/net8.0/ui.AssemblyInfoInputs.cache +++ b/ui/obj/Debug/net8.0/ui.AssemblyInfoInputs.cache @@ -1 +1 @@ -391e9260e62d6e70cb3fd6bb9205911949f0312befb654116889de2875e9e771 +95401ce1ca9334986472ca99a781530fc2393f328c7cb775e71bc2e237b56648 diff --git a/ui/obj/Debug/net8.0/ui.GeneratedMSBuildEditorConfig.editorconfig b/ui/obj/Debug/net8.0/ui.GeneratedMSBuildEditorConfig.editorconfig index 495c9ac..2224203 100644 --- a/ui/obj/Debug/net8.0/ui.GeneratedMSBuildEditorConfig.editorconfig +++ b/ui/obj/Debug/net8.0/ui.GeneratedMSBuildEditorConfig.editorconfig @@ -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 = diff --git a/ui/obj/Debug/net8.0/ui.assets.cache b/ui/obj/Debug/net8.0/ui.assets.cache index 91caa0d..8fab053 100644 Binary files a/ui/obj/Debug/net8.0/ui.assets.cache and b/ui/obj/Debug/net8.0/ui.assets.cache differ diff --git a/ui/obj/Debug/net8.0/ui.csproj.AssemblyReference.cache b/ui/obj/Debug/net8.0/ui.csproj.AssemblyReference.cache index ee4d1ff..ad9253e 100644 Binary files a/ui/obj/Debug/net8.0/ui.csproj.AssemblyReference.cache and b/ui/obj/Debug/net8.0/ui.csproj.AssemblyReference.cache differ diff --git a/ui/obj/Debug/net8.0/ui.dll b/ui/obj/Debug/net8.0/ui.dll index 682ceef..01a79cd 100644 Binary files a/ui/obj/Debug/net8.0/ui.dll and b/ui/obj/Debug/net8.0/ui.dll differ diff --git a/ui/obj/Debug/net8.0/ui.pdb b/ui/obj/Debug/net8.0/ui.pdb index 05ef417..d0ad9f1 100644 Binary files a/ui/obj/Debug/net8.0/ui.pdb and b/ui/obj/Debug/net8.0/ui.pdb differ diff --git a/ui/obj/project.assets.json b/ui/obj/project.assets.json index 2c044cb..4aecff8 100644 --- a/ui/obj/project.assets.json +++ b/ui/obj/project.assets.json @@ -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" } } } diff --git a/ui/obj/project.nuget.cache b/ui/obj/project.nuget.cache index c0e1490..9d6a3e9 100644 --- a/ui/obj/project.nuget.cache +++ b/ui/obj/project.nuget.cache @@ -1,8 +1,8 @@ { "version": 2, - "dgSpecHash": "UDtkAdRAUkdfKYnXSV9thbENks9XnkdqJxQzV8WJrz/dXRAhXe29BSoGinF9t/xt0yLNRfkZq+UZ5giwkN+pjQ==", + "dgSpecHash": "dNHY0PWkVJ9yqh4r350Pq7u6mnT7d9z4cJfYez8zScnFgIivUdw2P/yHSkjOeyGZ9zBEiinHHbXHbVE6f2TWUw==", "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", diff --git a/ui/obj/ui.csproj.nuget.dgspec.json b/ui/obj/ui.csproj.nuget.dgspec.json index ab47258..e69e4c2 100644 --- a/ui/obj/ui.csproj.nuget.dgspec.json +++ b/ui/obj/ui.csproj.nuget.dgspec.json @@ -1,17 +1,17 @@ { "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\\", + "outputPath": "C:\\Users\\class_student\\source\\repos\\presence\\data\\obj\\", "projectStyle": "PackageReference", "fallbackFolders": [ "C:\\Program Files (x86)\\Microsoft Visual Studio\\Shared\\NuGetPackages" @@ -84,14 +84,14 @@ } } }, - "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\\", + "outputPath": "C:\\Users\\class_student\\source\\repos\\presence\\domain\\obj\\", "projectStyle": "PackageReference", "fallbackFolders": [ "C:\\Program Files (x86)\\Microsoft Visual Studio\\Shared\\NuGetPackages" @@ -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" } } }