diff --git a/.vs/VSWorkspaceState.json b/.vs/VSWorkspaceState.json index 149d566..0d37e1c 100644 --- a/.vs/VSWorkspaceState.json +++ b/.vs/VSWorkspaceState.json @@ -10,6 +10,6 @@ "\\Zurnal\\Domain\\Model", "\\Zurnal\\Domain\\UseCase" ], - "SelectedNode": "\\Zurnal\\Date\\LocalDate\\Entity\\Group.cs", + "SelectedNode": "\\Zurnal\\Domain\\UseCase\\UseCasePresence.cs", "PreviewInSolutionExplorer": false } \ No newline at end of file diff --git a/.vs/Zurnal/FileContentIndex/1ebd43fe-c628-4192-936e-7383072b9fb0.vsidx b/.vs/Zurnal/FileContentIndex/1ebd43fe-c628-4192-936e-7383072b9fb0.vsidx new file mode 100644 index 0000000..829299a Binary files /dev/null and b/.vs/Zurnal/FileContentIndex/1ebd43fe-c628-4192-936e-7383072b9fb0.vsidx differ diff --git a/.vs/Zurnal/FileContentIndex/3b53d746-0a85-4b09-9cd3-4287f7ec2956.vsidx b/.vs/Zurnal/FileContentIndex/3b53d746-0a85-4b09-9cd3-4287f7ec2956.vsidx deleted file mode 100644 index edbba89..0000000 Binary files a/.vs/Zurnal/FileContentIndex/3b53d746-0a85-4b09-9cd3-4287f7ec2956.vsidx and /dev/null differ diff --git a/.vs/Zurnal/FileContentIndex/79b894cc-72ab-4393-abc0-e16be8995602.vsidx b/.vs/Zurnal/FileContentIndex/79b894cc-72ab-4393-abc0-e16be8995602.vsidx deleted file mode 100644 index 871720f..0000000 Binary files a/.vs/Zurnal/FileContentIndex/79b894cc-72ab-4393-abc0-e16be8995602.vsidx and /dev/null differ diff --git a/.vs/Zurnal/FileContentIndex/f8eef504-d41f-4c27-8aa7-d478d7aea221.vsidx b/.vs/Zurnal/FileContentIndex/f8eef504-d41f-4c27-8aa7-d478d7aea221.vsidx new file mode 100644 index 0000000..9b8f95e Binary files /dev/null and b/.vs/Zurnal/FileContentIndex/f8eef504-d41f-4c27-8aa7-d478d7aea221.vsidx differ diff --git a/.vs/Zurnal/v17/.wsuo b/.vs/Zurnal/v17/.wsuo index 8413710..d02fd53 100644 Binary files a/.vs/Zurnal/v17/.wsuo and b/.vs/Zurnal/v17/.wsuo differ diff --git a/.vs/Zurnal/v17/DocumentLayout.backup.json b/.vs/Zurnal/v17/DocumentLayout.backup.json index 59e10c3..ab5a1f1 100644 --- a/.vs/Zurnal/v17/DocumentLayout.backup.json +++ b/.vs/Zurnal/v17/DocumentLayout.backup.json @@ -2,6 +2,22 @@ "Version": 1, "WorkspaceRootPath": "C:\\Users\\profi\\source\\repos\\Zurnal\\", "Documents": [ + { + "AbsoluteMoniker": "D:0:0:{A2FE74E1-B743-11D0-AE1A-00A0C90FFFC3}|\u003CMiscFiles\u003E|C:\\Users\\profi\\source\\repos\\Zurnal\\Zurnal\\Domain\\UseCase\\UseCasePresence.cs||{A6C744A8-0E4A-4FC6-886A-064283054674}", + "RelativeMoniker": "D:0:0:{A2FE74E1-B743-11D0-AE1A-00A0C90FFFC3}|\u003CMiscFiles\u003E|solutionrelative:Zurnal\\Domain\\UseCase\\UseCasePresence.cs||{A6C744A8-0E4A-4FC6-886A-064283054674}" + }, + { + "AbsoluteMoniker": "D:0:0:{A2FE74E1-B743-11D0-AE1A-00A0C90FFFC3}|\u003CMiscFiles\u003E|C:\\Users\\profi\\source\\repos\\Zurnal\\Zurnal\\Domain\\UseCase\\GroupUseCase.cs||{A6C744A8-0E4A-4FC6-886A-064283054674}", + "RelativeMoniker": "D:0:0:{A2FE74E1-B743-11D0-AE1A-00A0C90FFFC3}|\u003CMiscFiles\u003E|solutionrelative:Zurnal\\Domain\\UseCase\\GroupUseCase.cs||{A6C744A8-0E4A-4FC6-886A-064283054674}" + }, + { + "AbsoluteMoniker": "D:0:0:{A2FE74E1-B743-11D0-AE1A-00A0C90FFFC3}|\u003CMiscFiles\u003E|C:\\Users\\profi\\source\\repos\\Zurnal\\Zurnal\\Date\\Repository\\IGroupRepository.cs||{A6C744A8-0E4A-4FC6-886A-064283054674}", + "RelativeMoniker": "D:0:0:{A2FE74E1-B743-11D0-AE1A-00A0C90FFFC3}|\u003CMiscFiles\u003E|solutionrelative:Zurnal\\Date\\Repository\\IGroupRepository.cs||{A6C744A8-0E4A-4FC6-886A-064283054674}" + }, + { + "AbsoluteMoniker": "D:0:0:{A2FE74E1-B743-11D0-AE1A-00A0C90FFFC3}|\u003CMiscFiles\u003E|C:\\Users\\profi\\source\\repos\\Zurnal\\Zurnal\\Date\\LocalDate\\Entity\\Group.cs||{A6C744A8-0E4A-4FC6-886A-064283054674}", + "RelativeMoniker": "D:0:0:{A2FE74E1-B743-11D0-AE1A-00A0C90FFFC3}|\u003CMiscFiles\u003E|solutionrelative:Zurnal\\Date\\LocalDate\\Entity\\Group.cs||{A6C744A8-0E4A-4FC6-886A-064283054674}" + }, { "AbsoluteMoniker": "D:0:0:{A2FE74E1-B743-11D0-AE1A-00A0C90FFFC3}|\u003CMiscFiles\u003E|C:\\Users\\profi\\source\\repos\\Zurnal\\Zurnal\\Program.cs||{A6C744A8-0E4A-4FC6-886A-064283054674}", "RelativeMoniker": "D:0:0:{A2FE74E1-B743-11D0-AE1A-00A0C90FFFC3}|\u003CMiscFiles\u003E|solutionrelative:Zurnal\\Program.cs||{A6C744A8-0E4A-4FC6-886A-064283054674}" @@ -22,18 +38,10 @@ "AbsoluteMoniker": "D:0:0:{A2FE74E1-B743-11D0-AE1A-00A0C90FFFC3}|\u003CMiscFiles\u003E|C:\\Users\\profi\\source\\repos\\Zurnal\\Zurnal\\Date\\Repository\\UserRepositoryImpl.cs||{A6C744A8-0E4A-4FC6-886A-064283054674}", "RelativeMoniker": "D:0:0:{A2FE74E1-B743-11D0-AE1A-00A0C90FFFC3}|\u003CMiscFiles\u003E|solutionrelative:Zurnal\\Date\\Repository\\UserRepositoryImpl.cs||{A6C744A8-0E4A-4FC6-886A-064283054674}" }, - { - "AbsoluteMoniker": "D:0:0:{A2FE74E1-B743-11D0-AE1A-00A0C90FFFC3}|\u003CMiscFiles\u003E|C:\\Users\\profi\\source\\repos\\Zurnal\\Zurnal\\Date\\Repository\\IGroupRepository.cs||{A6C744A8-0E4A-4FC6-886A-064283054674}", - "RelativeMoniker": "D:0:0:{A2FE74E1-B743-11D0-AE1A-00A0C90FFFC3}|\u003CMiscFiles\u003E|solutionrelative:Zurnal\\Date\\Repository\\IGroupRepository.cs||{A6C744A8-0E4A-4FC6-886A-064283054674}" - }, { "AbsoluteMoniker": "D:0:0:{A2FE74E1-B743-11D0-AE1A-00A0C90FFFC3}|\u003CMiscFiles\u003E|C:\\Users\\profi\\source\\repos\\Zurnal\\Zurnal\\Date\\Repository\\GroupRepositoryImpl.cs||{A6C744A8-0E4A-4FC6-886A-064283054674}", "RelativeMoniker": "D:0:0:{A2FE74E1-B743-11D0-AE1A-00A0C90FFFC3}|\u003CMiscFiles\u003E|solutionrelative:Zurnal\\Date\\Repository\\GroupRepositoryImpl.cs||{A6C744A8-0E4A-4FC6-886A-064283054674}" }, - { - "AbsoluteMoniker": "D:0:0:{A2FE74E1-B743-11D0-AE1A-00A0C90FFFC3}|\u003CMiscFiles\u003E|C:\\Users\\profi\\source\\repos\\Zurnal\\Zurnal\\Date\\LocalDate\\Entity\\Group.cs||{A6C744A8-0E4A-4FC6-886A-064283054674}", - "RelativeMoniker": "D:0:0:{A2FE74E1-B743-11D0-AE1A-00A0C90FFFC3}|\u003CMiscFiles\u003E|solutionrelative:Zurnal\\Date\\LocalDate\\Entity\\Group.cs||{A6C744A8-0E4A-4FC6-886A-064283054674}" - }, { "AbsoluteMoniker": "D:0:0:{A2FE74E1-B743-11D0-AE1A-00A0C90FFFC3}|\u003CMiscFiles\u003E|C:\\Users\\profi\\source\\repos\\Zurnal\\Zurnal\\Date\\LocalDate\\Entity\\Presence.cs||{A6C744A8-0E4A-4FC6-886A-064283054674}", "RelativeMoniker": "D:0:0:{A2FE74E1-B743-11D0-AE1A-00A0C90FFFC3}|\u003CMiscFiles\u003E|solutionrelative:Zurnal\\Date\\LocalDate\\Entity\\Presence.cs||{A6C744A8-0E4A-4FC6-886A-064283054674}" @@ -50,14 +58,6 @@ "AbsoluteMoniker": "D:0:0:{A2FE74E1-B743-11D0-AE1A-00A0C90FFFC3}|\u003CMiscFiles\u003E|C:\\Users\\profi\\source\\repos\\Zurnal\\Zurnal\\Domain\\UseCase\\UserUseCase.cs||{A6C744A8-0E4A-4FC6-886A-064283054674}", "RelativeMoniker": "D:0:0:{A2FE74E1-B743-11D0-AE1A-00A0C90FFFC3}|\u003CMiscFiles\u003E|solutionrelative:Zurnal\\Domain\\UseCase\\UserUseCase.cs||{A6C744A8-0E4A-4FC6-886A-064283054674}" }, - { - "AbsoluteMoniker": "D:0:0:{A2FE74E1-B743-11D0-AE1A-00A0C90FFFC3}|\u003CMiscFiles\u003E|C:\\Users\\profi\\source\\repos\\Zurnal\\Zurnal\\Domain\\UseCase\\UseCasePresence.cs||{A6C744A8-0E4A-4FC6-886A-064283054674}", - "RelativeMoniker": "D:0:0:{A2FE74E1-B743-11D0-AE1A-00A0C90FFFC3}|\u003CMiscFiles\u003E|solutionrelative:Zurnal\\Domain\\UseCase\\UseCasePresence.cs||{A6C744A8-0E4A-4FC6-886A-064283054674}" - }, - { - "AbsoluteMoniker": "D:0:0:{A2FE74E1-B743-11D0-AE1A-00A0C90FFFC3}|\u003CMiscFiles\u003E|C:\\Users\\profi\\source\\repos\\Zurnal\\Zurnal\\Domain\\UseCase\\GroupUseCase.cs||{A6C744A8-0E4A-4FC6-886A-064283054674}", - "RelativeMoniker": "D:0:0:{A2FE74E1-B743-11D0-AE1A-00A0C90FFFC3}|\u003CMiscFiles\u003E|solutionrelative:Zurnal\\Domain\\UseCase\\GroupUseCase.cs||{A6C744A8-0E4A-4FC6-886A-064283054674}" - }, { "AbsoluteMoniker": "D:0:0:{A2FE74E1-B743-11D0-AE1A-00A0C90FFFC3}|\u003CMiscFiles\u003E|C:\\Users\\profi\\source\\repos\\Zurnal\\Zurnal\\Presence\\UseCaseGeneratePresence.cs||{A6C744A8-0E4A-4FC6-886A-064283054674}", "RelativeMoniker": "D:0:0:{A2FE74E1-B743-11D0-AE1A-00A0C90FFFC3}|\u003CMiscFiles\u003E|solutionrelative:Zurnal\\Presence\\UseCaseGeneratePresence.cs||{A6C744A8-0E4A-4FC6-886A-064283054674}" @@ -78,7 +78,7 @@ "DocumentGroups": [ { "DockedWidth": 200, - "SelectedChildIndex": 12, + "SelectedChildIndex": 9, "Children": [ { "$type": "Bookmark", @@ -90,7 +90,7 @@ }, { "$type": "Document", - "DocumentIndex": 1, + "DocumentIndex": 5, "Title": "User.cs", "DocumentMoniker": "C:\\Users\\profi\\source\\repos\\Zurnal\\Zurnal\\Domain\\Model\\User.cs", "RelativeDocumentMoniker": "Zurnal\\Domain\\Model\\User.cs", @@ -98,12 +98,11 @@ "RelativeToolTip": "Zurnal\\Domain\\Model\\User.cs", "ViewState": "AgIAAAAAAAAAAAAAAAAAAAYAAAAQAAAAAAAAAA==", "Icon": "ae27a6b0-e345-4288-96df-5eaf394ee369.000738|", - "WhenOpened": "2024-10-23T08:03:41.982Z", - "EditorCaption": "" + "WhenOpened": "2024-10-23T08:03:41.982Z" }, { "$type": "Document", - "DocumentIndex": 2, + "DocumentIndex": 6, "Title": "Presence.cs", "DocumentMoniker": "C:\\Users\\profi\\source\\repos\\Zurnal\\Zurnal\\Domain\\Model\\Presence.cs", "RelativeDocumentMoniker": "Zurnal\\Domain\\Model\\Presence.cs", @@ -111,12 +110,11 @@ "RelativeToolTip": "Zurnal\\Domain\\Model\\Presence.cs", "ViewState": "AgIAAAAAAAAAAAAAAAAAAAYAAAAQAAAAAAAAAA==", "Icon": "ae27a6b0-e345-4288-96df-5eaf394ee369.000738|", - "WhenOpened": "2024-10-23T08:03:38.518Z", - "EditorCaption": "" + "WhenOpened": "2024-10-23T08:03:38.518Z" }, { "$type": "Document", - "DocumentIndex": 3, + "DocumentIndex": 7, "Title": "Group.cs", "DocumentMoniker": "C:\\Users\\profi\\source\\repos\\Zurnal\\Zurnal\\Domain\\Model\\Group.cs", "RelativeDocumentMoniker": "Zurnal\\Domain\\Model\\Group.cs", @@ -124,12 +122,11 @@ "RelativeToolTip": "Zurnal\\Domain\\Model\\Group.cs", "ViewState": "AgIAAAAAAAAAAAAAAAAAAAYAAAAQAAAAAAAAAA==", "Icon": "ae27a6b0-e345-4288-96df-5eaf394ee369.000738|", - "WhenOpened": "2024-10-23T08:03:32.095Z", - "EditorCaption": "" + "WhenOpened": "2024-10-23T08:03:32.095Z" }, { "$type": "Document", - "DocumentIndex": 5, + "DocumentIndex": 2, "Title": "IGroupRepository.cs", "DocumentMoniker": "C:\\Users\\profi\\source\\repos\\Zurnal\\Zurnal\\Date\\Repository\\IGroupRepository.cs", "RelativeDocumentMoniker": "Zurnal\\Date\\Repository\\IGroupRepository.cs", @@ -142,20 +139,20 @@ }, { "$type": "Document", - "DocumentIndex": 7, + "DocumentIndex": 3, "Title": "Group.cs", "DocumentMoniker": "C:\\Users\\profi\\source\\repos\\Zurnal\\Zurnal\\Date\\LocalDate\\Entity\\Group.cs", "RelativeDocumentMoniker": "Zurnal\\Date\\LocalDate\\Entity\\Group.cs", "ToolTip": "C:\\Users\\profi\\source\\repos\\Zurnal\\Zurnal\\Date\\LocalDate\\Entity\\Group.cs", "RelativeToolTip": "Zurnal\\Date\\LocalDate\\Entity\\Group.cs", - "ViewState": "AgIAAAAAAAAAAAAAAAAAAAYAAAAQAAAAAAAAAA==", + "ViewState": "AgIAAAAAAAAAAAAAAAAAAA8AAAAAAAAAAAAAAA==", "Icon": "ae27a6b0-e345-4288-96df-5eaf394ee369.000738|", "WhenOpened": "2024-10-23T08:02:44.902Z", "EditorCaption": "" }, { "$type": "Document", - "DocumentIndex": 8, + "DocumentIndex": 10, "Title": "Presence.cs", "DocumentMoniker": "C:\\Users\\profi\\source\\repos\\Zurnal\\Zurnal\\Date\\LocalDate\\Entity\\Presence.cs", "RelativeDocumentMoniker": "Zurnal\\Date\\LocalDate\\Entity\\Presence.cs", @@ -163,38 +160,37 @@ "RelativeToolTip": "Zurnal\\Date\\LocalDate\\Entity\\Presence.cs", "ViewState": "AgIAAAAAAAAAAAAAAAAAAAYAAAAQAAAAAAAAAA==", "Icon": "ae27a6b0-e345-4288-96df-5eaf394ee369.000738|", - "WhenOpened": "2024-10-23T08:02:40.214Z", - "EditorCaption": "" + "WhenOpened": "2024-10-23T08:02:40.214Z" }, { "$type": "Document", - "DocumentIndex": 13, + "DocumentIndex": 1, "Title": "GroupUseCase.cs", "DocumentMoniker": "C:\\Users\\profi\\source\\repos\\Zurnal\\Zurnal\\Domain\\UseCase\\GroupUseCase.cs", "RelativeDocumentMoniker": "Zurnal\\Domain\\UseCase\\GroupUseCase.cs", "ToolTip": "C:\\Users\\profi\\source\\repos\\Zurnal\\Zurnal\\Domain\\UseCase\\GroupUseCase.cs", "RelativeToolTip": "Zurnal\\Domain\\UseCase\\GroupUseCase.cs", - "ViewState": "AgIAAAAAAAAAAAAAAAAAAAEAAAAaAAAAAAAAAA==", + "ViewState": "AgIAAAAAAAAAAAAAAAAAAAgAAAAKAAAAAAAAAA==", "Icon": "ae27a6b0-e345-4288-96df-5eaf394ee369.000738|", "WhenOpened": "2024-10-23T08:01:08.054Z", "EditorCaption": "" }, { "$type": "Document", - "DocumentIndex": 12, + "DocumentIndex": 0, "Title": "UseCasePresence.cs", "DocumentMoniker": "C:\\Users\\profi\\source\\repos\\Zurnal\\Zurnal\\Domain\\UseCase\\UseCasePresence.cs", "RelativeDocumentMoniker": "Zurnal\\Domain\\UseCase\\UseCasePresence.cs", "ToolTip": "C:\\Users\\profi\\source\\repos\\Zurnal\\Zurnal\\Domain\\UseCase\\UseCasePresence.cs", "RelativeToolTip": "Zurnal\\Domain\\UseCase\\UseCasePresence.cs", - "ViewState": "AgIAAAAAAAAAAAAAAAAAAAUAAAAZAAAAAAAAAA==", + "ViewState": "AgIAAAAAAAAAAAAAAAAAAAYAAAAfAAAAAAAAAA==", "Icon": "ae27a6b0-e345-4288-96df-5eaf394ee369.000738|", "WhenOpened": "2024-10-21T11:51:23.091Z", "EditorCaption": "" }, { "$type": "Document", - "DocumentIndex": 9, + "DocumentIndex": 11, "Title": "User.cs", "DocumentMoniker": "C:\\Users\\profi\\source\\repos\\Zurnal\\Zurnal\\Date\\LocalDate\\Entity\\User.cs", "RelativeDocumentMoniker": "Zurnal\\Date\\LocalDate\\Entity\\User.cs", @@ -202,8 +198,7 @@ "RelativeToolTip": "Zurnal\\Date\\LocalDate\\Entity\\User.cs", "ViewState": "AgIAAAAAAAAAAAAAAAAAAAYAAAAQAAAAAAAAAA==", "Icon": "ae27a6b0-e345-4288-96df-5eaf394ee369.000738|", - "WhenOpened": "2024-10-21T11:10:50.678Z", - "EditorCaption": "" + "WhenOpened": "2024-10-21T11:10:50.678Z" }, { "$type": "Document", @@ -215,12 +210,11 @@ "RelativeToolTip": "Zurnal\\Presence\\UseCaseGeneratePresence.cs", "ViewState": "AgIAAAAAAAAAAAAAAAAAAAYAAAAZAAAAAAAAAA==", "Icon": "ae27a6b0-e345-4288-96df-5eaf394ee369.000738|", - "WhenOpened": "2024-10-21T10:49:23.262Z", - "EditorCaption": "" + "WhenOpened": "2024-10-21T10:49:23.262Z" }, { "$type": "Document", - "DocumentIndex": 0, + "DocumentIndex": 4, "Title": "Program.cs", "DocumentMoniker": "C:\\Users\\profi\\source\\repos\\Zurnal\\Zurnal\\Program.cs", "RelativeDocumentMoniker": "Zurnal\\Program.cs", @@ -228,12 +222,11 @@ "RelativeToolTip": "Zurnal\\Program.cs", "ViewState": "AgIAAAAAAAAAAAAAAAAAAAgAAAA0AAAAAAAAAA==", "Icon": "ae27a6b0-e345-4288-96df-5eaf394ee369.000738|", - "WhenOpened": "2024-10-21T10:37:14.956Z", - "EditorCaption": "" + "WhenOpened": "2024-10-21T10:37:14.956Z" }, { "$type": "Document", - "DocumentIndex": 6, + "DocumentIndex": 9, "Title": "GroupRepositoryImpl.cs", "DocumentMoniker": "C:\\Users\\profi\\source\\repos\\Zurnal\\Zurnal\\Date\\Repository\\GroupRepositoryImpl.cs", "RelativeDocumentMoniker": "Zurnal\\Date\\Repository\\GroupRepositoryImpl.cs", @@ -241,12 +234,11 @@ "RelativeToolTip": "Zurnal\\Date\\Repository\\GroupRepositoryImpl.cs", "ViewState": "AgIAAAAAAAAAAAAAAAAAAAUAAAAQAAAAAAAAAA==", "Icon": "ae27a6b0-e345-4288-96df-5eaf394ee369.000738|", - "WhenOpened": "2024-10-21T10:36:36.451Z", - "EditorCaption": "" + "WhenOpened": "2024-10-21T10:36:36.451Z" }, { "$type": "Document", - "DocumentIndex": 4, + "DocumentIndex": 8, "Title": "UserRepositoryImpl.cs", "DocumentMoniker": "C:\\Users\\profi\\source\\repos\\Zurnal\\Zurnal\\Date\\Repository\\UserRepositoryImpl.cs", "RelativeDocumentMoniker": "Zurnal\\Date\\Repository\\UserRepositoryImpl.cs", @@ -254,8 +246,7 @@ "RelativeToolTip": "Zurnal\\Date\\Repository\\UserRepositoryImpl.cs", "ViewState": "AgIAAAAAAAAAAAAAAAAAAAQAAAAQAAAAAAAAAA==", "Icon": "ae27a6b0-e345-4288-96df-5eaf394ee369.000738|", - "WhenOpened": "2024-10-21T10:32:45.245Z", - "EditorCaption": "" + "WhenOpened": "2024-10-21T10:32:45.245Z" }, { "$type": "Document", @@ -271,7 +262,7 @@ }, { "$type": "Document", - "DocumentIndex": 11, + "DocumentIndex": 13, "Title": "UserUseCase.cs", "DocumentMoniker": "C:\\Users\\profi\\source\\repos\\Zurnal\\Zurnal\\Domain\\UseCase\\UserUseCase.cs", "RelativeDocumentMoniker": "Zurnal\\Domain\\UseCase\\UserUseCase.cs", @@ -279,12 +270,11 @@ "RelativeToolTip": "Zurnal\\Domain\\UseCase\\UserUseCase.cs", "ViewState": "AgIAAAAAAAAAAAAAAAAAAAAAAAAMAAAAAAAAAA==", "Icon": "ae27a6b0-e345-4288-96df-5eaf394ee369.000738|", - "WhenOpened": "2024-10-21T10:34:06.789Z", - "EditorCaption": "" + "WhenOpened": "2024-10-21T10:34:06.789Z" }, { "$type": "Document", - "DocumentIndex": 10, + "DocumentIndex": 12, "Title": "LocalStaticData.cs", "DocumentMoniker": "C:\\Users\\profi\\source\\repos\\Zurnal\\Zurnal\\Date\\LocalDate\\LocalStaticData.cs", "RelativeDocumentMoniker": "Zurnal\\Date\\LocalDate\\LocalStaticData.cs", @@ -292,8 +282,7 @@ "RelativeToolTip": "Zurnal\\Date\\LocalDate\\LocalStaticData.cs", "ViewState": "AgIAAAAAAAAAAAAAAAAAAAAAAAAMAAAAAAAAAA==", "Icon": "ae27a6b0-e345-4288-96df-5eaf394ee369.000738|", - "WhenOpened": "2024-10-21T10:31:32.261Z", - "EditorCaption": "" + "WhenOpened": "2024-10-21T10:31:32.261Z" }, { "$type": "Document", diff --git a/.vs/Zurnal/v17/DocumentLayout.json b/.vs/Zurnal/v17/DocumentLayout.json index adab4f2..ab5a1f1 100644 --- a/.vs/Zurnal/v17/DocumentLayout.json +++ b/.vs/Zurnal/v17/DocumentLayout.json @@ -2,6 +2,18 @@ "Version": 1, "WorkspaceRootPath": "C:\\Users\\profi\\source\\repos\\Zurnal\\", "Documents": [ + { + "AbsoluteMoniker": "D:0:0:{A2FE74E1-B743-11D0-AE1A-00A0C90FFFC3}|\u003CMiscFiles\u003E|C:\\Users\\profi\\source\\repos\\Zurnal\\Zurnal\\Domain\\UseCase\\UseCasePresence.cs||{A6C744A8-0E4A-4FC6-886A-064283054674}", + "RelativeMoniker": "D:0:0:{A2FE74E1-B743-11D0-AE1A-00A0C90FFFC3}|\u003CMiscFiles\u003E|solutionrelative:Zurnal\\Domain\\UseCase\\UseCasePresence.cs||{A6C744A8-0E4A-4FC6-886A-064283054674}" + }, + { + "AbsoluteMoniker": "D:0:0:{A2FE74E1-B743-11D0-AE1A-00A0C90FFFC3}|\u003CMiscFiles\u003E|C:\\Users\\profi\\source\\repos\\Zurnal\\Zurnal\\Domain\\UseCase\\GroupUseCase.cs||{A6C744A8-0E4A-4FC6-886A-064283054674}", + "RelativeMoniker": "D:0:0:{A2FE74E1-B743-11D0-AE1A-00A0C90FFFC3}|\u003CMiscFiles\u003E|solutionrelative:Zurnal\\Domain\\UseCase\\GroupUseCase.cs||{A6C744A8-0E4A-4FC6-886A-064283054674}" + }, + { + "AbsoluteMoniker": "D:0:0:{A2FE74E1-B743-11D0-AE1A-00A0C90FFFC3}|\u003CMiscFiles\u003E|C:\\Users\\profi\\source\\repos\\Zurnal\\Zurnal\\Date\\Repository\\IGroupRepository.cs||{A6C744A8-0E4A-4FC6-886A-064283054674}", + "RelativeMoniker": "D:0:0:{A2FE74E1-B743-11D0-AE1A-00A0C90FFFC3}|\u003CMiscFiles\u003E|solutionrelative:Zurnal\\Date\\Repository\\IGroupRepository.cs||{A6C744A8-0E4A-4FC6-886A-064283054674}" + }, { "AbsoluteMoniker": "D:0:0:{A2FE74E1-B743-11D0-AE1A-00A0C90FFFC3}|\u003CMiscFiles\u003E|C:\\Users\\profi\\source\\repos\\Zurnal\\Zurnal\\Date\\LocalDate\\Entity\\Group.cs||{A6C744A8-0E4A-4FC6-886A-064283054674}", "RelativeMoniker": "D:0:0:{A2FE74E1-B743-11D0-AE1A-00A0C90FFFC3}|\u003CMiscFiles\u003E|solutionrelative:Zurnal\\Date\\LocalDate\\Entity\\Group.cs||{A6C744A8-0E4A-4FC6-886A-064283054674}" @@ -26,10 +38,6 @@ "AbsoluteMoniker": "D:0:0:{A2FE74E1-B743-11D0-AE1A-00A0C90FFFC3}|\u003CMiscFiles\u003E|C:\\Users\\profi\\source\\repos\\Zurnal\\Zurnal\\Date\\Repository\\UserRepositoryImpl.cs||{A6C744A8-0E4A-4FC6-886A-064283054674}", "RelativeMoniker": "D:0:0:{A2FE74E1-B743-11D0-AE1A-00A0C90FFFC3}|\u003CMiscFiles\u003E|solutionrelative:Zurnal\\Date\\Repository\\UserRepositoryImpl.cs||{A6C744A8-0E4A-4FC6-886A-064283054674}" }, - { - "AbsoluteMoniker": "D:0:0:{A2FE74E1-B743-11D0-AE1A-00A0C90FFFC3}|\u003CMiscFiles\u003E|C:\\Users\\profi\\source\\repos\\Zurnal\\Zurnal\\Date\\Repository\\IGroupRepository.cs||{A6C744A8-0E4A-4FC6-886A-064283054674}", - "RelativeMoniker": "D:0:0:{A2FE74E1-B743-11D0-AE1A-00A0C90FFFC3}|\u003CMiscFiles\u003E|solutionrelative:Zurnal\\Date\\Repository\\IGroupRepository.cs||{A6C744A8-0E4A-4FC6-886A-064283054674}" - }, { "AbsoluteMoniker": "D:0:0:{A2FE74E1-B743-11D0-AE1A-00A0C90FFFC3}|\u003CMiscFiles\u003E|C:\\Users\\profi\\source\\repos\\Zurnal\\Zurnal\\Date\\Repository\\GroupRepositoryImpl.cs||{A6C744A8-0E4A-4FC6-886A-064283054674}", "RelativeMoniker": "D:0:0:{A2FE74E1-B743-11D0-AE1A-00A0C90FFFC3}|\u003CMiscFiles\u003E|solutionrelative:Zurnal\\Date\\Repository\\GroupRepositoryImpl.cs||{A6C744A8-0E4A-4FC6-886A-064283054674}" @@ -50,14 +58,6 @@ "AbsoluteMoniker": "D:0:0:{A2FE74E1-B743-11D0-AE1A-00A0C90FFFC3}|\u003CMiscFiles\u003E|C:\\Users\\profi\\source\\repos\\Zurnal\\Zurnal\\Domain\\UseCase\\UserUseCase.cs||{A6C744A8-0E4A-4FC6-886A-064283054674}", "RelativeMoniker": "D:0:0:{A2FE74E1-B743-11D0-AE1A-00A0C90FFFC3}|\u003CMiscFiles\u003E|solutionrelative:Zurnal\\Domain\\UseCase\\UserUseCase.cs||{A6C744A8-0E4A-4FC6-886A-064283054674}" }, - { - "AbsoluteMoniker": "D:0:0:{A2FE74E1-B743-11D0-AE1A-00A0C90FFFC3}|\u003CMiscFiles\u003E|C:\\Users\\profi\\source\\repos\\Zurnal\\Zurnal\\Domain\\UseCase\\UseCasePresence.cs||{A6C744A8-0E4A-4FC6-886A-064283054674}", - "RelativeMoniker": "D:0:0:{A2FE74E1-B743-11D0-AE1A-00A0C90FFFC3}|\u003CMiscFiles\u003E|solutionrelative:Zurnal\\Domain\\UseCase\\UseCasePresence.cs||{A6C744A8-0E4A-4FC6-886A-064283054674}" - }, - { - "AbsoluteMoniker": "D:0:0:{A2FE74E1-B743-11D0-AE1A-00A0C90FFFC3}|\u003CMiscFiles\u003E|C:\\Users\\profi\\source\\repos\\Zurnal\\Zurnal\\Domain\\UseCase\\GroupUseCase.cs||{A6C744A8-0E4A-4FC6-886A-064283054674}", - "RelativeMoniker": "D:0:0:{A2FE74E1-B743-11D0-AE1A-00A0C90FFFC3}|\u003CMiscFiles\u003E|solutionrelative:Zurnal\\Domain\\UseCase\\GroupUseCase.cs||{A6C744A8-0E4A-4FC6-886A-064283054674}" - }, { "AbsoluteMoniker": "D:0:0:{A2FE74E1-B743-11D0-AE1A-00A0C90FFFC3}|\u003CMiscFiles\u003E|C:\\Users\\profi\\source\\repos\\Zurnal\\Zurnal\\Presence\\UseCaseGeneratePresence.cs||{A6C744A8-0E4A-4FC6-886A-064283054674}", "RelativeMoniker": "D:0:0:{A2FE74E1-B743-11D0-AE1A-00A0C90FFFC3}|\u003CMiscFiles\u003E|solutionrelative:Zurnal\\Presence\\UseCaseGeneratePresence.cs||{A6C744A8-0E4A-4FC6-886A-064283054674}" @@ -78,7 +78,7 @@ "DocumentGroups": [ { "DockedWidth": 200, - "SelectedChildIndex": 6, + "SelectedChildIndex": 9, "Children": [ { "$type": "Bookmark", @@ -90,7 +90,7 @@ }, { "$type": "Document", - "DocumentIndex": 2, + "DocumentIndex": 5, "Title": "User.cs", "DocumentMoniker": "C:\\Users\\profi\\source\\repos\\Zurnal\\Zurnal\\Domain\\Model\\User.cs", "RelativeDocumentMoniker": "Zurnal\\Domain\\Model\\User.cs", @@ -102,7 +102,7 @@ }, { "$type": "Document", - "DocumentIndex": 3, + "DocumentIndex": 6, "Title": "Presence.cs", "DocumentMoniker": "C:\\Users\\profi\\source\\repos\\Zurnal\\Zurnal\\Domain\\Model\\Presence.cs", "RelativeDocumentMoniker": "Zurnal\\Domain\\Model\\Presence.cs", @@ -114,7 +114,7 @@ }, { "$type": "Document", - "DocumentIndex": 4, + "DocumentIndex": 7, "Title": "Group.cs", "DocumentMoniker": "C:\\Users\\profi\\source\\repos\\Zurnal\\Zurnal\\Domain\\Model\\Group.cs", "RelativeDocumentMoniker": "Zurnal\\Domain\\Model\\Group.cs", @@ -126,7 +126,7 @@ }, { "$type": "Document", - "DocumentIndex": 6, + "DocumentIndex": 2, "Title": "IGroupRepository.cs", "DocumentMoniker": "C:\\Users\\profi\\source\\repos\\Zurnal\\Zurnal\\Date\\Repository\\IGroupRepository.cs", "RelativeDocumentMoniker": "Zurnal\\Date\\Repository\\IGroupRepository.cs", @@ -134,24 +134,25 @@ "RelativeToolTip": "Zurnal\\Date\\Repository\\IGroupRepository.cs", "ViewState": "AgIAAAAAAAAAAAAAAAAAAAAAAAAMAAAAAAAAAA==", "Icon": "ae27a6b0-e345-4288-96df-5eaf394ee369.000738|", - "WhenOpened": "2024-10-23T08:03:02.814Z" + "WhenOpened": "2024-10-23T08:03:02.814Z", + "EditorCaption": "" }, { "$type": "Document", - "DocumentIndex": 0, + "DocumentIndex": 3, "Title": "Group.cs", "DocumentMoniker": "C:\\Users\\profi\\source\\repos\\Zurnal\\Zurnal\\Date\\LocalDate\\Entity\\Group.cs", "RelativeDocumentMoniker": "Zurnal\\Date\\LocalDate\\Entity\\Group.cs", "ToolTip": "C:\\Users\\profi\\source\\repos\\Zurnal\\Zurnal\\Date\\LocalDate\\Entity\\Group.cs", "RelativeToolTip": "Zurnal\\Date\\LocalDate\\Entity\\Group.cs", - "ViewState": "AgIAAAAAAAAAAAAAAAAAAAYAAAAeAAAAAAAAAA==", + "ViewState": "AgIAAAAAAAAAAAAAAAAAAA8AAAAAAAAAAAAAAA==", "Icon": "ae27a6b0-e345-4288-96df-5eaf394ee369.000738|", "WhenOpened": "2024-10-23T08:02:44.902Z", "EditorCaption": "" }, { "$type": "Document", - "DocumentIndex": 8, + "DocumentIndex": 10, "Title": "Presence.cs", "DocumentMoniker": "C:\\Users\\profi\\source\\repos\\Zurnal\\Zurnal\\Date\\LocalDate\\Entity\\Presence.cs", "RelativeDocumentMoniker": "Zurnal\\Date\\LocalDate\\Entity\\Presence.cs", @@ -163,31 +164,33 @@ }, { "$type": "Document", - "DocumentIndex": 13, + "DocumentIndex": 1, "Title": "GroupUseCase.cs", "DocumentMoniker": "C:\\Users\\profi\\source\\repos\\Zurnal\\Zurnal\\Domain\\UseCase\\GroupUseCase.cs", "RelativeDocumentMoniker": "Zurnal\\Domain\\UseCase\\GroupUseCase.cs", "ToolTip": "C:\\Users\\profi\\source\\repos\\Zurnal\\Zurnal\\Domain\\UseCase\\GroupUseCase.cs", "RelativeToolTip": "Zurnal\\Domain\\UseCase\\GroupUseCase.cs", - "ViewState": "AgIAAAAAAAAAAAAAAAAAAAEAAAAaAAAAAAAAAA==", + "ViewState": "AgIAAAAAAAAAAAAAAAAAAAgAAAAKAAAAAAAAAA==", "Icon": "ae27a6b0-e345-4288-96df-5eaf394ee369.000738|", - "WhenOpened": "2024-10-23T08:01:08.054Z" + "WhenOpened": "2024-10-23T08:01:08.054Z", + "EditorCaption": "" }, { "$type": "Document", - "DocumentIndex": 12, + "DocumentIndex": 0, "Title": "UseCasePresence.cs", "DocumentMoniker": "C:\\Users\\profi\\source\\repos\\Zurnal\\Zurnal\\Domain\\UseCase\\UseCasePresence.cs", "RelativeDocumentMoniker": "Zurnal\\Domain\\UseCase\\UseCasePresence.cs", "ToolTip": "C:\\Users\\profi\\source\\repos\\Zurnal\\Zurnal\\Domain\\UseCase\\UseCasePresence.cs", "RelativeToolTip": "Zurnal\\Domain\\UseCase\\UseCasePresence.cs", - "ViewState": "AgIAAAAAAAAAAAAAAAAAAAUAAAAZAAAAAAAAAA==", + "ViewState": "AgIAAAAAAAAAAAAAAAAAAAYAAAAfAAAAAAAAAA==", "Icon": "ae27a6b0-e345-4288-96df-5eaf394ee369.000738|", - "WhenOpened": "2024-10-21T11:51:23.091Z" + "WhenOpened": "2024-10-21T11:51:23.091Z", + "EditorCaption": "" }, { "$type": "Document", - "DocumentIndex": 9, + "DocumentIndex": 11, "Title": "User.cs", "DocumentMoniker": "C:\\Users\\profi\\source\\repos\\Zurnal\\Zurnal\\Date\\LocalDate\\Entity\\User.cs", "RelativeDocumentMoniker": "Zurnal\\Date\\LocalDate\\Entity\\User.cs", @@ -211,7 +214,7 @@ }, { "$type": "Document", - "DocumentIndex": 1, + "DocumentIndex": 4, "Title": "Program.cs", "DocumentMoniker": "C:\\Users\\profi\\source\\repos\\Zurnal\\Zurnal\\Program.cs", "RelativeDocumentMoniker": "Zurnal\\Program.cs", @@ -219,12 +222,11 @@ "RelativeToolTip": "Zurnal\\Program.cs", "ViewState": "AgIAAAAAAAAAAAAAAAAAAAgAAAA0AAAAAAAAAA==", "Icon": "ae27a6b0-e345-4288-96df-5eaf394ee369.000738|", - "WhenOpened": "2024-10-21T10:37:14.956Z", - "EditorCaption": "" + "WhenOpened": "2024-10-21T10:37:14.956Z" }, { "$type": "Document", - "DocumentIndex": 7, + "DocumentIndex": 9, "Title": "GroupRepositoryImpl.cs", "DocumentMoniker": "C:\\Users\\profi\\source\\repos\\Zurnal\\Zurnal\\Date\\Repository\\GroupRepositoryImpl.cs", "RelativeDocumentMoniker": "Zurnal\\Date\\Repository\\GroupRepositoryImpl.cs", @@ -236,7 +238,7 @@ }, { "$type": "Document", - "DocumentIndex": 5, + "DocumentIndex": 8, "Title": "UserRepositoryImpl.cs", "DocumentMoniker": "C:\\Users\\profi\\source\\repos\\Zurnal\\Zurnal\\Date\\Repository\\UserRepositoryImpl.cs", "RelativeDocumentMoniker": "Zurnal\\Date\\Repository\\UserRepositoryImpl.cs", @@ -260,7 +262,7 @@ }, { "$type": "Document", - "DocumentIndex": 11, + "DocumentIndex": 13, "Title": "UserUseCase.cs", "DocumentMoniker": "C:\\Users\\profi\\source\\repos\\Zurnal\\Zurnal\\Domain\\UseCase\\UserUseCase.cs", "RelativeDocumentMoniker": "Zurnal\\Domain\\UseCase\\UserUseCase.cs", @@ -272,7 +274,7 @@ }, { "$type": "Document", - "DocumentIndex": 10, + "DocumentIndex": 12, "Title": "LocalStaticData.cs", "DocumentMoniker": "C:\\Users\\profi\\source\\repos\\Zurnal\\Zurnal\\Date\\LocalDate\\LocalStaticData.cs", "RelativeDocumentMoniker": "Zurnal\\Date\\LocalDate\\LocalStaticData.cs", diff --git a/.vs/slnx.sqlite b/.vs/slnx.sqlite index 5eecadb..b2d3b0e 100644 Binary files a/.vs/slnx.sqlite and b/.vs/slnx.sqlite differ diff --git a/Zurnal/Domain/UseCase/GroupUseCase.cs b/Zurnal/Domain/UseCase/GroupUseCase.cs index 642c7ad..e1c222d 100644 --- a/Zurnal/Domain/UseCase/GroupUseCase.cs +++ b/Zurnal/Domain/UseCase/GroupUseCase.cs @@ -1,5 +1,5 @@ using Zurnal.Data.Repository; -using Zurnal.domain.Model; +using Zurnal.domain.Models; using System; using System.Collections.Generic; using System.Linq; diff --git a/Zurnal/Domain/UseCase/UseCasePresence.cs b/Zurnal/Domain/UseCase/UseCasePresence.cs index be72205..d9760d1 100644 --- a/Zurnal/Domain/UseCase/UseCasePresence.cs +++ b/Zurnal/Domain/UseCase/UseCasePresence.cs @@ -1,9 +1,10 @@ using System; using System.Collections.Generic; using System.Linq; -using Zurnal.Presence +using Zurnal.Presence; +using static Zurnal.Presence.UseCaseGeneratePresence; -namespace Zurnal.Presence +namespace Zurnal.Domain.UseCase { internal class UseCasePresence { diff --git a/Zurnal/Domain/UseCase/UserUseCase.cs b/Zurnal/Domain/UseCase/UserUseCase.cs index d15c901..b741d72 100644 --- a/Zurnal/Domain/UseCase/UserUseCase.cs +++ b/Zurnal/Domain/UseCase/UserUseCase.cs @@ -9,20 +9,13 @@ using Zurnal.Date.Repository; namespace Zurnal.Domain.UseCase { - public class UserUseCase + public class UserUseCase(UserRepositoryImpl repositoryImpl, GroupRepositoryImpl repositoryGroupImpl) { - private UserRepositoryImpl _repositoryUserImpl; - private readonly IGroupRepository _repositoryGroupImpl; + private UserRepositoryImpl _repositoryUserImpl = repositoryImpl; - internal IGroupRepository RepositoryGroupImpl => _repositoryGroupImpl; + internal IGroupRepository RepositoryGroupImpl { get; } = (IGroupRepository?)repositoryGroupImpl; - public UserUseCase(UserRepositoryImpl repositoryImpl, GroupRepositoryImpl repositoryGroupImpl) - { - _repositoryUserImpl = repositoryImpl; - _repositoryGroupImpl = (IGroupRepository?)repositoryGroupImpl; - } - - public List GetAllGroups() => RepositoryGroupImpl.GetAllGroup() + public List GetAllGroups() => RepositoryGroupImpl.GetAllGroup() .Select(it => new Group { Id = it.Id, Name = it.Name}).ToList(); public List GetAllUsers() => _repositoryUserImpl.GetAllUsers .Join(RepositoryGroupImpl.GetAllGroup(), diff --git a/Zurnal/Presence/UseCaseGeneratePresence.cs b/Zurnal/Presence/UseCaseGeneratePresence.cs index a779cc5..2f79940 100644 --- a/Zurnal/Presence/UseCaseGeneratePresence.cs +++ b/Zurnal/Presence/UseCaseGeneratePresence.cs @@ -11,7 +11,7 @@ namespace Zurnal.Presence internal class AttendanceRecord { public int LessonNumber { get; set; } - public string GroupNumber { get; set; } + public required string GroupNumber { get; set; } public DateTime Date { get; set; } public bool IsPresent { get; set; } }