diff --git a/ShopAPI/.vs/ProjectEvaluation/shopapi.metadata.v9.bin b/ShopAPI/.vs/ProjectEvaluation/shopapi.metadata.v9.bin
index c0ea000..d9d2e0f 100644
Binary files a/ShopAPI/.vs/ProjectEvaluation/shopapi.metadata.v9.bin and b/ShopAPI/.vs/ProjectEvaluation/shopapi.metadata.v9.bin differ
diff --git a/ShopAPI/.vs/ProjectEvaluation/shopapi.projects.v9.bin b/ShopAPI/.vs/ProjectEvaluation/shopapi.projects.v9.bin
index db713e7..bb8ae48 100644
Binary files a/ShopAPI/.vs/ProjectEvaluation/shopapi.projects.v9.bin and b/ShopAPI/.vs/ProjectEvaluation/shopapi.projects.v9.bin differ
diff --git a/ShopAPI/.vs/ProjectEvaluation/shopapi.strings.v9.bin b/ShopAPI/.vs/ProjectEvaluation/shopapi.strings.v9.bin
index 5126b29..99e47d4 100644
Binary files a/ShopAPI/.vs/ProjectEvaluation/shopapi.strings.v9.bin and b/ShopAPI/.vs/ProjectEvaluation/shopapi.strings.v9.bin differ
diff --git a/ShopAPI/.vs/ShopAPI/CopilotIndices/17.14.1601.40145/CodeChunks.db b/ShopAPI/.vs/ShopAPI/CopilotIndices/17.14.1601.40145/CodeChunks.db
index 1f96327..07bccf7 100644
Binary files a/ShopAPI/.vs/ShopAPI/CopilotIndices/17.14.1601.40145/CodeChunks.db and b/ShopAPI/.vs/ShopAPI/CopilotIndices/17.14.1601.40145/CodeChunks.db differ
diff --git a/ShopAPI/.vs/ShopAPI/CopilotIndices/17.14.1601.40145/SemanticSymbols.db b/ShopAPI/.vs/ShopAPI/CopilotIndices/17.14.1601.40145/SemanticSymbols.db
index 29b79d0..e4a4780 100644
Binary files a/ShopAPI/.vs/ShopAPI/CopilotIndices/17.14.1601.40145/SemanticSymbols.db and b/ShopAPI/.vs/ShopAPI/CopilotIndices/17.14.1601.40145/SemanticSymbols.db differ
diff --git a/ShopAPI/.vs/ShopAPI/DesignTimeBuild/.dtbcache.v2 b/ShopAPI/.vs/ShopAPI/DesignTimeBuild/.dtbcache.v2
index 6eb9d71..1b8f82a 100644
Binary files a/ShopAPI/.vs/ShopAPI/DesignTimeBuild/.dtbcache.v2 and b/ShopAPI/.vs/ShopAPI/DesignTimeBuild/.dtbcache.v2 differ
diff --git a/ShopAPI/.vs/ShopAPI/FileContentIndex/1e2204fb-099a-4c19-8b09-30083200737f.vsidx b/ShopAPI/.vs/ShopAPI/FileContentIndex/1e2204fb-099a-4c19-8b09-30083200737f.vsidx
new file mode 100644
index 0000000..70aef67
Binary files /dev/null and b/ShopAPI/.vs/ShopAPI/FileContentIndex/1e2204fb-099a-4c19-8b09-30083200737f.vsidx differ
diff --git a/ShopAPI/.vs/ShopAPI/FileContentIndex/293b560f-7c0e-4d8f-a9dd-c5abcbd89149.vsidx b/ShopAPI/.vs/ShopAPI/FileContentIndex/293b560f-7c0e-4d8f-a9dd-c5abcbd89149.vsidx
deleted file mode 100644
index 881b217..0000000
Binary files a/ShopAPI/.vs/ShopAPI/FileContentIndex/293b560f-7c0e-4d8f-a9dd-c5abcbd89149.vsidx and /dev/null differ
diff --git a/ShopAPI/.vs/ShopAPI/FileContentIndex/39315f35-23b9-4284-9beb-ab6e489cee9f.vsidx b/ShopAPI/.vs/ShopAPI/FileContentIndex/39315f35-23b9-4284-9beb-ab6e489cee9f.vsidx
new file mode 100644
index 0000000..140efdd
Binary files /dev/null and b/ShopAPI/.vs/ShopAPI/FileContentIndex/39315f35-23b9-4284-9beb-ab6e489cee9f.vsidx differ
diff --git a/ShopAPI/.vs/ShopAPI/FileContentIndex/4a8f7e5d-5d38-45e3-b7d2-3d7410bf6a06.vsidx b/ShopAPI/.vs/ShopAPI/FileContentIndex/4a8f7e5d-5d38-45e3-b7d2-3d7410bf6a06.vsidx
new file mode 100644
index 0000000..2bf7cdd
Binary files /dev/null and b/ShopAPI/.vs/ShopAPI/FileContentIndex/4a8f7e5d-5d38-45e3-b7d2-3d7410bf6a06.vsidx differ
diff --git a/ShopAPI/.vs/ShopAPI/FileContentIndex/8c5426e9-d8d4-4bda-8f4d-210e24366eb2.vsidx b/ShopAPI/.vs/ShopAPI/FileContentIndex/8c5426e9-d8d4-4bda-8f4d-210e24366eb2.vsidx
deleted file mode 100644
index a90128f..0000000
Binary files a/ShopAPI/.vs/ShopAPI/FileContentIndex/8c5426e9-d8d4-4bda-8f4d-210e24366eb2.vsidx and /dev/null differ
diff --git a/ShopAPI/.vs/ShopAPI/FileContentIndex/9f526fe3-af3c-45ba-b3dc-de6ad8f850ad.vsidx b/ShopAPI/.vs/ShopAPI/FileContentIndex/9f526fe3-af3c-45ba-b3dc-de6ad8f850ad.vsidx
new file mode 100644
index 0000000..e3775b8
Binary files /dev/null and b/ShopAPI/.vs/ShopAPI/FileContentIndex/9f526fe3-af3c-45ba-b3dc-de6ad8f850ad.vsidx differ
diff --git a/ShopAPI/.vs/ShopAPI/FileContentIndex/9fe4a634-8ef4-495f-ae79-36e520df535c.vsidx b/ShopAPI/.vs/ShopAPI/FileContentIndex/9fe4a634-8ef4-495f-ae79-36e520df535c.vsidx
deleted file mode 100644
index b44f922..0000000
Binary files a/ShopAPI/.vs/ShopAPI/FileContentIndex/9fe4a634-8ef4-495f-ae79-36e520df535c.vsidx and /dev/null differ
diff --git a/ShopAPI/.vs/ShopAPI/FileContentIndex/a2bbe2f9-4b5e-4c2a-8855-61d2203dee50.vsidx b/ShopAPI/.vs/ShopAPI/FileContentIndex/a2bbe2f9-4b5e-4c2a-8855-61d2203dee50.vsidx
new file mode 100644
index 0000000..ed12cca
Binary files /dev/null and b/ShopAPI/.vs/ShopAPI/FileContentIndex/a2bbe2f9-4b5e-4c2a-8855-61d2203dee50.vsidx differ
diff --git a/ShopAPI/.vs/ShopAPI/FileContentIndex/a6e16838-fa09-4723-8833-df6be4f7cc63.vsidx b/ShopAPI/.vs/ShopAPI/FileContentIndex/a6e16838-fa09-4723-8833-df6be4f7cc63.vsidx
deleted file mode 100644
index 5fef26b..0000000
Binary files a/ShopAPI/.vs/ShopAPI/FileContentIndex/a6e16838-fa09-4723-8833-df6be4f7cc63.vsidx and /dev/null differ
diff --git a/ShopAPI/.vs/ShopAPI/FileContentIndex/d5694ae1-2a97-48ea-a0e1-d42d8247dcd0.vsidx b/ShopAPI/.vs/ShopAPI/FileContentIndex/d5694ae1-2a97-48ea-a0e1-d42d8247dcd0.vsidx
deleted file mode 100644
index d344d09..0000000
Binary files a/ShopAPI/.vs/ShopAPI/FileContentIndex/d5694ae1-2a97-48ea-a0e1-d42d8247dcd0.vsidx and /dev/null differ
diff --git a/ShopAPI/.vs/ShopAPI/config/applicationhost.config b/ShopAPI/.vs/ShopAPI/config/applicationhost.config
new file mode 100644
index 0000000..0d88f0d
--- /dev/null
+++ b/ShopAPI/.vs/ShopAPI/config/applicationhost.config
@@ -0,0 +1,1016 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/ShopAPI/.vs/ShopAPI/v17/.futdcache.v2 b/ShopAPI/.vs/ShopAPI/v17/.futdcache.v2
index 196d804..e80f3bc 100644
Binary files a/ShopAPI/.vs/ShopAPI/v17/.futdcache.v2 and b/ShopAPI/.vs/ShopAPI/v17/.futdcache.v2 differ
diff --git a/ShopAPI/.vs/ShopAPI/v17/.suo b/ShopAPI/.vs/ShopAPI/v17/.suo
index 43f4da2..d94dfa3 100644
Binary files a/ShopAPI/.vs/ShopAPI/v17/.suo and b/ShopAPI/.vs/ShopAPI/v17/.suo differ
diff --git a/ShopAPI/.vs/ShopAPI/v17/DocumentLayout.backup.json b/ShopAPI/.vs/ShopAPI/v17/DocumentLayout.backup.json
index c01e641..e9c4fc6 100644
--- a/ShopAPI/.vs/ShopAPI/v17/DocumentLayout.backup.json
+++ b/ShopAPI/.vs/ShopAPI/v17/DocumentLayout.backup.json
@@ -1,42 +1,30 @@
{
"Version": 1,
- "WorkspaceRootPath": "C:\\Users\\bib\\Desktop\\Projekt-Fluxon\\website_Fluxon\\ShopAPI\\",
+ "WorkspaceRootPath": "C:\\Users\\bib\\Desktop\\Projekt-Fluxon\\shop_Fluxon\\ShopAPI\\",
"Documents": [
{
- "AbsoluteMoniker": "D:0:0:{154C8A2E-F4A9-49D0-B845-3319E9C04489}|ShopAPI\\ShopAPI.csproj|c:\\users\\bib\\desktop\\projekt-fluxon\\website_fluxon\\shopapi\\shopapi\\program.cs||{A6C744A8-0E4A-4FC6-886A-064283054674}",
- "RelativeMoniker": "D:0:0:{154C8A2E-F4A9-49D0-B845-3319E9C04489}|ShopAPI\\ShopAPI.csproj|solutionrelative:shopapi\\program.cs||{A6C744A8-0E4A-4FC6-886A-064283054674}"
+ "AbsoluteMoniker": "D:0:0:{154C8A2E-F4A9-49D0-B845-3319E9C04489}|ShopAPI\\ShopAPI.csproj|c:\\users\\bib\\desktop\\projekt-fluxon\\shop_fluxon\\shopapi\\shopapi\\controllers\\authcontroller.cs||{A6C744A8-0E4A-4FC6-886A-064283054674}",
+ "RelativeMoniker": "D:0:0:{154C8A2E-F4A9-49D0-B845-3319E9C04489}|ShopAPI\\ShopAPI.csproj|solutionrelative:shopapi\\controllers\\authcontroller.cs||{A6C744A8-0E4A-4FC6-886A-064283054674}"
},
{
- "AbsoluteMoniker": "D:0:0:{154C8A2E-F4A9-49D0-B845-3319E9C04489}|ShopAPI\\ShopAPI.csproj|c:\\users\\bib\\desktop\\projekt-fluxon\\website_fluxon\\shopapi\\shopapi\\appsettings.json||{90A6B3A7-C1A3-4009-A288-E2FF89E96FA0}",
- "RelativeMoniker": "D:0:0:{154C8A2E-F4A9-49D0-B845-3319E9C04489}|ShopAPI\\ShopAPI.csproj|solutionrelative:shopapi\\appsettings.json||{90A6B3A7-C1A3-4009-A288-E2FF89E96FA0}"
+ "AbsoluteMoniker": "D:0:0:{154C8A2E-F4A9-49D0-B845-3319E9C04489}|ShopAPI\\ShopAPI.csproj|c:\\users\\bib\\desktop\\projekt-fluxon\\shop_fluxon\\shopapi\\shopapi\\services\\authservice.cs||{A6C744A8-0E4A-4FC6-886A-064283054674}",
+ "RelativeMoniker": "D:0:0:{154C8A2E-F4A9-49D0-B845-3319E9C04489}|ShopAPI\\ShopAPI.csproj|solutionrelative:shopapi\\services\\authservice.cs||{A6C744A8-0E4A-4FC6-886A-064283054674}"
},
{
- "AbsoluteMoniker": "D:0:0:{154C8A2E-F4A9-49D0-B845-3319E9C04489}|ShopAPI\\ShopAPI.csproj|c:\\users\\bib\\desktop\\projekt-fluxon\\website_fluxon\\shopapi\\shopapi\\data\\appdbcontext.cs||{A6C744A8-0E4A-4FC6-886A-064283054674}",
+ "AbsoluteMoniker": "D:0:0:{154C8A2E-F4A9-49D0-B845-3319E9C04489}|ShopAPI\\ShopAPI.csproj|c:\\users\\bib\\desktop\\projekt-fluxon\\shop_fluxon\\shopapi\\shopapi\\dtos\\registerdto.cs||{A6C744A8-0E4A-4FC6-886A-064283054674}",
+ "RelativeMoniker": "D:0:0:{154C8A2E-F4A9-49D0-B845-3319E9C04489}|ShopAPI\\ShopAPI.csproj|solutionrelative:shopapi\\dtos\\registerdto.cs||{A6C744A8-0E4A-4FC6-886A-064283054674}"
+ },
+ {
+ "AbsoluteMoniker": "D:0:0:{154C8A2E-F4A9-49D0-B845-3319E9C04489}|ShopAPI\\ShopAPI.csproj|c:\\users\\bib\\desktop\\projekt-fluxon\\shop_fluxon\\shopapi\\shopapi\\dtos\\logindto.cs||{A6C744A8-0E4A-4FC6-886A-064283054674}",
+ "RelativeMoniker": "D:0:0:{154C8A2E-F4A9-49D0-B845-3319E9C04489}|ShopAPI\\ShopAPI.csproj|solutionrelative:shopapi\\dtos\\logindto.cs||{A6C744A8-0E4A-4FC6-886A-064283054674}"
+ },
+ {
+ "AbsoluteMoniker": "D:0:0:{154C8A2E-F4A9-49D0-B845-3319E9C04489}|ShopAPI\\ShopAPI.csproj|c:\\users\\bib\\desktop\\projekt-fluxon\\shop_fluxon\\shopapi\\shopapi\\data\\appdbcontext.cs||{A6C744A8-0E4A-4FC6-886A-064283054674}",
"RelativeMoniker": "D:0:0:{154C8A2E-F4A9-49D0-B845-3319E9C04489}|ShopAPI\\ShopAPI.csproj|solutionrelative:shopapi\\data\\appdbcontext.cs||{A6C744A8-0E4A-4FC6-886A-064283054674}"
},
{
- "AbsoluteMoniker": "D:0:0:{154C8A2E-F4A9-49D0-B845-3319E9C04489}|ShopAPI\\ShopAPI.csproj|c:\\users\\bib\\desktop\\projekt-fluxon\\website_fluxon\\shopapi\\shopapi\\models\\user.cs||{A6C744A8-0E4A-4FC6-886A-064283054674}",
- "RelativeMoniker": "D:0:0:{154C8A2E-F4A9-49D0-B845-3319E9C04489}|ShopAPI\\ShopAPI.csproj|solutionrelative:shopapi\\models\\user.cs||{A6C744A8-0E4A-4FC6-886A-064283054674}"
- },
- {
- "AbsoluteMoniker": "D:0:0:{154C8A2E-F4A9-49D0-B845-3319E9C04489}|ShopAPI\\ShopAPI.csproj|c:\\users\\bib\\desktop\\projekt-fluxon\\website_fluxon\\shopapi\\shopapi\\models\\payment.cs||{A6C744A8-0E4A-4FC6-886A-064283054674}",
- "RelativeMoniker": "D:0:0:{154C8A2E-F4A9-49D0-B845-3319E9C04489}|ShopAPI\\ShopAPI.csproj|solutionrelative:shopapi\\models\\payment.cs||{A6C744A8-0E4A-4FC6-886A-064283054674}"
- },
- {
- "AbsoluteMoniker": "D:0:0:{154C8A2E-F4A9-49D0-B845-3319E9C04489}|ShopAPI\\ShopAPI.csproj|c:\\users\\bib\\desktop\\projekt-fluxon\\website_fluxon\\shopapi\\shopapi\\models\\category.cs||{A6C744A8-0E4A-4FC6-886A-064283054674}",
- "RelativeMoniker": "D:0:0:{154C8A2E-F4A9-49D0-B845-3319E9C04489}|ShopAPI\\ShopAPI.csproj|solutionrelative:shopapi\\models\\category.cs||{A6C744A8-0E4A-4FC6-886A-064283054674}"
- },
- {
- "AbsoluteMoniker": "D:0:0:{154C8A2E-F4A9-49D0-B845-3319E9C04489}|ShopAPI\\ShopAPI.csproj|c:\\users\\bib\\desktop\\projekt-fluxon\\website_fluxon\\shopapi\\shopapi\\models\\product.cs||{A6C744A8-0E4A-4FC6-886A-064283054674}",
- "RelativeMoniker": "D:0:0:{154C8A2E-F4A9-49D0-B845-3319E9C04489}|ShopAPI\\ShopAPI.csproj|solutionrelative:shopapi\\models\\product.cs||{A6C744A8-0E4A-4FC6-886A-064283054674}"
- },
- {
- "AbsoluteMoniker": "D:0:0:{154C8A2E-F4A9-49D0-B845-3319E9C04489}|ShopAPI\\ShopAPI.csproj|c:\\users\\bib\\desktop\\projekt-fluxon\\website_fluxon\\shopapi\\shopapi\\models\\orderitem.cs||{A6C744A8-0E4A-4FC6-886A-064283054674}",
- "RelativeMoniker": "D:0:0:{154C8A2E-F4A9-49D0-B845-3319E9C04489}|ShopAPI\\ShopAPI.csproj|solutionrelative:shopapi\\models\\orderitem.cs||{A6C744A8-0E4A-4FC6-886A-064283054674}"
- },
- {
- "AbsoluteMoniker": "D:0:0:{154C8A2E-F4A9-49D0-B845-3319E9C04489}|ShopAPI\\ShopAPI.csproj|c:\\users\\bib\\desktop\\projekt-fluxon\\website_fluxon\\shopapi\\shopapi\\models\\order.cs||{A6C744A8-0E4A-4FC6-886A-064283054674}",
- "RelativeMoniker": "D:0:0:{154C8A2E-F4A9-49D0-B845-3319E9C04489}|ShopAPI\\ShopAPI.csproj|solutionrelative:shopapi\\models\\order.cs||{A6C744A8-0E4A-4FC6-886A-064283054674}"
+ "AbsoluteMoniker": "D:0:0:{154C8A2E-F4A9-49D0-B845-3319E9C04489}|ShopAPI\\ShopAPI.csproj|c:\\users\\bib\\desktop\\projekt-fluxon\\shop_fluxon\\shopapi\\shopapi\\program.cs||{A6C744A8-0E4A-4FC6-886A-064283054674}",
+ "RelativeMoniker": "D:0:0:{154C8A2E-F4A9-49D0-B845-3319E9C04489}|ShopAPI\\ShopAPI.csproj|solutionrelative:shopapi\\program.cs||{A6C744A8-0E4A-4FC6-886A-064283054674}"
}
],
"DocumentGroupContainers": [
@@ -46,127 +34,88 @@
"DocumentGroups": [
{
"DockedWidth": 200,
- "SelectedChildIndex": 0,
+ "SelectedChildIndex": 2,
"Children": [
- {
- "$type": "Document",
- "DocumentIndex": 0,
- "Title": "Program.cs",
- "DocumentMoniker": "C:\\Users\\bib\\Desktop\\Projekt-Fluxon\\website_Fluxon\\ShopAPI\\ShopAPI\\Program.cs",
- "RelativeDocumentMoniker": "ShopAPI\\Program.cs",
- "ToolTip": "C:\\Users\\bib\\Desktop\\Projekt-Fluxon\\website_Fluxon\\ShopAPI\\ShopAPI\\Program.cs",
- "RelativeToolTip": "ShopAPI\\Program.cs",
- "ViewState": "AgIAAAAAAAAAAAAAAAAAABMAAAAAAAAAAAAAAA==",
- "Icon": "ae27a6b0-e345-4288-96df-5eaf394ee369.000738|",
- "WhenOpened": "2026-03-14T00:02:06.62Z",
- "EditorCaption": ""
- },
- {
- "$type": "Document",
- "DocumentIndex": 3,
- "Title": "User.cs",
- "DocumentMoniker": "C:\\Users\\bib\\Desktop\\Projekt-Fluxon\\website_Fluxon\\ShopAPI\\ShopAPI\\Models\\User.cs",
- "RelativeDocumentMoniker": "ShopAPI\\Models\\User.cs",
- "ToolTip": "C:\\Users\\bib\\Desktop\\Projekt-Fluxon\\website_Fluxon\\ShopAPI\\ShopAPI\\Models\\User.cs",
- "RelativeToolTip": "ShopAPI\\Models\\User.cs",
- "ViewState": "AgIAAAAAAAAAAAAAAAAAAAkAAABLAAAAAAAAAA==",
- "Icon": "ae27a6b0-e345-4288-96df-5eaf394ee369.000738|",
- "WhenOpened": "2026-03-11T09:48:28.817Z",
- "EditorCaption": ""
- },
{
"$type": "Bookmark",
"Name": "ST:0:0:{b1e99781-ab81-11d0-b683-00aa00a3ee26}"
},
{
"$type": "Document",
- "DocumentIndex": 2,
- "Title": "AppDbContext.cs",
- "DocumentMoniker": "C:\\Users\\bib\\Desktop\\Projekt-Fluxon\\website_Fluxon\\ShopAPI\\ShopAPI\\Data\\AppDbContext.cs",
- "RelativeDocumentMoniker": "ShopAPI\\Data\\AppDbContext.cs",
- "ToolTip": "C:\\Users\\bib\\Desktop\\Projekt-Fluxon\\website_Fluxon\\ShopAPI\\ShopAPI\\Data\\AppDbContext.cs",
- "RelativeToolTip": "ShopAPI\\Data\\AppDbContext.cs",
- "ViewState": "AgIAACgAAAAAAAAAAAAYwDkAAAAJAAAAAAAAAA==",
+ "DocumentIndex": 5,
+ "Title": "Program.cs",
+ "DocumentMoniker": "C:\\Users\\bib\\Desktop\\Projekt-Fluxon\\shop_Fluxon\\ShopAPI\\ShopAPI\\Program.cs",
+ "RelativeDocumentMoniker": "ShopAPI\\Program.cs",
+ "ToolTip": "C:\\Users\\bib\\Desktop\\Projekt-Fluxon\\shop_Fluxon\\ShopAPI\\ShopAPI\\Program.cs",
+ "RelativeToolTip": "ShopAPI\\Program.cs",
+ "ViewState": "AgIAAA4AAAAAAAAAAAAAACYAAAAWAAAAAAAAAA==",
"Icon": "ae27a6b0-e345-4288-96df-5eaf394ee369.000738|",
- "WhenOpened": "2026-03-13T23:17:21.987Z",
+ "WhenOpened": "2026-03-15T15:50:24.918Z",
+ "EditorCaption": ""
+ },
+ {
+ "$type": "Document",
+ "DocumentIndex": 0,
+ "Title": "AuthController.cs",
+ "DocumentMoniker": "C:\\Users\\bib\\Desktop\\Projekt-Fluxon\\shop_Fluxon\\ShopAPI\\ShopAPI\\Controllers\\AuthController.cs",
+ "RelativeDocumentMoniker": "ShopAPI\\Controllers\\AuthController.cs",
+ "ToolTip": "C:\\Users\\bib\\Desktop\\Projekt-Fluxon\\shop_Fluxon\\ShopAPI\\ShopAPI\\Controllers\\AuthController.cs",
+ "RelativeToolTip": "ShopAPI\\Controllers\\AuthController.cs",
+ "ViewState": "AgIAAAgAAAAAAAAAAAAxwBYAAABCAAAAAAAAAA==",
+ "Icon": "ae27a6b0-e345-4288-96df-5eaf394ee369.000738|",
+ "WhenOpened": "2026-03-15T00:14:13.509Z",
"EditorCaption": ""
},
{
"$type": "Document",
"DocumentIndex": 1,
- "Title": "appsettings.json",
- "DocumentMoniker": "C:\\Users\\bib\\Desktop\\Projekt-Fluxon\\website_Fluxon\\ShopAPI\\ShopAPI\\appsettings.json",
- "RelativeDocumentMoniker": "ShopAPI\\appsettings.json",
- "ToolTip": "C:\\Users\\bib\\Desktop\\Projekt-Fluxon\\website_Fluxon\\ShopAPI\\ShopAPI\\appsettings.json",
- "RelativeToolTip": "ShopAPI\\appsettings.json",
- "ViewState": "AgIAAAAAAAAAAAAAAAAAAAkAAAAFAAAAAAAAAA==",
- "Icon": "ae27a6b0-e345-4288-96df-5eaf394ee369.001642|",
- "WhenOpened": "2026-03-12T11:39:23.536Z",
+ "Title": "AuthService.cs",
+ "DocumentMoniker": "C:\\Users\\bib\\Desktop\\Projekt-Fluxon\\shop_Fluxon\\ShopAPI\\ShopAPI\\Services\\AuthService.cs",
+ "RelativeDocumentMoniker": "ShopAPI\\Services\\AuthService.cs",
+ "ToolTip": "C:\\Users\\bib\\Desktop\\Projekt-Fluxon\\shop_Fluxon\\ShopAPI\\ShopAPI\\Services\\AuthService.cs",
+ "RelativeToolTip": "ShopAPI\\Services\\AuthService.cs",
+ "ViewState": "AgIAABYAAAAAAAAAAAAQwFQAAAAJAAAAAAAAAA==",
+ "Icon": "ae27a6b0-e345-4288-96df-5eaf394ee369.000738|",
+ "WhenOpened": "2026-03-14T23:14:57.991Z",
+ "EditorCaption": ""
+ },
+ {
+ "$type": "Document",
+ "DocumentIndex": 2,
+ "Title": "RegisterDto.cs",
+ "DocumentMoniker": "C:\\Users\\bib\\Desktop\\Projekt-Fluxon\\shop_Fluxon\\ShopAPI\\ShopAPI\\DTOs\\RegisterDto.cs",
+ "RelativeDocumentMoniker": "ShopAPI\\DTOs\\RegisterDto.cs",
+ "ToolTip": "C:\\Users\\bib\\Desktop\\Projekt-Fluxon\\shop_Fluxon\\ShopAPI\\ShopAPI\\DTOs\\RegisterDto.cs",
+ "RelativeToolTip": "ShopAPI\\DTOs\\RegisterDto.cs",
+ "ViewState": "AgIAAAAAAAAAAAAAAAAAAAkAAAAAAAAAAAAAAA==",
+ "Icon": "ae27a6b0-e345-4288-96df-5eaf394ee369.000738|",
+ "WhenOpened": "2026-03-14T23:13:07.276Z",
+ "EditorCaption": ""
+ },
+ {
+ "$type": "Document",
+ "DocumentIndex": 3,
+ "Title": "LoginDto.cs",
+ "DocumentMoniker": "C:\\Users\\bib\\Desktop\\Projekt-Fluxon\\shop_Fluxon\\ShopAPI\\ShopAPI\\DTOs\\LoginDto.cs",
+ "RelativeDocumentMoniker": "ShopAPI\\DTOs\\LoginDto.cs",
+ "ToolTip": "C:\\Users\\bib\\Desktop\\Projekt-Fluxon\\shop_Fluxon\\ShopAPI\\ShopAPI\\DTOs\\LoginDto.cs",
+ "RelativeToolTip": "ShopAPI\\DTOs\\LoginDto.cs",
+ "ViewState": "AgIAAAAAAAAAAAAAAAAAAAUAAAAbAAAAAAAAAA==",
+ "Icon": "ae27a6b0-e345-4288-96df-5eaf394ee369.000738|",
+ "WhenOpened": "2026-03-14T23:14:22.424Z",
"EditorCaption": ""
},
{
"$type": "Document",
"DocumentIndex": 4,
- "Title": "Payment.cs",
- "DocumentMoniker": "C:\\Users\\bib\\Desktop\\Projekt-Fluxon\\website_Fluxon\\ShopAPI\\ShopAPI\\Models\\Payment.cs",
- "RelativeDocumentMoniker": "ShopAPI\\Models\\Payment.cs",
- "ToolTip": "C:\\Users\\bib\\Desktop\\Projekt-Fluxon\\website_Fluxon\\ShopAPI\\ShopAPI\\Models\\Payment.cs",
- "RelativeToolTip": "ShopAPI\\Models\\Payment.cs",
- "ViewState": "AgIAAAAAAAAAAAAAAAAAAAkAAAAbAAAAAAAAAA==",
+ "Title": "AppDbContext.cs",
+ "DocumentMoniker": "C:\\Users\\bib\\Desktop\\Projekt-Fluxon\\shop_Fluxon\\ShopAPI\\ShopAPI\\Data\\AppDbContext.cs",
+ "RelativeDocumentMoniker": "ShopAPI\\Data\\AppDbContext.cs",
+ "ToolTip": "C:\\Users\\bib\\Desktop\\Projekt-Fluxon\\shop_Fluxon\\ShopAPI\\ShopAPI\\Data\\AppDbContext.cs",
+ "RelativeToolTip": "ShopAPI\\Data\\AppDbContext.cs",
+ "ViewState": "AgIAAAwAAAAAAAAAAAAYwBcAAAAoAAAAAAAAAA==",
"Icon": "ae27a6b0-e345-4288-96df-5eaf394ee369.000738|",
- "WhenOpened": "2026-03-12T11:32:19.944Z",
- "EditorCaption": ""
- },
- {
- "$type": "Document",
- "DocumentIndex": 7,
- "Title": "OrderItem.cs",
- "DocumentMoniker": "C:\\Users\\bib\\Desktop\\Projekt-Fluxon\\website_Fluxon\\ShopAPI\\ShopAPI\\Models\\OrderItem.cs",
- "RelativeDocumentMoniker": "ShopAPI\\Models\\OrderItem.cs",
- "ToolTip": "C:\\Users\\bib\\Desktop\\Projekt-Fluxon\\website_Fluxon\\ShopAPI\\ShopAPI\\Models\\OrderItem.cs",
- "RelativeToolTip": "ShopAPI\\Models\\OrderItem.cs",
- "ViewState": "AgIAAAAAAAAAAAAAAAAAAAQAAAASAAAAAAAAAA==",
- "Icon": "ae27a6b0-e345-4288-96df-5eaf394ee369.000738|",
- "WhenOpened": "2026-03-12T11:31:26.081Z",
- "EditorCaption": ""
- },
- {
- "$type": "Document",
- "DocumentIndex": 6,
- "Title": "Product.cs",
- "DocumentMoniker": "C:\\Users\\bib\\Desktop\\Projekt-Fluxon\\website_Fluxon\\ShopAPI\\ShopAPI\\Models\\Product.cs",
- "RelativeDocumentMoniker": "ShopAPI\\Models\\Product.cs",
- "ToolTip": "C:\\Users\\bib\\Desktop\\Projekt-Fluxon\\website_Fluxon\\ShopAPI\\ShopAPI\\Models\\Product.cs",
- "RelativeToolTip": "ShopAPI\\Models\\Product.cs",
- "ViewState": "AgIAAAAAAAAAAAAAAAAAAAoAAAAwAAAAAAAAAA==",
- "Icon": "ae27a6b0-e345-4288-96df-5eaf394ee369.000738|",
- "WhenOpened": "2026-03-12T11:27:05.792Z",
- "EditorCaption": ""
- },
- {
- "$type": "Document",
- "DocumentIndex": 5,
- "Title": "Category.cs",
- "DocumentMoniker": "C:\\Users\\bib\\Desktop\\Projekt-Fluxon\\website_Fluxon\\ShopAPI\\ShopAPI\\Models\\Category.cs",
- "RelativeDocumentMoniker": "ShopAPI\\Models\\Category.cs",
- "ToolTip": "C:\\Users\\bib\\Desktop\\Projekt-Fluxon\\website_Fluxon\\ShopAPI\\ShopAPI\\Models\\Category.cs",
- "RelativeToolTip": "ShopAPI\\Models\\Category.cs",
- "ViewState": "AgIAAAAAAAAAAAAAAAAAAAYAAABRAAAAAAAAAA==",
- "Icon": "ae27a6b0-e345-4288-96df-5eaf394ee369.000738|",
- "WhenOpened": "2026-03-12T11:25:09.147Z",
- "EditorCaption": ""
- },
- {
- "$type": "Document",
- "DocumentIndex": 8,
- "Title": "Order.cs",
- "DocumentMoniker": "C:\\Users\\bib\\Desktop\\Projekt-Fluxon\\website_Fluxon\\ShopAPI\\ShopAPI\\Models\\Order.cs",
- "RelativeDocumentMoniker": "ShopAPI\\Models\\Order.cs",
- "ToolTip": "C:\\Users\\bib\\Desktop\\Projekt-Fluxon\\website_Fluxon\\ShopAPI\\ShopAPI\\Models\\Order.cs",
- "RelativeToolTip": "ShopAPI\\Models\\Order.cs",
- "ViewState": "AgIAAAAAAAAAAAAAAAAAAAYAAAA2AAAAAAAAAA==",
- "Icon": "ae27a6b0-e345-4288-96df-5eaf394ee369.000738|",
- "WhenOpened": "2026-03-11T09:49:53.306Z",
+ "WhenOpened": "2026-03-13T23:17:21.987Z",
"EditorCaption": ""
}
]
diff --git a/ShopAPI/.vs/ShopAPI/v17/DocumentLayout.json b/ShopAPI/.vs/ShopAPI/v17/DocumentLayout.json
index b081031..94c6160 100644
--- a/ShopAPI/.vs/ShopAPI/v17/DocumentLayout.json
+++ b/ShopAPI/.vs/ShopAPI/v17/DocumentLayout.json
@@ -1,30 +1,18 @@
{
"Version": 1,
- "WorkspaceRootPath": "C:\\Users\\bib\\Desktop\\Projekt-Fluxon\\website_Fluxon\\ShopAPI\\",
+ "WorkspaceRootPath": "C:\\Users\\bib\\Desktop\\Projekt-Fluxon\\shop_Fluxon\\ShopAPI\\",
"Documents": [
{
- "AbsoluteMoniker": "D:0:0:{154C8A2E-F4A9-49D0-B845-3319E9C04489}|ShopAPI\\ShopAPI.csproj|c:\\users\\bib\\desktop\\projekt-fluxon\\website_fluxon\\shopapi\\shopapi\\controllers\\authcontroller.cs||{A6C744A8-0E4A-4FC6-886A-064283054674}",
- "RelativeMoniker": "D:0:0:{154C8A2E-F4A9-49D0-B845-3319E9C04489}|ShopAPI\\ShopAPI.csproj|solutionrelative:shopapi\\controllers\\authcontroller.cs||{A6C744A8-0E4A-4FC6-886A-064283054674}"
+ "AbsoluteMoniker": "D:0:0:{154C8A2E-F4A9-49D0-B845-3319E9C04489}|ShopAPI\\ShopAPI.csproj|c:\\users\\bib\\desktop\\projekt-fluxon\\shop_fluxon\\shopapi\\shopapi\\services\\categoryservice.cs||{A6C744A8-0E4A-4FC6-886A-064283054674}",
+ "RelativeMoniker": "D:0:0:{154C8A2E-F4A9-49D0-B845-3319E9C04489}|ShopAPI\\ShopAPI.csproj|solutionrelative:shopapi\\services\\categoryservice.cs||{A6C744A8-0E4A-4FC6-886A-064283054674}"
},
{
- "AbsoluteMoniker": "D:0:0:{154C8A2E-F4A9-49D0-B845-3319E9C04489}|ShopAPI\\ShopAPI.csproj|c:\\users\\bib\\desktop\\projekt-fluxon\\website_fluxon\\shopapi\\shopapi\\services\\authservice.cs||{A6C744A8-0E4A-4FC6-886A-064283054674}",
- "RelativeMoniker": "D:0:0:{154C8A2E-F4A9-49D0-B845-3319E9C04489}|ShopAPI\\ShopAPI.csproj|solutionrelative:shopapi\\services\\authservice.cs||{A6C744A8-0E4A-4FC6-886A-064283054674}"
+ "AbsoluteMoniker": "D:0:0:{154C8A2E-F4A9-49D0-B845-3319E9C04489}|ShopAPI\\ShopAPI.csproj|c:\\users\\bib\\desktop\\projekt-fluxon\\shop_fluxon\\shopapi\\shopapi\\services\\productservice.cs||{A6C744A8-0E4A-4FC6-886A-064283054674}",
+ "RelativeMoniker": "D:0:0:{154C8A2E-F4A9-49D0-B845-3319E9C04489}|ShopAPI\\ShopAPI.csproj|solutionrelative:shopapi\\services\\productservice.cs||{A6C744A8-0E4A-4FC6-886A-064283054674}"
},
{
- "AbsoluteMoniker": "D:0:0:{154C8A2E-F4A9-49D0-B845-3319E9C04489}|ShopAPI\\ShopAPI.csproj|c:\\users\\bib\\desktop\\projekt-fluxon\\website_fluxon\\shopapi\\shopapi\\appsettings.json||{90A6B3A7-C1A3-4009-A288-E2FF89E96FA0}",
- "RelativeMoniker": "D:0:0:{154C8A2E-F4A9-49D0-B845-3319E9C04489}|ShopAPI\\ShopAPI.csproj|solutionrelative:shopapi\\appsettings.json||{90A6B3A7-C1A3-4009-A288-E2FF89E96FA0}"
- },
- {
- "AbsoluteMoniker": "D:0:0:{154C8A2E-F4A9-49D0-B845-3319E9C04489}|ShopAPI\\ShopAPI.csproj|c:\\users\\bib\\desktop\\projekt-fluxon\\website_fluxon\\shopapi\\shopapi\\dtos\\registerdto.cs||{A6C744A8-0E4A-4FC6-886A-064283054674}",
- "RelativeMoniker": "D:0:0:{154C8A2E-F4A9-49D0-B845-3319E9C04489}|ShopAPI\\ShopAPI.csproj|solutionrelative:shopapi\\dtos\\registerdto.cs||{A6C744A8-0E4A-4FC6-886A-064283054674}"
- },
- {
- "AbsoluteMoniker": "D:0:0:{154C8A2E-F4A9-49D0-B845-3319E9C04489}|ShopAPI\\ShopAPI.csproj|c:\\users\\bib\\desktop\\projekt-fluxon\\website_fluxon\\shopapi\\shopapi\\data\\appdbcontext.cs||{A6C744A8-0E4A-4FC6-886A-064283054674}",
- "RelativeMoniker": "D:0:0:{154C8A2E-F4A9-49D0-B845-3319E9C04489}|ShopAPI\\ShopAPI.csproj|solutionrelative:shopapi\\data\\appdbcontext.cs||{A6C744A8-0E4A-4FC6-886A-064283054674}"
- },
- {
- "AbsoluteMoniker": "D:0:0:{154C8A2E-F4A9-49D0-B845-3319E9C04489}|ShopAPI\\ShopAPI.csproj|c:\\users\\bib\\desktop\\projekt-fluxon\\website_fluxon\\shopapi\\shopapi\\dtos\\logindto.cs||{A6C744A8-0E4A-4FC6-886A-064283054674}",
- "RelativeMoniker": "D:0:0:{154C8A2E-F4A9-49D0-B845-3319E9C04489}|ShopAPI\\ShopAPI.csproj|solutionrelative:shopapi\\dtos\\logindto.cs||{A6C744A8-0E4A-4FC6-886A-064283054674}"
+ "AbsoluteMoniker": "D:0:0:{154C8A2E-F4A9-49D0-B845-3319E9C04489}|ShopAPI\\ShopAPI.csproj|c:\\users\\bib\\desktop\\projekt-fluxon\\shop_fluxon\\shopapi\\shopapi\\dtos\\productdto.cs||{A6C744A8-0E4A-4FC6-886A-064283054674}",
+ "RelativeMoniker": "D:0:0:{154C8A2E-F4A9-49D0-B845-3319E9C04489}|ShopAPI\\ShopAPI.csproj|solutionrelative:shopapi\\dtos\\productdto.cs||{A6C744A8-0E4A-4FC6-886A-064283054674}"
}
],
"DocumentGroupContainers": [
@@ -43,79 +31,40 @@
{
"$type": "Document",
"DocumentIndex": 0,
- "Title": "AuthController.cs",
- "DocumentMoniker": "C:\\Users\\bib\\Desktop\\Projekt-Fluxon\\website_Fluxon\\ShopAPI\\ShopAPI\\Controllers\\AuthController.cs",
- "RelativeDocumentMoniker": "ShopAPI\\Controllers\\AuthController.cs",
- "ToolTip": "C:\\Users\\bib\\Desktop\\Projekt-Fluxon\\website_Fluxon\\ShopAPI\\ShopAPI\\Controllers\\AuthController.cs",
- "RelativeToolTip": "ShopAPI\\Controllers\\AuthController.cs",
- "ViewState": "AgIAAAAAAAAAAAAAAAAAABAAAAAAAAAAAAAAAA==",
+ "Title": "CategoryService.cs",
+ "DocumentMoniker": "C:\\Users\\bib\\Desktop\\Projekt-Fluxon\\shop_Fluxon\\ShopAPI\\ShopAPI\\Services\\CategoryService.cs",
+ "RelativeDocumentMoniker": "ShopAPI\\Services\\CategoryService.cs",
+ "ToolTip": "C:\\Users\\bib\\Desktop\\Projekt-Fluxon\\shop_Fluxon\\ShopAPI\\ShopAPI\\Services\\CategoryService.cs",
+ "RelativeToolTip": "ShopAPI\\Services\\CategoryService.cs",
+ "ViewState": "AgIAAAAAAAAAAAAAAAAAAA8AAAAFAAAAAAAAAA==",
"Icon": "ae27a6b0-e345-4288-96df-5eaf394ee369.000738|",
- "WhenOpened": "2026-03-15T00:14:13.509Z",
- "EditorCaption": ""
- },
- {
- "$type": "Document",
- "DocumentIndex": 1,
- "Title": "AuthService.cs",
- "DocumentMoniker": "C:\\Users\\bib\\Desktop\\Projekt-Fluxon\\website_Fluxon\\ShopAPI\\ShopAPI\\Services\\AuthService.cs",
- "RelativeDocumentMoniker": "ShopAPI\\Services\\AuthService.cs",
- "ToolTip": "C:\\Users\\bib\\Desktop\\Projekt-Fluxon\\website_Fluxon\\ShopAPI\\ShopAPI\\Services\\AuthService.cs",
- "RelativeToolTip": "ShopAPI\\Services\\AuthService.cs",
- "ViewState": "AgIAAAMAAAAAAAAAAAAAABsAAAANAAAAAAAAAA==",
- "Icon": "ae27a6b0-e345-4288-96df-5eaf394ee369.000738|",
- "WhenOpened": "2026-03-14T23:14:57.991Z",
+ "WhenOpened": "2026-03-16T13:59:04.565Z",
"EditorCaption": ""
},
{
"$type": "Document",
"DocumentIndex": 2,
- "Title": "appsettings.json",
- "DocumentMoniker": "C:\\Users\\bib\\Desktop\\Projekt-Fluxon\\website_Fluxon\\ShopAPI\\ShopAPI\\appsettings.json",
- "RelativeDocumentMoniker": "ShopAPI\\appsettings.json",
- "ToolTip": "C:\\Users\\bib\\Desktop\\Projekt-Fluxon\\website_Fluxon\\ShopAPI\\ShopAPI\\appsettings.json",
- "RelativeToolTip": "ShopAPI\\appsettings.json",
+ "Title": "ProductDto.cs",
+ "DocumentMoniker": "C:\\Users\\bib\\Desktop\\Projekt-Fluxon\\shop_Fluxon\\ShopAPI\\ShopAPI\\DTOs\\ProductDto.cs",
+ "RelativeDocumentMoniker": "ShopAPI\\DTOs\\ProductDto.cs",
+ "ToolTip": "C:\\Users\\bib\\Desktop\\Projekt-Fluxon\\shop_Fluxon\\ShopAPI\\ShopAPI\\DTOs\\ProductDto.cs",
+ "RelativeToolTip": "ShopAPI\\DTOs\\ProductDto.cs",
+ "ViewState": "AgIAAAAAAAAAAAAAAAAAAAIAAAASAAAAAAAAAA==",
+ "Icon": "ae27a6b0-e345-4288-96df-5eaf394ee369.000738|",
+ "WhenOpened": "2026-03-16T12:53:52.497Z",
+ "EditorCaption": ""
+ },
+ {
+ "$type": "Document",
+ "DocumentIndex": 1,
+ "Title": "ProductService.cs",
+ "DocumentMoniker": "C:\\Users\\bib\\Desktop\\Projekt-Fluxon\\shop_Fluxon\\ShopAPI\\ShopAPI\\Services\\ProductService.cs",
+ "RelativeDocumentMoniker": "ShopAPI\\Services\\ProductService.cs",
+ "ToolTip": "C:\\Users\\bib\\Desktop\\Projekt-Fluxon\\shop_Fluxon\\ShopAPI\\ShopAPI\\Services\\ProductService.cs",
+ "RelativeToolTip": "ShopAPI\\Services\\ProductService.cs",
"ViewState": "AgIAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA==",
- "Icon": "ae27a6b0-e345-4288-96df-5eaf394ee369.001642|",
- "WhenOpened": "2026-03-14T23:24:15.85Z",
- "EditorCaption": ""
- },
- {
- "$type": "Document",
- "DocumentIndex": 3,
- "Title": "RegisterDto.cs",
- "DocumentMoniker": "C:\\Users\\bib\\Desktop\\Projekt-Fluxon\\website_Fluxon\\ShopAPI\\ShopAPI\\DTOs\\RegisterDto.cs",
- "RelativeDocumentMoniker": "ShopAPI\\DTOs\\RegisterDto.cs",
- "ToolTip": "C:\\Users\\bib\\Desktop\\Projekt-Fluxon\\website_Fluxon\\ShopAPI\\ShopAPI\\DTOs\\RegisterDto.cs",
- "RelativeToolTip": "ShopAPI\\DTOs\\RegisterDto.cs",
- "ViewState": "AgIAAAAAAAAAAAAAAAAAAAkAAAAAAAAAAAAAAA==",
"Icon": "ae27a6b0-e345-4288-96df-5eaf394ee369.000738|",
- "WhenOpened": "2026-03-14T23:13:07.276Z",
- "EditorCaption": ""
- },
- {
- "$type": "Document",
- "DocumentIndex": 5,
- "Title": "LoginDto.cs",
- "DocumentMoniker": "C:\\Users\\bib\\Desktop\\Projekt-Fluxon\\website_Fluxon\\ShopAPI\\ShopAPI\\DTOs\\LoginDto.cs",
- "RelativeDocumentMoniker": "ShopAPI\\DTOs\\LoginDto.cs",
- "ToolTip": "C:\\Users\\bib\\Desktop\\Projekt-Fluxon\\website_Fluxon\\ShopAPI\\ShopAPI\\DTOs\\LoginDto.cs",
- "RelativeToolTip": "ShopAPI\\DTOs\\LoginDto.cs",
- "ViewState": "AgIAAAAAAAAAAAAAAAAAAAUAAAAbAAAAAAAAAA==",
- "Icon": "ae27a6b0-e345-4288-96df-5eaf394ee369.000738|",
- "WhenOpened": "2026-03-14T23:14:22.424Z",
- "EditorCaption": ""
- },
- {
- "$type": "Document",
- "DocumentIndex": 4,
- "Title": "AppDbContext.cs",
- "DocumentMoniker": "C:\\Users\\bib\\Desktop\\Projekt-Fluxon\\website_Fluxon\\ShopAPI\\ShopAPI\\Data\\AppDbContext.cs",
- "RelativeDocumentMoniker": "ShopAPI\\Data\\AppDbContext.cs",
- "ToolTip": "C:\\Users\\bib\\Desktop\\Projekt-Fluxon\\website_Fluxon\\ShopAPI\\ShopAPI\\Data\\AppDbContext.cs",
- "RelativeToolTip": "ShopAPI\\Data\\AppDbContext.cs",
- "ViewState": "AgIAAAAAAAAAAAAAAAAAAAIAAAAAAAAAAAAAAA==",
- "Icon": "ae27a6b0-e345-4288-96df-5eaf394ee369.000738|",
- "WhenOpened": "2026-03-13T23:17:21.987Z",
+ "WhenOpened": "2026-03-16T12:36:13.39Z",
"EditorCaption": ""
}
]
diff --git a/ShopAPI/Program.cs b/ShopAPI/Program.cs
new file mode 100644
index 0000000..ee9d65d
--- /dev/null
+++ b/ShopAPI/Program.cs
@@ -0,0 +1,41 @@
+var builder = WebApplication.CreateBuilder(args);
+
+// Add services to the container.
+// Learn more about configuring OpenAPI at https://aka.ms/aspnet/openapi
+builder.Services.AddOpenApi();
+
+var app = builder.Build();
+
+// Configure the HTTP request pipeline.
+if (app.Environment.IsDevelopment())
+{
+ app.MapOpenApi();
+}
+
+app.UseHttpsRedirection();
+
+var summaries = new[]
+{
+ "Freezing", "Bracing", "Chilly", "Cool", "Mild", "Warm", "Balmy", "Hot", "Sweltering", "Scorching"
+};
+
+app.MapGet("/weatherforecast", () =>
+{
+ var forecast = Enumerable.Range(1, 5).Select(index =>
+ new WeatherForecast
+ (
+ DateOnly.FromDateTime(DateTime.Now.AddDays(index)),
+ Random.Shared.Next(-20, 55),
+ summaries[Random.Shared.Next(summaries.Length)]
+ ))
+ .ToArray();
+ return forecast;
+})
+.WithName("GetWeatherForecast");
+
+app.Run();
+
+record WeatherForecast(DateOnly Date, int TemperatureC, string? Summary)
+{
+ public int TemperatureF => 32 + (int)(TemperatureC / 0.5556);
+}
diff --git a/ShopAPI/Properties/launchSettings.json b/ShopAPI/Properties/launchSettings.json
new file mode 100644
index 0000000..7058299
--- /dev/null
+++ b/ShopAPI/Properties/launchSettings.json
@@ -0,0 +1,23 @@
+{
+ "$schema": "https://json.schemastore.org/launchsettings.json",
+ "profiles": {
+ "http": {
+ "commandName": "Project",
+ "dotnetRunMessages": true,
+ "launchBrowser": false,
+ "applicationUrl": "http://localhost:5150",
+ "environmentVariables": {
+ "ASPNETCORE_ENVIRONMENT": "Development"
+ }
+ },
+ "https": {
+ "commandName": "Project",
+ "dotnetRunMessages": true,
+ "launchBrowser": false,
+ "applicationUrl": "https://localhost:7247;http://localhost:5150",
+ "environmentVariables": {
+ "ASPNETCORE_ENVIRONMENT": "Development"
+ }
+ }
+ }
+}
diff --git a/ShopAPI/ShopAPI.csproj b/ShopAPI/ShopAPI.csproj
new file mode 100644
index 0000000..ac3adc3
--- /dev/null
+++ b/ShopAPI/ShopAPI.csproj
@@ -0,0 +1,13 @@
+
+
+
+ net9.0
+ enable
+ enable
+
+
+
+
+
+
+
diff --git a/ShopAPI/ShopAPI.http b/ShopAPI/ShopAPI.http
new file mode 100644
index 0000000..63fa350
--- /dev/null
+++ b/ShopAPI/ShopAPI.http
@@ -0,0 +1,6 @@
+@ShopAPI_HostAddress = http://localhost:5150
+
+GET {{ShopAPI_HostAddress}}/weatherforecast/
+Accept: application/json
+
+###
diff --git a/ShopAPI/ShopAPI/Controllers/AuthController.cs b/ShopAPI/ShopAPI/Controllers/AuthController.cs
index 6619d89..bea0148 100644
--- a/ShopAPI/ShopAPI/Controllers/AuthController.cs
+++ b/ShopAPI/ShopAPI/Controllers/AuthController.cs
@@ -15,6 +15,36 @@ namespace ShopAPI.Controllers
_authService = authService;
}
-
+ [HttpPost("register")]
+ public async Task Register(RegisterDto dto)
+ {
+ try
+ {
+ var token = await _authService.RegisterAsync(dto);
+ return Ok(new { token });
+ }
+ catch (Exception ex)
+ {
+ return BadRequest(new { error = ex.Message });
+ }
+
+
+ }
+
+ [HttpPost("login")]
+ public async Task Login(LoginDto dto)
+ {
+ try
+ {
+ var token = await _authService.LoginAsysc(dto);
+ return Ok(new { token });
+ }
+ catch (Exception ex)
+ {
+ return BadRequest(new { error = ex.Message });
+ }
+ }
+
+
}
}
diff --git a/ShopAPI/ShopAPI/DTOs/ProductDto.cs b/ShopAPI/ShopAPI/DTOs/ProductDto.cs
index 950211a..80649c9 100644
--- a/ShopAPI/ShopAPI/DTOs/ProductDto.cs
+++ b/ShopAPI/ShopAPI/DTOs/ProductDto.cs
@@ -2,5 +2,13 @@
{
public class ProductDto
{
+ public string Name { get; set; } = string.Empty;
+ public string Description { get; set; } = string.Empty;
+ public decimal Price { get; set; }
+ public int Stock { get; set; }
+ public int CategoryId
+ {
+ get; set;
+ }
+ }
}
-}
diff --git a/ShopAPI/ShopAPI/Data/AppDbContext.cs b/ShopAPI/ShopAPI/Data/AppDbContext.cs
index 7e3e84f..556c767 100644
--- a/ShopAPI/ShopAPI/Data/AppDbContext.cs
+++ b/ShopAPI/ShopAPI/Data/AppDbContext.cs
@@ -8,7 +8,6 @@ namespace ShopAPI.Data
{
// Appdbcontext ist Brücke zwischen Datenbank und Anwendung
public AppDbContext(DbContextOptions options) : base(options) { }
-
public DbSet Users => Set();
public DbSet Products => Set();
public DbSet Categories => Set();
diff --git a/ShopAPI/ShopAPI/Migrations/20260315225241_InitialCreate.Designer.cs b/ShopAPI/ShopAPI/Migrations/20260315225241_InitialCreate.Designer.cs
new file mode 100644
index 0000000..a2fb5d2
--- /dev/null
+++ b/ShopAPI/ShopAPI/Migrations/20260315225241_InitialCreate.Designer.cs
@@ -0,0 +1,264 @@
+//
+using System;
+using Microsoft.EntityFrameworkCore;
+using Microsoft.EntityFrameworkCore.Infrastructure;
+using Microsoft.EntityFrameworkCore.Metadata;
+using Microsoft.EntityFrameworkCore.Migrations;
+using Microsoft.EntityFrameworkCore.Storage.ValueConversion;
+using ShopAPI.Data;
+
+#nullable disable
+
+namespace ShopAPI.Migrations
+{
+ [DbContext(typeof(AppDbContext))]
+ [Migration("20260315225241_InitialCreate")]
+ partial class InitialCreate
+ {
+ ///
+ protected override void BuildTargetModel(ModelBuilder modelBuilder)
+ {
+#pragma warning disable 612, 618
+ modelBuilder
+ .HasAnnotation("ProductVersion", "9.0.0")
+ .HasAnnotation("Relational:MaxIdentifierLength", 64);
+
+ MySqlModelBuilderExtensions.AutoIncrementColumns(modelBuilder);
+
+ modelBuilder.Entity("ShopAPI.Models.Category", b =>
+ {
+ b.Property("Id")
+ .ValueGeneratedOnAdd()
+ .HasColumnType("int");
+
+ MySqlPropertyBuilderExtensions.UseMySqlIdentityColumn(b.Property("Id"));
+
+ b.Property("Name")
+ .IsRequired()
+ .HasColumnType("longtext");
+
+ b.HasKey("Id");
+
+ b.ToTable("Categories");
+ });
+
+ modelBuilder.Entity("ShopAPI.Models.Order", b =>
+ {
+ b.Property("Id")
+ .ValueGeneratedOnAdd()
+ .HasColumnType("int");
+
+ MySqlPropertyBuilderExtensions.UseMySqlIdentityColumn(b.Property("Id"));
+
+ b.Property("Createdat")
+ .HasColumnType("datetime(6)");
+
+ b.Property("Status")
+ .IsRequired()
+ .HasColumnType("longtext");
+
+ b.Property("UserId")
+ .HasColumnType("int");
+
+ b.HasKey("Id");
+
+ b.HasIndex("UserId");
+
+ b.ToTable("Orders");
+ });
+
+ modelBuilder.Entity("ShopAPI.Models.OrderItem", b =>
+ {
+ b.Property("Id")
+ .ValueGeneratedOnAdd()
+ .HasColumnType("int");
+
+ MySqlPropertyBuilderExtensions.UseMySqlIdentityColumn(b.Property("Id"));
+
+ b.Property("OrderId")
+ .HasColumnType("int");
+
+ b.Property("ProductId")
+ .HasColumnType("int");
+
+ b.Property("Quantity")
+ .HasColumnType("int");
+
+ b.Property("UnitPrice")
+ .HasColumnType("decimal(10,2)");
+
+ b.HasKey("Id");
+
+ b.HasIndex("OrderId");
+
+ b.HasIndex("ProductId");
+
+ b.ToTable("OrderItems");
+ });
+
+ modelBuilder.Entity("ShopAPI.Models.Payment", b =>
+ {
+ b.Property("Id")
+ .ValueGeneratedOnAdd()
+ .HasColumnType("int");
+
+ MySqlPropertyBuilderExtensions.UseMySqlIdentityColumn(b.Property("Id"));
+
+ b.Property("Amount")
+ .HasColumnType("decimal(10,2)");
+
+ b.Property("Method")
+ .IsRequired()
+ .HasColumnType("longtext");
+
+ b.Property("OrderId")
+ .HasColumnType("int");
+
+ b.Property("PaidAt")
+ .HasColumnType("datetime(6)");
+
+ b.Property("Status")
+ .IsRequired()
+ .HasColumnType("longtext");
+
+ b.HasKey("Id");
+
+ b.HasIndex("OrderId")
+ .IsUnique();
+
+ b.ToTable("Payments");
+ });
+
+ modelBuilder.Entity("ShopAPI.Models.Product", b =>
+ {
+ b.Property("Id")
+ .ValueGeneratedOnAdd()
+ .HasColumnType("int");
+
+ MySqlPropertyBuilderExtensions.UseMySqlIdentityColumn(b.Property("Id"));
+
+ b.Property("CategoryId")
+ .HasColumnType("int");
+
+ b.Property("Description")
+ .IsRequired()
+ .HasColumnType("longtext");
+
+ b.Property("Name")
+ .IsRequired()
+ .HasColumnType("longtext");
+
+ b.Property("Price")
+ .HasColumnType("decimal(10,2)");
+
+ b.Property("Stock")
+ .HasColumnType("int");
+
+ b.HasKey("Id");
+
+ b.HasIndex("CategoryId");
+
+ b.ToTable("Products");
+ });
+
+ modelBuilder.Entity("ShopAPI.Models.User", b =>
+ {
+ b.Property("Id")
+ .ValueGeneratedOnAdd()
+ .HasColumnType("int");
+
+ MySqlPropertyBuilderExtensions.UseMySqlIdentityColumn(b.Property("Id"));
+
+ b.Property("Role")
+ .IsRequired()
+ .HasColumnType("longtext");
+
+ b.Property("email")
+ .IsRequired()
+ .HasColumnType("longtext");
+
+ b.Property("name")
+ .IsRequired()
+ .HasColumnType("longtext");
+
+ b.Property("passwordHash")
+ .IsRequired()
+ .HasColumnType("longtext");
+
+ b.HasKey("Id");
+
+ b.ToTable("Users");
+ });
+
+ modelBuilder.Entity("ShopAPI.Models.Order", b =>
+ {
+ b.HasOne("ShopAPI.Models.User", "User")
+ .WithMany("orders")
+ .HasForeignKey("UserId")
+ .OnDelete(DeleteBehavior.Cascade)
+ .IsRequired();
+
+ b.Navigation("User");
+ });
+
+ modelBuilder.Entity("ShopAPI.Models.OrderItem", b =>
+ {
+ b.HasOne("ShopAPI.Models.Order", "Order")
+ .WithMany("OrderItems")
+ .HasForeignKey("OrderId")
+ .OnDelete(DeleteBehavior.Cascade)
+ .IsRequired();
+
+ b.HasOne("ShopAPI.Models.Product", "Product")
+ .WithMany()
+ .HasForeignKey("ProductId")
+ .OnDelete(DeleteBehavior.Cascade)
+ .IsRequired();
+
+ b.Navigation("Order");
+
+ b.Navigation("Product");
+ });
+
+ modelBuilder.Entity("ShopAPI.Models.Payment", b =>
+ {
+ b.HasOne("ShopAPI.Models.Order", "Order")
+ .WithOne("Payment")
+ .HasForeignKey("ShopAPI.Models.Payment", "OrderId")
+ .OnDelete(DeleteBehavior.Cascade)
+ .IsRequired();
+
+ b.Navigation("Order");
+ });
+
+ modelBuilder.Entity("ShopAPI.Models.Product", b =>
+ {
+ b.HasOne("ShopAPI.Models.Category", "Category")
+ .WithMany("Products")
+ .HasForeignKey("CategoryId")
+ .OnDelete(DeleteBehavior.Cascade)
+ .IsRequired();
+
+ b.Navigation("Category");
+ });
+
+ modelBuilder.Entity("ShopAPI.Models.Category", b =>
+ {
+ b.Navigation("Products");
+ });
+
+ modelBuilder.Entity("ShopAPI.Models.Order", b =>
+ {
+ b.Navigation("OrderItems");
+
+ b.Navigation("Payment");
+ });
+
+ modelBuilder.Entity("ShopAPI.Models.User", b =>
+ {
+ b.Navigation("orders");
+ });
+#pragma warning restore 612, 618
+ }
+ }
+}
diff --git a/ShopAPI/ShopAPI/Migrations/20260315225241_InitialCreate.cs b/ShopAPI/ShopAPI/Migrations/20260315225241_InitialCreate.cs
new file mode 100644
index 0000000..6dcd152
--- /dev/null
+++ b/ShopAPI/ShopAPI/Migrations/20260315225241_InitialCreate.cs
@@ -0,0 +1,207 @@
+using System;
+using Microsoft.EntityFrameworkCore.Metadata;
+using Microsoft.EntityFrameworkCore.Migrations;
+
+#nullable disable
+
+namespace ShopAPI.Migrations
+{
+ ///
+ public partial class InitialCreate : Migration
+ {
+ ///
+ protected override void Up(MigrationBuilder migrationBuilder)
+ {
+ migrationBuilder.AlterDatabase()
+ .Annotation("MySql:CharSet", "utf8mb4");
+
+ migrationBuilder.CreateTable(
+ name: "Categories",
+ columns: table => new
+ {
+ Id = table.Column(type: "int", nullable: false)
+ .Annotation("MySql:ValueGenerationStrategy", MySqlValueGenerationStrategy.IdentityColumn),
+ Name = table.Column(type: "longtext", nullable: false)
+ .Annotation("MySql:CharSet", "utf8mb4")
+ },
+ constraints: table =>
+ {
+ table.PrimaryKey("PK_Categories", x => x.Id);
+ })
+ .Annotation("MySql:CharSet", "utf8mb4");
+
+ migrationBuilder.CreateTable(
+ name: "Users",
+ columns: table => new
+ {
+ Id = table.Column(type: "int", nullable: false)
+ .Annotation("MySql:ValueGenerationStrategy", MySqlValueGenerationStrategy.IdentityColumn),
+ name = table.Column(type: "longtext", nullable: false)
+ .Annotation("MySql:CharSet", "utf8mb4"),
+ email = table.Column(type: "longtext", nullable: false)
+ .Annotation("MySql:CharSet", "utf8mb4"),
+ passwordHash = table.Column(type: "longtext", nullable: false)
+ .Annotation("MySql:CharSet", "utf8mb4"),
+ Role = table.Column(type: "longtext", nullable: false)
+ .Annotation("MySql:CharSet", "utf8mb4")
+ },
+ constraints: table =>
+ {
+ table.PrimaryKey("PK_Users", x => x.Id);
+ })
+ .Annotation("MySql:CharSet", "utf8mb4");
+
+ migrationBuilder.CreateTable(
+ name: "Products",
+ columns: table => new
+ {
+ Id = table.Column(type: "int", nullable: false)
+ .Annotation("MySql:ValueGenerationStrategy", MySqlValueGenerationStrategy.IdentityColumn),
+ Name = table.Column(type: "longtext", nullable: false)
+ .Annotation("MySql:CharSet", "utf8mb4"),
+ Description = table.Column(type: "longtext", nullable: false)
+ .Annotation("MySql:CharSet", "utf8mb4"),
+ Price = table.Column(type: "decimal(10,2)", nullable: false),
+ Stock = table.Column(type: "int", nullable: false),
+ CategoryId = table.Column(type: "int", nullable: false)
+ },
+ constraints: table =>
+ {
+ table.PrimaryKey("PK_Products", x => x.Id);
+ table.ForeignKey(
+ name: "FK_Products_Categories_CategoryId",
+ column: x => x.CategoryId,
+ principalTable: "Categories",
+ principalColumn: "Id",
+ onDelete: ReferentialAction.Cascade);
+ })
+ .Annotation("MySql:CharSet", "utf8mb4");
+
+ migrationBuilder.CreateTable(
+ name: "Orders",
+ columns: table => new
+ {
+ Id = table.Column(type: "int", nullable: false)
+ .Annotation("MySql:ValueGenerationStrategy", MySqlValueGenerationStrategy.IdentityColumn),
+ Createdat = table.Column(type: "datetime(6)", nullable: false),
+ Status = table.Column(type: "longtext", nullable: false)
+ .Annotation("MySql:CharSet", "utf8mb4"),
+ UserId = table.Column(type: "int", nullable: false)
+ },
+ constraints: table =>
+ {
+ table.PrimaryKey("PK_Orders", x => x.Id);
+ table.ForeignKey(
+ name: "FK_Orders_Users_UserId",
+ column: x => x.UserId,
+ principalTable: "Users",
+ principalColumn: "Id",
+ onDelete: ReferentialAction.Cascade);
+ })
+ .Annotation("MySql:CharSet", "utf8mb4");
+
+ migrationBuilder.CreateTable(
+ name: "OrderItems",
+ columns: table => new
+ {
+ Id = table.Column(type: "int", nullable: false)
+ .Annotation("MySql:ValueGenerationStrategy", MySqlValueGenerationStrategy.IdentityColumn),
+ Quantity = table.Column(type: "int", nullable: false),
+ UnitPrice = table.Column(type: "decimal(10,2)", nullable: false),
+ OrderId = table.Column(type: "int", nullable: false),
+ ProductId = table.Column(type: "int", nullable: false)
+ },
+ constraints: table =>
+ {
+ table.PrimaryKey("PK_OrderItems", x => x.Id);
+ table.ForeignKey(
+ name: "FK_OrderItems_Orders_OrderId",
+ column: x => x.OrderId,
+ principalTable: "Orders",
+ principalColumn: "Id",
+ onDelete: ReferentialAction.Cascade);
+ table.ForeignKey(
+ name: "FK_OrderItems_Products_ProductId",
+ column: x => x.ProductId,
+ principalTable: "Products",
+ principalColumn: "Id",
+ onDelete: ReferentialAction.Cascade);
+ })
+ .Annotation("MySql:CharSet", "utf8mb4");
+
+ migrationBuilder.CreateTable(
+ name: "Payments",
+ columns: table => new
+ {
+ Id = table.Column(type: "int", nullable: false)
+ .Annotation("MySql:ValueGenerationStrategy", MySqlValueGenerationStrategy.IdentityColumn),
+ Amount = table.Column(type: "decimal(10,2)", nullable: false),
+ Method = table.Column(type: "longtext", nullable: false)
+ .Annotation("MySql:CharSet", "utf8mb4"),
+ Status = table.Column(type: "longtext", nullable: false)
+ .Annotation("MySql:CharSet", "utf8mb4"),
+ PaidAt = table.Column(type: "datetime(6)", nullable: false),
+ OrderId = table.Column(type: "int", nullable: false)
+ },
+ constraints: table =>
+ {
+ table.PrimaryKey("PK_Payments", x => x.Id);
+ table.ForeignKey(
+ name: "FK_Payments_Orders_OrderId",
+ column: x => x.OrderId,
+ principalTable: "Orders",
+ principalColumn: "Id",
+ onDelete: ReferentialAction.Cascade);
+ })
+ .Annotation("MySql:CharSet", "utf8mb4");
+
+ migrationBuilder.CreateIndex(
+ name: "IX_OrderItems_OrderId",
+ table: "OrderItems",
+ column: "OrderId");
+
+ migrationBuilder.CreateIndex(
+ name: "IX_OrderItems_ProductId",
+ table: "OrderItems",
+ column: "ProductId");
+
+ migrationBuilder.CreateIndex(
+ name: "IX_Orders_UserId",
+ table: "Orders",
+ column: "UserId");
+
+ migrationBuilder.CreateIndex(
+ name: "IX_Payments_OrderId",
+ table: "Payments",
+ column: "OrderId",
+ unique: true);
+
+ migrationBuilder.CreateIndex(
+ name: "IX_Products_CategoryId",
+ table: "Products",
+ column: "CategoryId");
+ }
+
+ ///
+ protected override void Down(MigrationBuilder migrationBuilder)
+ {
+ migrationBuilder.DropTable(
+ name: "OrderItems");
+
+ migrationBuilder.DropTable(
+ name: "Payments");
+
+ migrationBuilder.DropTable(
+ name: "Products");
+
+ migrationBuilder.DropTable(
+ name: "Orders");
+
+ migrationBuilder.DropTable(
+ name: "Categories");
+
+ migrationBuilder.DropTable(
+ name: "Users");
+ }
+ }
+}
diff --git a/ShopAPI/ShopAPI/Migrations/AppDbContextModelSnapshot.cs b/ShopAPI/ShopAPI/Migrations/AppDbContextModelSnapshot.cs
new file mode 100644
index 0000000..b3d8d66
--- /dev/null
+++ b/ShopAPI/ShopAPI/Migrations/AppDbContextModelSnapshot.cs
@@ -0,0 +1,261 @@
+//
+using System;
+using Microsoft.EntityFrameworkCore;
+using Microsoft.EntityFrameworkCore.Infrastructure;
+using Microsoft.EntityFrameworkCore.Metadata;
+using Microsoft.EntityFrameworkCore.Storage.ValueConversion;
+using ShopAPI.Data;
+
+#nullable disable
+
+namespace ShopAPI.Migrations
+{
+ [DbContext(typeof(AppDbContext))]
+ partial class AppDbContextModelSnapshot : ModelSnapshot
+ {
+ protected override void BuildModel(ModelBuilder modelBuilder)
+ {
+#pragma warning disable 612, 618
+ modelBuilder
+ .HasAnnotation("ProductVersion", "9.0.0")
+ .HasAnnotation("Relational:MaxIdentifierLength", 64);
+
+ MySqlModelBuilderExtensions.AutoIncrementColumns(modelBuilder);
+
+ modelBuilder.Entity("ShopAPI.Models.Category", b =>
+ {
+ b.Property("Id")
+ .ValueGeneratedOnAdd()
+ .HasColumnType("int");
+
+ MySqlPropertyBuilderExtensions.UseMySqlIdentityColumn(b.Property("Id"));
+
+ b.Property("Name")
+ .IsRequired()
+ .HasColumnType("longtext");
+
+ b.HasKey("Id");
+
+ b.ToTable("Categories");
+ });
+
+ modelBuilder.Entity("ShopAPI.Models.Order", b =>
+ {
+ b.Property("Id")
+ .ValueGeneratedOnAdd()
+ .HasColumnType("int");
+
+ MySqlPropertyBuilderExtensions.UseMySqlIdentityColumn(b.Property("Id"));
+
+ b.Property("Createdat")
+ .HasColumnType("datetime(6)");
+
+ b.Property("Status")
+ .IsRequired()
+ .HasColumnType("longtext");
+
+ b.Property("UserId")
+ .HasColumnType("int");
+
+ b.HasKey("Id");
+
+ b.HasIndex("UserId");
+
+ b.ToTable("Orders");
+ });
+
+ modelBuilder.Entity("ShopAPI.Models.OrderItem", b =>
+ {
+ b.Property("Id")
+ .ValueGeneratedOnAdd()
+ .HasColumnType("int");
+
+ MySqlPropertyBuilderExtensions.UseMySqlIdentityColumn(b.Property("Id"));
+
+ b.Property("OrderId")
+ .HasColumnType("int");
+
+ b.Property("ProductId")
+ .HasColumnType("int");
+
+ b.Property("Quantity")
+ .HasColumnType("int");
+
+ b.Property("UnitPrice")
+ .HasColumnType("decimal(10,2)");
+
+ b.HasKey("Id");
+
+ b.HasIndex("OrderId");
+
+ b.HasIndex("ProductId");
+
+ b.ToTable("OrderItems");
+ });
+
+ modelBuilder.Entity("ShopAPI.Models.Payment", b =>
+ {
+ b.Property("Id")
+ .ValueGeneratedOnAdd()
+ .HasColumnType("int");
+
+ MySqlPropertyBuilderExtensions.UseMySqlIdentityColumn(b.Property("Id"));
+
+ b.Property("Amount")
+ .HasColumnType("decimal(10,2)");
+
+ b.Property("Method")
+ .IsRequired()
+ .HasColumnType("longtext");
+
+ b.Property("OrderId")
+ .HasColumnType("int");
+
+ b.Property("PaidAt")
+ .HasColumnType("datetime(6)");
+
+ b.Property("Status")
+ .IsRequired()
+ .HasColumnType("longtext");
+
+ b.HasKey("Id");
+
+ b.HasIndex("OrderId")
+ .IsUnique();
+
+ b.ToTable("Payments");
+ });
+
+ modelBuilder.Entity("ShopAPI.Models.Product", b =>
+ {
+ b.Property("Id")
+ .ValueGeneratedOnAdd()
+ .HasColumnType("int");
+
+ MySqlPropertyBuilderExtensions.UseMySqlIdentityColumn(b.Property("Id"));
+
+ b.Property("CategoryId")
+ .HasColumnType("int");
+
+ b.Property("Description")
+ .IsRequired()
+ .HasColumnType("longtext");
+
+ b.Property("Name")
+ .IsRequired()
+ .HasColumnType("longtext");
+
+ b.Property("Price")
+ .HasColumnType("decimal(10,2)");
+
+ b.Property("Stock")
+ .HasColumnType("int");
+
+ b.HasKey("Id");
+
+ b.HasIndex("CategoryId");
+
+ b.ToTable("Products");
+ });
+
+ modelBuilder.Entity("ShopAPI.Models.User", b =>
+ {
+ b.Property("Id")
+ .ValueGeneratedOnAdd()
+ .HasColumnType("int");
+
+ MySqlPropertyBuilderExtensions.UseMySqlIdentityColumn(b.Property("Id"));
+
+ b.Property("Role")
+ .IsRequired()
+ .HasColumnType("longtext");
+
+ b.Property("email")
+ .IsRequired()
+ .HasColumnType("longtext");
+
+ b.Property("name")
+ .IsRequired()
+ .HasColumnType("longtext");
+
+ b.Property("passwordHash")
+ .IsRequired()
+ .HasColumnType("longtext");
+
+ b.HasKey("Id");
+
+ b.ToTable("Users");
+ });
+
+ modelBuilder.Entity("ShopAPI.Models.Order", b =>
+ {
+ b.HasOne("ShopAPI.Models.User", "User")
+ .WithMany("orders")
+ .HasForeignKey("UserId")
+ .OnDelete(DeleteBehavior.Cascade)
+ .IsRequired();
+
+ b.Navigation("User");
+ });
+
+ modelBuilder.Entity("ShopAPI.Models.OrderItem", b =>
+ {
+ b.HasOne("ShopAPI.Models.Order", "Order")
+ .WithMany("OrderItems")
+ .HasForeignKey("OrderId")
+ .OnDelete(DeleteBehavior.Cascade)
+ .IsRequired();
+
+ b.HasOne("ShopAPI.Models.Product", "Product")
+ .WithMany()
+ .HasForeignKey("ProductId")
+ .OnDelete(DeleteBehavior.Cascade)
+ .IsRequired();
+
+ b.Navigation("Order");
+
+ b.Navigation("Product");
+ });
+
+ modelBuilder.Entity("ShopAPI.Models.Payment", b =>
+ {
+ b.HasOne("ShopAPI.Models.Order", "Order")
+ .WithOne("Payment")
+ .HasForeignKey("ShopAPI.Models.Payment", "OrderId")
+ .OnDelete(DeleteBehavior.Cascade)
+ .IsRequired();
+
+ b.Navigation("Order");
+ });
+
+ modelBuilder.Entity("ShopAPI.Models.Product", b =>
+ {
+ b.HasOne("ShopAPI.Models.Category", "Category")
+ .WithMany("Products")
+ .HasForeignKey("CategoryId")
+ .OnDelete(DeleteBehavior.Cascade)
+ .IsRequired();
+
+ b.Navigation("Category");
+ });
+
+ modelBuilder.Entity("ShopAPI.Models.Category", b =>
+ {
+ b.Navigation("Products");
+ });
+
+ modelBuilder.Entity("ShopAPI.Models.Order", b =>
+ {
+ b.Navigation("OrderItems");
+
+ b.Navigation("Payment");
+ });
+
+ modelBuilder.Entity("ShopAPI.Models.User", b =>
+ {
+ b.Navigation("orders");
+ });
+#pragma warning restore 612, 618
+ }
+ }
+}
diff --git a/ShopAPI/ShopAPI/Program.cs b/ShopAPI/ShopAPI/Program.cs
index 70bd688..2ee946e 100644
--- a/ShopAPI/ShopAPI/Program.cs
+++ b/ShopAPI/ShopAPI/Program.cs
@@ -1,6 +1,10 @@
+using Microsoft.AspNetCore.Authentication.JwtBearer;
using Microsoft.EntityFrameworkCore;
+using Microsoft.IdentityModel.Tokens;
using ShopAPI.Data;
+using ShopAPI.Services;
+using System.Text;
namespace ShopAPI
{
@@ -16,9 +20,31 @@ namespace ShopAPI
options.UseMySql(connectionString, ServerVersion.AutoDetect(connectionString))
);
+ builder.Services.AddScoped();
+
+ // JWT Authentication konfigurieren
+ builder.Services.AddAuthentication(JwtBearerDefaults.AuthenticationScheme)
+ .AddJwtBearer(options =>
+ {
+ options.TokenValidationParameters = new TokenValidationParameters
+ {
+ ValidateIssuer = true,
+ ValidateAudience = true,
+ ValidateLifetime = true,
+ ValidateIssuerSigningKey = true,
+ ValidIssuer = builder.Configuration["Jwt:Issuer"],
+ ValidAudience = builder.Configuration["Jwt:Audience"],
+ IssuerSigningKey = new SymmetricSecurityKey(
+ Encoding.UTF8.GetBytes(builder.Configuration["Jwt:Secret"]!))
+ };
+ });
+
+ builder.Services.AddAuthorization();
builder.Services.AddControllers();
var app = builder.Build();
+ app.UseAuthentication();
+ app.UseAuthorization();
app.MapControllers();
app.Run();
}
diff --git a/ShopAPI/ShopAPI/Services/CategoryService.cs b/ShopAPI/ShopAPI/Services/CategoryService.cs
new file mode 100644
index 0000000..b0a6183
--- /dev/null
+++ b/ShopAPI/ShopAPI/Services/CategoryService.cs
@@ -0,0 +1,17 @@
+
+using Microsoft.EntityFrameworkCore;
+using ShopAPI.Data;
+using ShopAPI.DTOs;
+using ShopAPI.Models;
+namespace ShopAPI.Services
+{
+ public class CategoryService
+ {
+ private readonly AppDbContext _db;
+
+ public CategoryService(AppDbContext db)
+ {
+ _db = db;
+ }
+ }
+}
diff --git a/ShopAPI/ShopAPI/Services/ProductService.cs b/ShopAPI/ShopAPI/Services/ProductService.cs
index 38344de..ddb2409 100644
--- a/ShopAPI/ShopAPI/Services/ProductService.cs
+++ b/ShopAPI/ShopAPI/Services/ProductService.cs
@@ -1,6 +1,77 @@
-namespace ShopAPI.Services
+using Microsoft.EntityFrameworkCore;
+using ShopAPI.Data;
+using ShopAPI.DTOs;
+using ShopAPI.Models;
+
+namespace ShopAPI.Services
{
public class ProductService
{
+ private readonly AppDbContext _db;
+
+ public ProductService(AppDbContext db)
+ {
+ _db = db;
+ }
+
+ // Get ALL
+ public async Task> GetALLAsync()
+ {
+ return await _db.Products
+ .Include(p => p.Category)
+ .ToListAsync();
+ }
+
+ // GET BY ID
+ public async Task GetByAsync(int id)
+ {
+ return await _db.Products
+ .Include(p => p.Category)
+ .FirstOrDefaultAsync(p => p.Id == id);
+ }
+
+ // Create
+ public async Task CreateAsync(ProductDto dto)
+ {
+ var product = new Product
+ {
+ Name = dto.Name,
+ Description = dto.Description,
+ Price = dto.Price,
+ Stock = dto.Stock,
+ CategoryId = dto.CategoryId
+ };
+
+ _db.Products.Add(product);
+ await _db.SaveChangesAsync();
+ return product;
+ }
+
+ // Update
+ public async Task UpdateAsync(int id, ProductDto dto)
+ {
+ var product = await _db.Products.FindAsync(id);
+ if (product == null) return null;
+
+ product.Name = dto.Name;
+ product.Description = dto.Description;
+ product.Price = dto.Price;
+ product.Stock = dto.Stock;
+ product.CategoryId = dto.CategoryId;
+
+ await _db.SaveChangesAsync();
+ return product;
+ }
+
+ // DELETE
+ public async Task DeleteAsync(int id)
+ {
+ var product = await _db.Products.FindAsync(id);
+ if (product == null) return false;
+
+ _db.Products.Remove(product);
+ await _db.SaveChangesAsync();
+ return true;
+ }
}
}
diff --git a/ShopAPI/ShopAPI/ShopAPI.csproj b/ShopAPI/ShopAPI/ShopAPI.csproj
index 88c34db..bf0c6e7 100644
--- a/ShopAPI/ShopAPI/ShopAPI.csproj
+++ b/ShopAPI/ShopAPI/ShopAPI.csproj
@@ -12,6 +12,10 @@
+
+ runtime; build; native; contentfiles; analyzers; buildtransitive
+ all
+
all
runtime; build; native; contentfiles; analyzers; buildtransitive
diff --git a/ShopAPI/ShopAPI/ShopAPI.csproj.user b/ShopAPI/ShopAPI/ShopAPI.csproj.user
index dd2d54c..983ecfc 100644
--- a/ShopAPI/ShopAPI/ShopAPI.csproj.user
+++ b/ShopAPI/ShopAPI/ShopAPI.csproj.user
@@ -1,6 +1,9 @@
- Container (Dockerfile)
+ http
+
+
+ ProjectDebugger
\ No newline at end of file
diff --git a/ShopAPI/ShopAPI/appsettings.json b/ShopAPI/ShopAPI/appsettings.json
index 9960b17..a00febd 100644
--- a/ShopAPI/ShopAPI/appsettings.json
+++ b/ShopAPI/ShopAPI/appsettings.json
@@ -11,5 +11,12 @@
},
+ "Jwt": {
+ "Secret": "dein-super-geheimer-schluessel-mindestens-32-zeichen!",
+ "Issuer": "ShopAPI",
+ "Audience": "ShopAPI"
+ },
+
+
"AllowedHosts": "*"
}
diff --git a/ShopAPI/ShopAPI/bin/Debug/net8.0/BCrypt.Net-Next.dll b/ShopAPI/ShopAPI/bin/Debug/net8.0/BCrypt.Net-Next.dll
new file mode 100644
index 0000000..326511b
Binary files /dev/null and b/ShopAPI/ShopAPI/bin/Debug/net8.0/BCrypt.Net-Next.dll differ
diff --git a/ShopAPI/ShopAPI/bin/Debug/net8.0/Microsoft.AspNetCore.Authentication.JwtBearer.dll b/ShopAPI/ShopAPI/bin/Debug/net8.0/Microsoft.AspNetCore.Authentication.JwtBearer.dll
new file mode 100644
index 0000000..12a5a68
Binary files /dev/null and b/ShopAPI/ShopAPI/bin/Debug/net8.0/Microsoft.AspNetCore.Authentication.JwtBearer.dll differ
diff --git a/ShopAPI/ShopAPI/bin/Debug/net8.0/Microsoft.IdentityModel.Abstractions.dll b/ShopAPI/ShopAPI/bin/Debug/net8.0/Microsoft.IdentityModel.Abstractions.dll
new file mode 100644
index 0000000..039dd11
Binary files /dev/null and b/ShopAPI/ShopAPI/bin/Debug/net8.0/Microsoft.IdentityModel.Abstractions.dll differ
diff --git a/ShopAPI/ShopAPI/bin/Debug/net8.0/Microsoft.IdentityModel.JsonWebTokens.dll b/ShopAPI/ShopAPI/bin/Debug/net8.0/Microsoft.IdentityModel.JsonWebTokens.dll
new file mode 100644
index 0000000..ca8622a
Binary files /dev/null and b/ShopAPI/ShopAPI/bin/Debug/net8.0/Microsoft.IdentityModel.JsonWebTokens.dll differ
diff --git a/ShopAPI/ShopAPI/bin/Debug/net8.0/Microsoft.IdentityModel.Logging.dll b/ShopAPI/ShopAPI/bin/Debug/net8.0/Microsoft.IdentityModel.Logging.dll
new file mode 100644
index 0000000..a97f632
Binary files /dev/null and b/ShopAPI/ShopAPI/bin/Debug/net8.0/Microsoft.IdentityModel.Logging.dll differ
diff --git a/ShopAPI/ShopAPI/bin/Debug/net8.0/Microsoft.IdentityModel.Protocols.OpenIdConnect.dll b/ShopAPI/ShopAPI/bin/Debug/net8.0/Microsoft.IdentityModel.Protocols.OpenIdConnect.dll
new file mode 100644
index 0000000..fed943a
Binary files /dev/null and b/ShopAPI/ShopAPI/bin/Debug/net8.0/Microsoft.IdentityModel.Protocols.OpenIdConnect.dll differ
diff --git a/ShopAPI/ShopAPI/bin/Debug/net8.0/Microsoft.IdentityModel.Protocols.dll b/ShopAPI/ShopAPI/bin/Debug/net8.0/Microsoft.IdentityModel.Protocols.dll
new file mode 100644
index 0000000..da9cab0
Binary files /dev/null and b/ShopAPI/ShopAPI/bin/Debug/net8.0/Microsoft.IdentityModel.Protocols.dll differ
diff --git a/ShopAPI/ShopAPI/bin/Debug/net8.0/Microsoft.IdentityModel.Tokens.dll b/ShopAPI/ShopAPI/bin/Debug/net8.0/Microsoft.IdentityModel.Tokens.dll
new file mode 100644
index 0000000..b18d1a7
Binary files /dev/null and b/ShopAPI/ShopAPI/bin/Debug/net8.0/Microsoft.IdentityModel.Tokens.dll differ
diff --git a/ShopAPI/ShopAPI/bin/Debug/net8.0/ShopAPI.deps.json b/ShopAPI/ShopAPI/bin/Debug/net8.0/ShopAPI.deps.json
index 1432d19..734f7b3 100644
--- a/ShopAPI/ShopAPI/bin/Debug/net8.0/ShopAPI.deps.json
+++ b/ShopAPI/ShopAPI/bin/Debug/net8.0/ShopAPI.deps.json
@@ -8,16 +8,28 @@
".NETCoreApp,Version=v8.0": {
"ShopAPI/1.0.0": {
"dependencies": {
+ "BCrypt.Net-Next": "4.1.0",
+ "Microsoft.AspNetCore.Authentication.JwtBearer": "8.0.25",
"Microsoft.EntityFrameworkCore": "9.0.0",
+ "Microsoft.EntityFrameworkCore.Design": "9.0.0",
"Microsoft.EntityFrameworkCore.Tools": "9.0.0",
"Microsoft.VisualStudio.Azure.Containers.Tools.Targets": "1.22.1",
"Pomelo.EntityFrameworkCore.MySql": "9.0.0",
- "Swashbuckle.AspNetCore": "6.6.2"
+ "Swashbuckle.AspNetCore": "6.6.2",
+ "System.IdentityModel.Tokens.Jwt": "8.16.0"
},
"runtime": {
"ShopAPI.dll": {}
}
},
+ "BCrypt.Net-Next/4.1.0": {
+ "runtime": {
+ "lib/netstandard2.1/BCrypt.Net-Next.dll": {
+ "assemblyVersion": "4.1.0.0",
+ "fileVersion": "4.1.0.0"
+ }
+ }
+ },
"Humanizer.Core/2.14.1": {
"runtime": {
"lib/net6.0/Humanizer.dll": {
@@ -26,6 +38,17 @@
}
}
},
+ "Microsoft.AspNetCore.Authentication.JwtBearer/8.0.25": {
+ "dependencies": {
+ "Microsoft.IdentityModel.Protocols.OpenIdConnect": "7.1.2"
+ },
+ "runtime": {
+ "lib/net8.0/Microsoft.AspNetCore.Authentication.JwtBearer.dll": {
+ "assemblyVersion": "8.0.25.0",
+ "fileVersion": "8.0.2526.11225"
+ }
+ }
+ },
"Microsoft.Bcl.AsyncInterfaces/7.0.0": {
"runtime": {
"lib/netstandard2.1/Microsoft.Bcl.AsyncInterfaces.dll": {
@@ -501,6 +524,72 @@
}
}
},
+ "Microsoft.IdentityModel.Abstractions/8.16.0": {
+ "runtime": {
+ "lib/net8.0/Microsoft.IdentityModel.Abstractions.dll": {
+ "assemblyVersion": "8.16.0.0",
+ "fileVersion": "8.16.0.26043"
+ }
+ }
+ },
+ "Microsoft.IdentityModel.JsonWebTokens/8.16.0": {
+ "dependencies": {
+ "Microsoft.IdentityModel.Tokens": "8.16.0"
+ },
+ "runtime": {
+ "lib/net8.0/Microsoft.IdentityModel.JsonWebTokens.dll": {
+ "assemblyVersion": "8.16.0.0",
+ "fileVersion": "8.16.0.26043"
+ }
+ }
+ },
+ "Microsoft.IdentityModel.Logging/8.16.0": {
+ "dependencies": {
+ "Microsoft.IdentityModel.Abstractions": "8.16.0"
+ },
+ "runtime": {
+ "lib/net8.0/Microsoft.IdentityModel.Logging.dll": {
+ "assemblyVersion": "8.16.0.0",
+ "fileVersion": "8.16.0.26043"
+ }
+ }
+ },
+ "Microsoft.IdentityModel.Protocols/7.1.2": {
+ "dependencies": {
+ "Microsoft.IdentityModel.Logging": "8.16.0",
+ "Microsoft.IdentityModel.Tokens": "8.16.0"
+ },
+ "runtime": {
+ "lib/net8.0/Microsoft.IdentityModel.Protocols.dll": {
+ "assemblyVersion": "7.1.2.0",
+ "fileVersion": "7.1.2.41121"
+ }
+ }
+ },
+ "Microsoft.IdentityModel.Protocols.OpenIdConnect/7.1.2": {
+ "dependencies": {
+ "Microsoft.IdentityModel.Protocols": "7.1.2",
+ "System.IdentityModel.Tokens.Jwt": "8.16.0"
+ },
+ "runtime": {
+ "lib/net8.0/Microsoft.IdentityModel.Protocols.OpenIdConnect.dll": {
+ "assemblyVersion": "7.1.2.0",
+ "fileVersion": "7.1.2.41121"
+ }
+ }
+ },
+ "Microsoft.IdentityModel.Tokens/8.16.0": {
+ "dependencies": {
+ "Microsoft.Extensions.Logging.Abstractions": "9.0.0",
+ "Microsoft.IdentityModel.Logging": "8.16.0"
+ },
+ "runtime": {
+ "lib/net8.0/Microsoft.IdentityModel.Tokens.dll": {
+ "assemblyVersion": "8.16.0.0",
+ "fileVersion": "8.16.0.26043"
+ }
+ }
+ },
"Microsoft.OpenApi/1.6.14": {
"runtime": {
"lib/netstandard2.0/Microsoft.OpenApi.dll": {
@@ -660,6 +749,18 @@
}
}
},
+ "System.IdentityModel.Tokens.Jwt/8.16.0": {
+ "dependencies": {
+ "Microsoft.IdentityModel.JsonWebTokens": "8.16.0",
+ "Microsoft.IdentityModel.Tokens": "8.16.0"
+ },
+ "runtime": {
+ "lib/net8.0/System.IdentityModel.Tokens.Jwt.dll": {
+ "assemblyVersion": "8.16.0.0",
+ "fileVersion": "8.16.0.26043"
+ }
+ }
+ },
"System.IO.Pipelines/9.0.0": {
"runtime": {
"lib/net8.0/System.IO.Pipelines.dll": {
@@ -711,6 +812,13 @@
"serviceable": false,
"sha512": ""
},
+ "BCrypt.Net-Next/4.1.0": {
+ "type": "package",
+ "serviceable": true,
+ "sha512": "sha512-5YT3DKllmtkyW68PjURu/V1TOe4MKiByKwsRNVcfYE1S5KuFTeozdmKzyNzolKiQF391OXCaQtINvYT3j1ERzQ==",
+ "path": "bcrypt.net-next/4.1.0",
+ "hashPath": "bcrypt.net-next.4.1.0.nupkg.sha512"
+ },
"Humanizer.Core/2.14.1": {
"type": "package",
"serviceable": true,
@@ -718,6 +826,13 @@
"path": "humanizer.core/2.14.1",
"hashPath": "humanizer.core.2.14.1.nupkg.sha512"
},
+ "Microsoft.AspNetCore.Authentication.JwtBearer/8.0.25": {
+ "type": "package",
+ "serviceable": true,
+ "sha512": "sha512-nb6jCyxh5eP9bsXkHmGcDxUiVIl5wJSombl3LN2L+sjGEVXzcMKbdRe0fp8LQtuBM2hKXcXFxMAYdnohdYJF8Q==",
+ "path": "microsoft.aspnetcore.authentication.jwtbearer/8.0.25",
+ "hashPath": "microsoft.aspnetcore.authentication.jwtbearer.8.0.25.nupkg.sha512"
+ },
"Microsoft.Bcl.AsyncInterfaces/7.0.0": {
"type": "package",
"serviceable": true,
@@ -900,6 +1015,48 @@
"path": "microsoft.extensions.primitives/9.0.0",
"hashPath": "microsoft.extensions.primitives.9.0.0.nupkg.sha512"
},
+ "Microsoft.IdentityModel.Abstractions/8.16.0": {
+ "type": "package",
+ "serviceable": true,
+ "sha512": "sha512-gSxKLWRZzBpIsEoeUPkxfywNCCvRvl7hkq146XHPk5vOQc9izSf1I+uL1vh4y2U19QPxd9Z8K/8AdWyxYz2lSg==",
+ "path": "microsoft.identitymodel.abstractions/8.16.0",
+ "hashPath": "microsoft.identitymodel.abstractions.8.16.0.nupkg.sha512"
+ },
+ "Microsoft.IdentityModel.JsonWebTokens/8.16.0": {
+ "type": "package",
+ "serviceable": true,
+ "sha512": "sha512-prBU72cIP4V8E9fhN+o/YdskTsLeIcnKPbhZf0X6mD7fdxoZqnS/NdEkSr+9Zp+2q7OZBOMfNBKGbTbhXODO4w==",
+ "path": "microsoft.identitymodel.jsonwebtokens/8.16.0",
+ "hashPath": "microsoft.identitymodel.jsonwebtokens.8.16.0.nupkg.sha512"
+ },
+ "Microsoft.IdentityModel.Logging/8.16.0": {
+ "type": "package",
+ "serviceable": true,
+ "sha512": "sha512-MTzXmETkNQPACR7/XCXM1OGM6oU9RkyibqeJRtO9Ndew2LnGjMf9Atqj2VSf4XC27X0FQycUAlzxxEgQMWn2xQ==",
+ "path": "microsoft.identitymodel.logging/8.16.0",
+ "hashPath": "microsoft.identitymodel.logging.8.16.0.nupkg.sha512"
+ },
+ "Microsoft.IdentityModel.Protocols/7.1.2": {
+ "type": "package",
+ "serviceable": true,
+ "sha512": "sha512-SydLwMRFx6EHPWJ+N6+MVaoArN1Htt92b935O3RUWPY1yUF63zEjvd3lBu79eWdZUwedP8TN2I5V9T3nackvIQ==",
+ "path": "microsoft.identitymodel.protocols/7.1.2",
+ "hashPath": "microsoft.identitymodel.protocols.7.1.2.nupkg.sha512"
+ },
+ "Microsoft.IdentityModel.Protocols.OpenIdConnect/7.1.2": {
+ "type": "package",
+ "serviceable": true,
+ "sha512": "sha512-6lHQoLXhnMQ42mGrfDkzbIOR3rzKM1W1tgTeMPLgLCqwwGw0d96xFi/UiX/fYsu7d6cD5MJiL3+4HuI8VU+sVQ==",
+ "path": "microsoft.identitymodel.protocols.openidconnect/7.1.2",
+ "hashPath": "microsoft.identitymodel.protocols.openidconnect.7.1.2.nupkg.sha512"
+ },
+ "Microsoft.IdentityModel.Tokens/8.16.0": {
+ "type": "package",
+ "serviceable": true,
+ "sha512": "sha512-rtViGJcGsN7WcfUNErwNeQgjuU5cJNl6FDQsfi9TncwO+Epzn0FTfBsg3YuFW1Q0Ch/KPxaVdjLw3/+5Z5ceFQ==",
+ "path": "microsoft.identitymodel.tokens/8.16.0",
+ "hashPath": "microsoft.identitymodel.tokens.8.16.0.nupkg.sha512"
+ },
"Microsoft.OpenApi/1.6.14": {
"type": "package",
"serviceable": true,
@@ -1026,6 +1183,13 @@
"path": "system.diagnostics.diagnosticsource/9.0.0",
"hashPath": "system.diagnostics.diagnosticsource.9.0.0.nupkg.sha512"
},
+ "System.IdentityModel.Tokens.Jwt/8.16.0": {
+ "type": "package",
+ "serviceable": true,
+ "sha512": "sha512-rrs2u7DRMXQG2yh0oVyF/vLwosfRv20Ld2iEpYcKwQWXHjfV+gFXNQsQ9p008kR9Ou4pxBs68Q6/9zC8Gi1wjg==",
+ "path": "system.identitymodel.tokens.jwt/8.16.0",
+ "hashPath": "system.identitymodel.tokens.jwt.8.16.0.nupkg.sha512"
+ },
"System.IO.Pipelines/9.0.0": {
"type": "package",
"serviceable": true,
diff --git a/ShopAPI/ShopAPI/bin/Debug/net8.0/ShopAPI.dll b/ShopAPI/ShopAPI/bin/Debug/net8.0/ShopAPI.dll
index d4a3b1f..9f16ddc 100644
Binary files a/ShopAPI/ShopAPI/bin/Debug/net8.0/ShopAPI.dll and b/ShopAPI/ShopAPI/bin/Debug/net8.0/ShopAPI.dll differ
diff --git a/ShopAPI/ShopAPI/bin/Debug/net8.0/ShopAPI.exe b/ShopAPI/ShopAPI/bin/Debug/net8.0/ShopAPI.exe
index c1e439e..d4b5c26 100644
Binary files a/ShopAPI/ShopAPI/bin/Debug/net8.0/ShopAPI.exe and b/ShopAPI/ShopAPI/bin/Debug/net8.0/ShopAPI.exe differ
diff --git a/ShopAPI/ShopAPI/bin/Debug/net8.0/ShopAPI.pdb b/ShopAPI/ShopAPI/bin/Debug/net8.0/ShopAPI.pdb
index 5f2564c..1904dd2 100644
Binary files a/ShopAPI/ShopAPI/bin/Debug/net8.0/ShopAPI.pdb and b/ShopAPI/ShopAPI/bin/Debug/net8.0/ShopAPI.pdb differ
diff --git a/ShopAPI/ShopAPI/bin/Debug/net8.0/System.IdentityModel.Tokens.Jwt.dll b/ShopAPI/ShopAPI/bin/Debug/net8.0/System.IdentityModel.Tokens.Jwt.dll
new file mode 100644
index 0000000..cdaeb50
Binary files /dev/null and b/ShopAPI/ShopAPI/bin/Debug/net8.0/System.IdentityModel.Tokens.Jwt.dll differ
diff --git a/ShopAPI/ShopAPI/bin/Debug/net8.0/appsettings.json b/ShopAPI/ShopAPI/bin/Debug/net8.0/appsettings.json
index 9960b17..a00febd 100644
--- a/ShopAPI/ShopAPI/bin/Debug/net8.0/appsettings.json
+++ b/ShopAPI/ShopAPI/bin/Debug/net8.0/appsettings.json
@@ -11,5 +11,12 @@
},
+ "Jwt": {
+ "Secret": "dein-super-geheimer-schluessel-mindestens-32-zeichen!",
+ "Issuer": "ShopAPI",
+ "Audience": "ShopAPI"
+ },
+
+
"AllowedHosts": "*"
}
diff --git a/ShopAPI/ShopAPI/obj/Debug/net8.0/ApiEndpoints.json b/ShopAPI/ShopAPI/obj/Debug/net8.0/ApiEndpoints.json
new file mode 100644
index 0000000..1681aee
--- /dev/null
+++ b/ShopAPI/ShopAPI/obj/Debug/net8.0/ApiEndpoints.json
@@ -0,0 +1,55 @@
+[
+ {
+ "ContainingType": "ShopAPI.Controllers.AuthController",
+ "Method": "Login",
+ "RelativePath": "api/Auth/login",
+ "HttpMethod": "POST",
+ "IsController": true,
+ "Order": 0,
+ "Parameters": [
+ {
+ "Name": "dto",
+ "Type": "ShopAPI.DTOs.LoginDto",
+ "IsRequired": true
+ }
+ ],
+ "ReturnTypes": []
+ },
+ {
+ "ContainingType": "ShopAPI.Controllers.AuthController",
+ "Method": "Register",
+ "RelativePath": "api/Auth/register",
+ "HttpMethod": "POST",
+ "IsController": true,
+ "Order": 0,
+ "Parameters": [
+ {
+ "Name": "dto",
+ "Type": "ShopAPI.DTOs.RegisterDto",
+ "IsRequired": true
+ }
+ ],
+ "ReturnTypes": []
+ },
+ {
+ "ContainingType": "ShopAPI.Controllers.WeatherForecastController",
+ "Method": "Get",
+ "RelativePath": "WeatherForecast",
+ "HttpMethod": "GET",
+ "IsController": true,
+ "Order": 0,
+ "Parameters": [],
+ "ReturnTypes": [
+ {
+ "Type": "System.Collections.Generic.IEnumerable\u00601[[ShopAPI.WeatherForecast, ShopAPI, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]]",
+ "MediaTypes": [
+ "text/plain",
+ "application/json",
+ "text/json"
+ ],
+ "StatusCode": 200
+ }
+ ],
+ "EndpointName": "GetWeatherForecast"
+ }
+]
\ No newline at end of file
diff --git a/ShopAPI/ShopAPI/obj/Debug/net8.0/ShopAPI.AssemblyInfo.cs b/ShopAPI/ShopAPI/obj/Debug/net8.0/ShopAPI.AssemblyInfo.cs
index b53f554..d42b909 100644
--- a/ShopAPI/ShopAPI/obj/Debug/net8.0/ShopAPI.AssemblyInfo.cs
+++ b/ShopAPI/ShopAPI/obj/Debug/net8.0/ShopAPI.AssemblyInfo.cs
@@ -15,7 +15,7 @@ using System.Reflection;
[assembly: System.Reflection.AssemblyCompanyAttribute("ShopAPI")]
[assembly: System.Reflection.AssemblyConfigurationAttribute("Debug")]
[assembly: System.Reflection.AssemblyFileVersionAttribute("1.0.0.0")]
-[assembly: System.Reflection.AssemblyInformationalVersionAttribute("1.0.0")]
+[assembly: System.Reflection.AssemblyInformationalVersionAttribute("1.0.0+c4468dc74b1949de53923f9d96c4a82df7a7b10b")]
[assembly: System.Reflection.AssemblyProductAttribute("ShopAPI")]
[assembly: System.Reflection.AssemblyTitleAttribute("ShopAPI")]
[assembly: System.Reflection.AssemblyVersionAttribute("1.0.0.0")]
diff --git a/ShopAPI/ShopAPI/obj/Debug/net8.0/ShopAPI.AssemblyInfoInputs.cache b/ShopAPI/ShopAPI/obj/Debug/net8.0/ShopAPI.AssemblyInfoInputs.cache
index a9ab633..3dff8c4 100644
--- a/ShopAPI/ShopAPI/obj/Debug/net8.0/ShopAPI.AssemblyInfoInputs.cache
+++ b/ShopAPI/ShopAPI/obj/Debug/net8.0/ShopAPI.AssemblyInfoInputs.cache
@@ -1 +1 @@
-be52108e965d99112d5251b6f56629d05a000587350c277aca31d5ba1f416964
+314f6ea8298063e592f04d2bb86fdfdf35b5fe4b964315aa2eb8f9cd9f54aa63
diff --git a/ShopAPI/ShopAPI/obj/Debug/net8.0/ShopAPI.GeneratedMSBuildEditorConfig.editorconfig b/ShopAPI/ShopAPI/obj/Debug/net8.0/ShopAPI.GeneratedMSBuildEditorConfig.editorconfig
index e094bcd..7c07bfa 100644
--- a/ShopAPI/ShopAPI/obj/Debug/net8.0/ShopAPI.GeneratedMSBuildEditorConfig.editorconfig
+++ b/ShopAPI/ShopAPI/obj/Debug/net8.0/ShopAPI.GeneratedMSBuildEditorConfig.editorconfig
@@ -17,13 +17,13 @@ build_property._SupportedPlatformList = Linux,macOS,Windows
build_property._SupportedPlatformList = Linux,macOS,Windows
build_property.RootNamespace = ShopAPI
build_property.RootNamespace = ShopAPI
-build_property.ProjectDir = C:\Users\bib\Desktop\Projekt-Fluxon\website_Fluxon\ShopAPI\ShopAPI\
+build_property.ProjectDir = C:\Users\bib\Desktop\Projekt-Fluxon\shop_Fluxon\ShopAPI\ShopAPI\
build_property.EnableComHosting =
build_property.EnableGeneratedComInterfaceComImportInterop =
build_property.RazorLangVersion = 8.0
build_property.SupportLocalizedComponentNames =
build_property.GenerateRazorMetadataSourceChecksumAttributes =
-build_property.MSBuildProjectDirectory = C:\Users\bib\Desktop\Projekt-Fluxon\website_Fluxon\ShopAPI\ShopAPI
+build_property.MSBuildProjectDirectory = C:\Users\bib\Desktop\Projekt-Fluxon\shop_Fluxon\ShopAPI\ShopAPI
build_property._RazorSourceGeneratorDebug =
build_property.EffectiveAnalysisLevelStyle = 8.0
build_property.EnableCodeStyleSeverity =
diff --git a/ShopAPI/ShopAPI/obj/Debug/net8.0/ShopAPI.MvcApplicationPartsAssemblyInfo.cs b/ShopAPI/ShopAPI/obj/Debug/net8.0/ShopAPI.MvcApplicationPartsAssemblyInfo.cs
index fb25a17..c3c8c13 100644
--- a/ShopAPI/ShopAPI/obj/Debug/net8.0/ShopAPI.MvcApplicationPartsAssemblyInfo.cs
+++ b/ShopAPI/ShopAPI/obj/Debug/net8.0/ShopAPI.MvcApplicationPartsAssemblyInfo.cs
@@ -1,10 +1,9 @@
//------------------------------------------------------------------------------
//
-// Dieser Code wurde von einem Tool generiert.
-// Laufzeitversion:4.0.30319.42000
+// This code was generated by a tool.
//
-// Änderungen an dieser Datei können falsches Verhalten verursachen und gehen verloren, wenn
-// der Code erneut generiert wird.
+// Changes to this file may cause incorrect behavior and will be lost if
+// the code is regenerated.
//
//------------------------------------------------------------------------------
diff --git a/ShopAPI/ShopAPI/obj/Debug/net8.0/ShopAPI.assets.cache b/ShopAPI/ShopAPI/obj/Debug/net8.0/ShopAPI.assets.cache
index dd51ceb..cd6d097 100644
Binary files a/ShopAPI/ShopAPI/obj/Debug/net8.0/ShopAPI.assets.cache and b/ShopAPI/ShopAPI/obj/Debug/net8.0/ShopAPI.assets.cache differ
diff --git a/ShopAPI/ShopAPI/obj/Debug/net8.0/ShopAPI.csproj.CoreCompileInputs.cache b/ShopAPI/ShopAPI/obj/Debug/net8.0/ShopAPI.csproj.CoreCompileInputs.cache
index 35b645a..e0aa153 100644
--- a/ShopAPI/ShopAPI/obj/Debug/net8.0/ShopAPI.csproj.CoreCompileInputs.cache
+++ b/ShopAPI/ShopAPI/obj/Debug/net8.0/ShopAPI.csproj.CoreCompileInputs.cache
@@ -1 +1 @@
-af378ad7e60f8f4f8f66d7100fe853bfd8622963c6af9a14946e4724352cf619
+e359bd7b8b0e1a3edf29245ca19f3d8953c35486fad3d014e10e1d8cce021bd6
diff --git a/ShopAPI/ShopAPI/obj/Debug/net8.0/ShopAPI.csproj.FileListAbsolute.txt b/ShopAPI/ShopAPI/obj/Debug/net8.0/ShopAPI.csproj.FileListAbsolute.txt
index 658c188..a305b4b 100644
--- a/ShopAPI/ShopAPI/obj/Debug/net8.0/ShopAPI.csproj.FileListAbsolute.txt
+++ b/ShopAPI/ShopAPI/obj/Debug/net8.0/ShopAPI.csproj.FileListAbsolute.txt
@@ -135,3 +135,148 @@ C:\Users\bib\Desktop\Projekt-Fluxon\website_Fluxon\ShopAPI\ShopAPI\obj\Debug\net
C:\Users\bib\Desktop\Projekt-Fluxon\website_Fluxon\ShopAPI\ShopAPI\obj\Debug\net8.0\ShopAPI.pdb
C:\Users\bib\Desktop\Projekt-Fluxon\website_Fluxon\ShopAPI\ShopAPI\obj\Debug\net8.0\ShopAPI.genruntimeconfig.cache
C:\Users\bib\Desktop\Projekt-Fluxon\website_Fluxon\ShopAPI\ShopAPI\obj\Debug\net8.0\ref\ShopAPI.dll
+C:\Users\bib\Desktop\Projekt-Fluxon\shop_Fluxon\ShopAPI\ShopAPI\bin\Debug\net8.0\appsettings.Development.json
+C:\Users\bib\Desktop\Projekt-Fluxon\shop_Fluxon\ShopAPI\ShopAPI\bin\Debug\net8.0\ShopAPI.staticwebassets.endpoints.json
+C:\Users\bib\Desktop\Projekt-Fluxon\shop_Fluxon\ShopAPI\ShopAPI\bin\Debug\net8.0\appsettings.json
+C:\Users\bib\Desktop\Projekt-Fluxon\shop_Fluxon\ShopAPI\ShopAPI\bin\Debug\net8.0\ShopAPI.exe
+C:\Users\bib\Desktop\Projekt-Fluxon\shop_Fluxon\ShopAPI\ShopAPI\bin\Debug\net8.0\ShopAPI.deps.json
+C:\Users\bib\Desktop\Projekt-Fluxon\shop_Fluxon\ShopAPI\ShopAPI\bin\Debug\net8.0\ShopAPI.runtimeconfig.json
+C:\Users\bib\Desktop\Projekt-Fluxon\shop_Fluxon\ShopAPI\ShopAPI\bin\Debug\net8.0\ShopAPI.dll
+C:\Users\bib\Desktop\Projekt-Fluxon\shop_Fluxon\ShopAPI\ShopAPI\bin\Debug\net8.0\ShopAPI.pdb
+C:\Users\bib\Desktop\Projekt-Fluxon\shop_Fluxon\ShopAPI\ShopAPI\bin\Debug\net8.0\BCrypt.Net-Next.dll
+C:\Users\bib\Desktop\Projekt-Fluxon\shop_Fluxon\ShopAPI\ShopAPI\bin\Debug\net8.0\Humanizer.dll
+C:\Users\bib\Desktop\Projekt-Fluxon\shop_Fluxon\ShopAPI\ShopAPI\bin\Debug\net8.0\Microsoft.AspNetCore.Authentication.JwtBearer.dll
+C:\Users\bib\Desktop\Projekt-Fluxon\shop_Fluxon\ShopAPI\ShopAPI\bin\Debug\net8.0\Microsoft.Bcl.AsyncInterfaces.dll
+C:\Users\bib\Desktop\Projekt-Fluxon\shop_Fluxon\ShopAPI\ShopAPI\bin\Debug\net8.0\Microsoft.Build.Locator.dll
+C:\Users\bib\Desktop\Projekt-Fluxon\shop_Fluxon\ShopAPI\ShopAPI\bin\Debug\net8.0\Microsoft.CodeAnalysis.dll
+C:\Users\bib\Desktop\Projekt-Fluxon\shop_Fluxon\ShopAPI\ShopAPI\bin\Debug\net8.0\Microsoft.CodeAnalysis.CSharp.dll
+C:\Users\bib\Desktop\Projekt-Fluxon\shop_Fluxon\ShopAPI\ShopAPI\bin\Debug\net8.0\Microsoft.CodeAnalysis.CSharp.Workspaces.dll
+C:\Users\bib\Desktop\Projekt-Fluxon\shop_Fluxon\ShopAPI\ShopAPI\bin\Debug\net8.0\Microsoft.CodeAnalysis.Workspaces.dll
+C:\Users\bib\Desktop\Projekt-Fluxon\shop_Fluxon\ShopAPI\ShopAPI\bin\Debug\net8.0\Microsoft.CodeAnalysis.Workspaces.MSBuild.BuildHost.dll
+C:\Users\bib\Desktop\Projekt-Fluxon\shop_Fluxon\ShopAPI\ShopAPI\bin\Debug\net8.0\Microsoft.CodeAnalysis.Workspaces.MSBuild.dll
+C:\Users\bib\Desktop\Projekt-Fluxon\shop_Fluxon\ShopAPI\ShopAPI\bin\Debug\net8.0\Microsoft.EntityFrameworkCore.dll
+C:\Users\bib\Desktop\Projekt-Fluxon\shop_Fluxon\ShopAPI\ShopAPI\bin\Debug\net8.0\Microsoft.EntityFrameworkCore.Abstractions.dll
+C:\Users\bib\Desktop\Projekt-Fluxon\shop_Fluxon\ShopAPI\ShopAPI\bin\Debug\net8.0\Microsoft.EntityFrameworkCore.Design.dll
+C:\Users\bib\Desktop\Projekt-Fluxon\shop_Fluxon\ShopAPI\ShopAPI\bin\Debug\net8.0\Microsoft.EntityFrameworkCore.Relational.dll
+C:\Users\bib\Desktop\Projekt-Fluxon\shop_Fluxon\ShopAPI\ShopAPI\bin\Debug\net8.0\Microsoft.Extensions.Caching.Abstractions.dll
+C:\Users\bib\Desktop\Projekt-Fluxon\shop_Fluxon\ShopAPI\ShopAPI\bin\Debug\net8.0\Microsoft.Extensions.Caching.Memory.dll
+C:\Users\bib\Desktop\Projekt-Fluxon\shop_Fluxon\ShopAPI\ShopAPI\bin\Debug\net8.0\Microsoft.Extensions.Configuration.Abstractions.dll
+C:\Users\bib\Desktop\Projekt-Fluxon\shop_Fluxon\ShopAPI\ShopAPI\bin\Debug\net8.0\Microsoft.Extensions.DependencyInjection.dll
+C:\Users\bib\Desktop\Projekt-Fluxon\shop_Fluxon\ShopAPI\ShopAPI\bin\Debug\net8.0\Microsoft.Extensions.DependencyInjection.Abstractions.dll
+C:\Users\bib\Desktop\Projekt-Fluxon\shop_Fluxon\ShopAPI\ShopAPI\bin\Debug\net8.0\Microsoft.Extensions.DependencyModel.dll
+C:\Users\bib\Desktop\Projekt-Fluxon\shop_Fluxon\ShopAPI\ShopAPI\bin\Debug\net8.0\Microsoft.Extensions.Logging.dll
+C:\Users\bib\Desktop\Projekt-Fluxon\shop_Fluxon\ShopAPI\ShopAPI\bin\Debug\net8.0\Microsoft.Extensions.Logging.Abstractions.dll
+C:\Users\bib\Desktop\Projekt-Fluxon\shop_Fluxon\ShopAPI\ShopAPI\bin\Debug\net8.0\Microsoft.Extensions.Options.dll
+C:\Users\bib\Desktop\Projekt-Fluxon\shop_Fluxon\ShopAPI\ShopAPI\bin\Debug\net8.0\Microsoft.Extensions.Primitives.dll
+C:\Users\bib\Desktop\Projekt-Fluxon\shop_Fluxon\ShopAPI\ShopAPI\bin\Debug\net8.0\Microsoft.IdentityModel.Abstractions.dll
+C:\Users\bib\Desktop\Projekt-Fluxon\shop_Fluxon\ShopAPI\ShopAPI\bin\Debug\net8.0\Microsoft.IdentityModel.JsonWebTokens.dll
+C:\Users\bib\Desktop\Projekt-Fluxon\shop_Fluxon\ShopAPI\ShopAPI\bin\Debug\net8.0\Microsoft.IdentityModel.Logging.dll
+C:\Users\bib\Desktop\Projekt-Fluxon\shop_Fluxon\ShopAPI\ShopAPI\bin\Debug\net8.0\Microsoft.IdentityModel.Protocols.dll
+C:\Users\bib\Desktop\Projekt-Fluxon\shop_Fluxon\ShopAPI\ShopAPI\bin\Debug\net8.0\Microsoft.IdentityModel.Protocols.OpenIdConnect.dll
+C:\Users\bib\Desktop\Projekt-Fluxon\shop_Fluxon\ShopAPI\ShopAPI\bin\Debug\net8.0\Microsoft.IdentityModel.Tokens.dll
+C:\Users\bib\Desktop\Projekt-Fluxon\shop_Fluxon\ShopAPI\ShopAPI\bin\Debug\net8.0\Microsoft.OpenApi.dll
+C:\Users\bib\Desktop\Projekt-Fluxon\shop_Fluxon\ShopAPI\ShopAPI\bin\Debug\net8.0\Mono.TextTemplating.dll
+C:\Users\bib\Desktop\Projekt-Fluxon\shop_Fluxon\ShopAPI\ShopAPI\bin\Debug\net8.0\MySqlConnector.dll
+C:\Users\bib\Desktop\Projekt-Fluxon\shop_Fluxon\ShopAPI\ShopAPI\bin\Debug\net8.0\Pomelo.EntityFrameworkCore.MySql.dll
+C:\Users\bib\Desktop\Projekt-Fluxon\shop_Fluxon\ShopAPI\ShopAPI\bin\Debug\net8.0\Swashbuckle.AspNetCore.Swagger.dll
+C:\Users\bib\Desktop\Projekt-Fluxon\shop_Fluxon\ShopAPI\ShopAPI\bin\Debug\net8.0\Swashbuckle.AspNetCore.SwaggerGen.dll
+C:\Users\bib\Desktop\Projekt-Fluxon\shop_Fluxon\ShopAPI\ShopAPI\bin\Debug\net8.0\Swashbuckle.AspNetCore.SwaggerUI.dll
+C:\Users\bib\Desktop\Projekt-Fluxon\shop_Fluxon\ShopAPI\ShopAPI\bin\Debug\net8.0\System.CodeDom.dll
+C:\Users\bib\Desktop\Projekt-Fluxon\shop_Fluxon\ShopAPI\ShopAPI\bin\Debug\net8.0\System.Composition.AttributedModel.dll
+C:\Users\bib\Desktop\Projekt-Fluxon\shop_Fluxon\ShopAPI\ShopAPI\bin\Debug\net8.0\System.Composition.Convention.dll
+C:\Users\bib\Desktop\Projekt-Fluxon\shop_Fluxon\ShopAPI\ShopAPI\bin\Debug\net8.0\System.Composition.Hosting.dll
+C:\Users\bib\Desktop\Projekt-Fluxon\shop_Fluxon\ShopAPI\ShopAPI\bin\Debug\net8.0\System.Composition.Runtime.dll
+C:\Users\bib\Desktop\Projekt-Fluxon\shop_Fluxon\ShopAPI\ShopAPI\bin\Debug\net8.0\System.Composition.TypedParts.dll
+C:\Users\bib\Desktop\Projekt-Fluxon\shop_Fluxon\ShopAPI\ShopAPI\bin\Debug\net8.0\System.Diagnostics.DiagnosticSource.dll
+C:\Users\bib\Desktop\Projekt-Fluxon\shop_Fluxon\ShopAPI\ShopAPI\bin\Debug\net8.0\System.IdentityModel.Tokens.Jwt.dll
+C:\Users\bib\Desktop\Projekt-Fluxon\shop_Fluxon\ShopAPI\ShopAPI\bin\Debug\net8.0\System.IO.Pipelines.dll
+C:\Users\bib\Desktop\Projekt-Fluxon\shop_Fluxon\ShopAPI\ShopAPI\bin\Debug\net8.0\System.Text.Encodings.Web.dll
+C:\Users\bib\Desktop\Projekt-Fluxon\shop_Fluxon\ShopAPI\ShopAPI\bin\Debug\net8.0\System.Text.Json.dll
+C:\Users\bib\Desktop\Projekt-Fluxon\shop_Fluxon\ShopAPI\ShopAPI\bin\Debug\net8.0\cs\Microsoft.CodeAnalysis.resources.dll
+C:\Users\bib\Desktop\Projekt-Fluxon\shop_Fluxon\ShopAPI\ShopAPI\bin\Debug\net8.0\de\Microsoft.CodeAnalysis.resources.dll
+C:\Users\bib\Desktop\Projekt-Fluxon\shop_Fluxon\ShopAPI\ShopAPI\bin\Debug\net8.0\es\Microsoft.CodeAnalysis.resources.dll
+C:\Users\bib\Desktop\Projekt-Fluxon\shop_Fluxon\ShopAPI\ShopAPI\bin\Debug\net8.0\fr\Microsoft.CodeAnalysis.resources.dll
+C:\Users\bib\Desktop\Projekt-Fluxon\shop_Fluxon\ShopAPI\ShopAPI\bin\Debug\net8.0\it\Microsoft.CodeAnalysis.resources.dll
+C:\Users\bib\Desktop\Projekt-Fluxon\shop_Fluxon\ShopAPI\ShopAPI\bin\Debug\net8.0\ja\Microsoft.CodeAnalysis.resources.dll
+C:\Users\bib\Desktop\Projekt-Fluxon\shop_Fluxon\ShopAPI\ShopAPI\bin\Debug\net8.0\ko\Microsoft.CodeAnalysis.resources.dll
+C:\Users\bib\Desktop\Projekt-Fluxon\shop_Fluxon\ShopAPI\ShopAPI\bin\Debug\net8.0\pl\Microsoft.CodeAnalysis.resources.dll
+C:\Users\bib\Desktop\Projekt-Fluxon\shop_Fluxon\ShopAPI\ShopAPI\bin\Debug\net8.0\pt-BR\Microsoft.CodeAnalysis.resources.dll
+C:\Users\bib\Desktop\Projekt-Fluxon\shop_Fluxon\ShopAPI\ShopAPI\bin\Debug\net8.0\ru\Microsoft.CodeAnalysis.resources.dll
+C:\Users\bib\Desktop\Projekt-Fluxon\shop_Fluxon\ShopAPI\ShopAPI\bin\Debug\net8.0\tr\Microsoft.CodeAnalysis.resources.dll
+C:\Users\bib\Desktop\Projekt-Fluxon\shop_Fluxon\ShopAPI\ShopAPI\bin\Debug\net8.0\zh-Hans\Microsoft.CodeAnalysis.resources.dll
+C:\Users\bib\Desktop\Projekt-Fluxon\shop_Fluxon\ShopAPI\ShopAPI\bin\Debug\net8.0\zh-Hant\Microsoft.CodeAnalysis.resources.dll
+C:\Users\bib\Desktop\Projekt-Fluxon\shop_Fluxon\ShopAPI\ShopAPI\bin\Debug\net8.0\cs\Microsoft.CodeAnalysis.CSharp.resources.dll
+C:\Users\bib\Desktop\Projekt-Fluxon\shop_Fluxon\ShopAPI\ShopAPI\bin\Debug\net8.0\de\Microsoft.CodeAnalysis.CSharp.resources.dll
+C:\Users\bib\Desktop\Projekt-Fluxon\shop_Fluxon\ShopAPI\ShopAPI\bin\Debug\net8.0\es\Microsoft.CodeAnalysis.CSharp.resources.dll
+C:\Users\bib\Desktop\Projekt-Fluxon\shop_Fluxon\ShopAPI\ShopAPI\bin\Debug\net8.0\fr\Microsoft.CodeAnalysis.CSharp.resources.dll
+C:\Users\bib\Desktop\Projekt-Fluxon\shop_Fluxon\ShopAPI\ShopAPI\bin\Debug\net8.0\it\Microsoft.CodeAnalysis.CSharp.resources.dll
+C:\Users\bib\Desktop\Projekt-Fluxon\shop_Fluxon\ShopAPI\ShopAPI\bin\Debug\net8.0\ja\Microsoft.CodeAnalysis.CSharp.resources.dll
+C:\Users\bib\Desktop\Projekt-Fluxon\shop_Fluxon\ShopAPI\ShopAPI\bin\Debug\net8.0\ko\Microsoft.CodeAnalysis.CSharp.resources.dll
+C:\Users\bib\Desktop\Projekt-Fluxon\shop_Fluxon\ShopAPI\ShopAPI\bin\Debug\net8.0\pl\Microsoft.CodeAnalysis.CSharp.resources.dll
+C:\Users\bib\Desktop\Projekt-Fluxon\shop_Fluxon\ShopAPI\ShopAPI\bin\Debug\net8.0\pt-BR\Microsoft.CodeAnalysis.CSharp.resources.dll
+C:\Users\bib\Desktop\Projekt-Fluxon\shop_Fluxon\ShopAPI\ShopAPI\bin\Debug\net8.0\ru\Microsoft.CodeAnalysis.CSharp.resources.dll
+C:\Users\bib\Desktop\Projekt-Fluxon\shop_Fluxon\ShopAPI\ShopAPI\bin\Debug\net8.0\tr\Microsoft.CodeAnalysis.CSharp.resources.dll
+C:\Users\bib\Desktop\Projekt-Fluxon\shop_Fluxon\ShopAPI\ShopAPI\bin\Debug\net8.0\zh-Hans\Microsoft.CodeAnalysis.CSharp.resources.dll
+C:\Users\bib\Desktop\Projekt-Fluxon\shop_Fluxon\ShopAPI\ShopAPI\bin\Debug\net8.0\zh-Hant\Microsoft.CodeAnalysis.CSharp.resources.dll
+C:\Users\bib\Desktop\Projekt-Fluxon\shop_Fluxon\ShopAPI\ShopAPI\bin\Debug\net8.0\cs\Microsoft.CodeAnalysis.CSharp.Workspaces.resources.dll
+C:\Users\bib\Desktop\Projekt-Fluxon\shop_Fluxon\ShopAPI\ShopAPI\bin\Debug\net8.0\de\Microsoft.CodeAnalysis.CSharp.Workspaces.resources.dll
+C:\Users\bib\Desktop\Projekt-Fluxon\shop_Fluxon\ShopAPI\ShopAPI\bin\Debug\net8.0\es\Microsoft.CodeAnalysis.CSharp.Workspaces.resources.dll
+C:\Users\bib\Desktop\Projekt-Fluxon\shop_Fluxon\ShopAPI\ShopAPI\bin\Debug\net8.0\fr\Microsoft.CodeAnalysis.CSharp.Workspaces.resources.dll
+C:\Users\bib\Desktop\Projekt-Fluxon\shop_Fluxon\ShopAPI\ShopAPI\bin\Debug\net8.0\it\Microsoft.CodeAnalysis.CSharp.Workspaces.resources.dll
+C:\Users\bib\Desktop\Projekt-Fluxon\shop_Fluxon\ShopAPI\ShopAPI\bin\Debug\net8.0\ja\Microsoft.CodeAnalysis.CSharp.Workspaces.resources.dll
+C:\Users\bib\Desktop\Projekt-Fluxon\shop_Fluxon\ShopAPI\ShopAPI\bin\Debug\net8.0\ko\Microsoft.CodeAnalysis.CSharp.Workspaces.resources.dll
+C:\Users\bib\Desktop\Projekt-Fluxon\shop_Fluxon\ShopAPI\ShopAPI\bin\Debug\net8.0\pl\Microsoft.CodeAnalysis.CSharp.Workspaces.resources.dll
+C:\Users\bib\Desktop\Projekt-Fluxon\shop_Fluxon\ShopAPI\ShopAPI\bin\Debug\net8.0\pt-BR\Microsoft.CodeAnalysis.CSharp.Workspaces.resources.dll
+C:\Users\bib\Desktop\Projekt-Fluxon\shop_Fluxon\ShopAPI\ShopAPI\bin\Debug\net8.0\ru\Microsoft.CodeAnalysis.CSharp.Workspaces.resources.dll
+C:\Users\bib\Desktop\Projekt-Fluxon\shop_Fluxon\ShopAPI\ShopAPI\bin\Debug\net8.0\tr\Microsoft.CodeAnalysis.CSharp.Workspaces.resources.dll
+C:\Users\bib\Desktop\Projekt-Fluxon\shop_Fluxon\ShopAPI\ShopAPI\bin\Debug\net8.0\zh-Hans\Microsoft.CodeAnalysis.CSharp.Workspaces.resources.dll
+C:\Users\bib\Desktop\Projekt-Fluxon\shop_Fluxon\ShopAPI\ShopAPI\bin\Debug\net8.0\zh-Hant\Microsoft.CodeAnalysis.CSharp.Workspaces.resources.dll
+C:\Users\bib\Desktop\Projekt-Fluxon\shop_Fluxon\ShopAPI\ShopAPI\bin\Debug\net8.0\cs\Microsoft.CodeAnalysis.Workspaces.resources.dll
+C:\Users\bib\Desktop\Projekt-Fluxon\shop_Fluxon\ShopAPI\ShopAPI\bin\Debug\net8.0\de\Microsoft.CodeAnalysis.Workspaces.resources.dll
+C:\Users\bib\Desktop\Projekt-Fluxon\shop_Fluxon\ShopAPI\ShopAPI\bin\Debug\net8.0\es\Microsoft.CodeAnalysis.Workspaces.resources.dll
+C:\Users\bib\Desktop\Projekt-Fluxon\shop_Fluxon\ShopAPI\ShopAPI\bin\Debug\net8.0\fr\Microsoft.CodeAnalysis.Workspaces.resources.dll
+C:\Users\bib\Desktop\Projekt-Fluxon\shop_Fluxon\ShopAPI\ShopAPI\bin\Debug\net8.0\it\Microsoft.CodeAnalysis.Workspaces.resources.dll
+C:\Users\bib\Desktop\Projekt-Fluxon\shop_Fluxon\ShopAPI\ShopAPI\bin\Debug\net8.0\ja\Microsoft.CodeAnalysis.Workspaces.resources.dll
+C:\Users\bib\Desktop\Projekt-Fluxon\shop_Fluxon\ShopAPI\ShopAPI\bin\Debug\net8.0\ko\Microsoft.CodeAnalysis.Workspaces.resources.dll
+C:\Users\bib\Desktop\Projekt-Fluxon\shop_Fluxon\ShopAPI\ShopAPI\bin\Debug\net8.0\pl\Microsoft.CodeAnalysis.Workspaces.resources.dll
+C:\Users\bib\Desktop\Projekt-Fluxon\shop_Fluxon\ShopAPI\ShopAPI\bin\Debug\net8.0\pt-BR\Microsoft.CodeAnalysis.Workspaces.resources.dll
+C:\Users\bib\Desktop\Projekt-Fluxon\shop_Fluxon\ShopAPI\ShopAPI\bin\Debug\net8.0\ru\Microsoft.CodeAnalysis.Workspaces.resources.dll
+C:\Users\bib\Desktop\Projekt-Fluxon\shop_Fluxon\ShopAPI\ShopAPI\bin\Debug\net8.0\tr\Microsoft.CodeAnalysis.Workspaces.resources.dll
+C:\Users\bib\Desktop\Projekt-Fluxon\shop_Fluxon\ShopAPI\ShopAPI\bin\Debug\net8.0\zh-Hans\Microsoft.CodeAnalysis.Workspaces.resources.dll
+C:\Users\bib\Desktop\Projekt-Fluxon\shop_Fluxon\ShopAPI\ShopAPI\bin\Debug\net8.0\zh-Hant\Microsoft.CodeAnalysis.Workspaces.resources.dll
+C:\Users\bib\Desktop\Projekt-Fluxon\shop_Fluxon\ShopAPI\ShopAPI\bin\Debug\net8.0\cs\Microsoft.CodeAnalysis.Workspaces.MSBuild.BuildHost.resources.dll
+C:\Users\bib\Desktop\Projekt-Fluxon\shop_Fluxon\ShopAPI\ShopAPI\bin\Debug\net8.0\de\Microsoft.CodeAnalysis.Workspaces.MSBuild.BuildHost.resources.dll
+C:\Users\bib\Desktop\Projekt-Fluxon\shop_Fluxon\ShopAPI\ShopAPI\bin\Debug\net8.0\es\Microsoft.CodeAnalysis.Workspaces.MSBuild.BuildHost.resources.dll
+C:\Users\bib\Desktop\Projekt-Fluxon\shop_Fluxon\ShopAPI\ShopAPI\bin\Debug\net8.0\fr\Microsoft.CodeAnalysis.Workspaces.MSBuild.BuildHost.resources.dll
+C:\Users\bib\Desktop\Projekt-Fluxon\shop_Fluxon\ShopAPI\ShopAPI\bin\Debug\net8.0\it\Microsoft.CodeAnalysis.Workspaces.MSBuild.BuildHost.resources.dll
+C:\Users\bib\Desktop\Projekt-Fluxon\shop_Fluxon\ShopAPI\ShopAPI\bin\Debug\net8.0\ja\Microsoft.CodeAnalysis.Workspaces.MSBuild.BuildHost.resources.dll
+C:\Users\bib\Desktop\Projekt-Fluxon\shop_Fluxon\ShopAPI\ShopAPI\bin\Debug\net8.0\ko\Microsoft.CodeAnalysis.Workspaces.MSBuild.BuildHost.resources.dll
+C:\Users\bib\Desktop\Projekt-Fluxon\shop_Fluxon\ShopAPI\ShopAPI\bin\Debug\net8.0\pl\Microsoft.CodeAnalysis.Workspaces.MSBuild.BuildHost.resources.dll
+C:\Users\bib\Desktop\Projekt-Fluxon\shop_Fluxon\ShopAPI\ShopAPI\bin\Debug\net8.0\pt-BR\Microsoft.CodeAnalysis.Workspaces.MSBuild.BuildHost.resources.dll
+C:\Users\bib\Desktop\Projekt-Fluxon\shop_Fluxon\ShopAPI\ShopAPI\bin\Debug\net8.0\ru\Microsoft.CodeAnalysis.Workspaces.MSBuild.BuildHost.resources.dll
+C:\Users\bib\Desktop\Projekt-Fluxon\shop_Fluxon\ShopAPI\ShopAPI\bin\Debug\net8.0\tr\Microsoft.CodeAnalysis.Workspaces.MSBuild.BuildHost.resources.dll
+C:\Users\bib\Desktop\Projekt-Fluxon\shop_Fluxon\ShopAPI\ShopAPI\bin\Debug\net8.0\zh-Hans\Microsoft.CodeAnalysis.Workspaces.MSBuild.BuildHost.resources.dll
+C:\Users\bib\Desktop\Projekt-Fluxon\shop_Fluxon\ShopAPI\ShopAPI\bin\Debug\net8.0\zh-Hant\Microsoft.CodeAnalysis.Workspaces.MSBuild.BuildHost.resources.dll
+C:\Users\bib\Desktop\Projekt-Fluxon\shop_Fluxon\ShopAPI\ShopAPI\bin\Debug\net8.0\runtimes\browser\lib\net8.0\System.Text.Encodings.Web.dll
+C:\Users\bib\Desktop\Projekt-Fluxon\shop_Fluxon\ShopAPI\ShopAPI\obj\Debug\net8.0\ShopAPI.csproj.AssemblyReference.cache
+C:\Users\bib\Desktop\Projekt-Fluxon\shop_Fluxon\ShopAPI\ShopAPI\obj\Debug\net8.0\rpswa.dswa.cache.json
+C:\Users\bib\Desktop\Projekt-Fluxon\shop_Fluxon\ShopAPI\ShopAPI\obj\Debug\net8.0\ShopAPI.GeneratedMSBuildEditorConfig.editorconfig
+C:\Users\bib\Desktop\Projekt-Fluxon\shop_Fluxon\ShopAPI\ShopAPI\obj\Debug\net8.0\ShopAPI.AssemblyInfoInputs.cache
+C:\Users\bib\Desktop\Projekt-Fluxon\shop_Fluxon\ShopAPI\ShopAPI\obj\Debug\net8.0\ShopAPI.AssemblyInfo.cs
+C:\Users\bib\Desktop\Projekt-Fluxon\shop_Fluxon\ShopAPI\ShopAPI\obj\Debug\net8.0\ShopAPI.csproj.CoreCompileInputs.cache
+C:\Users\bib\Desktop\Projekt-Fluxon\shop_Fluxon\ShopAPI\ShopAPI\obj\Debug\net8.0\ShopAPI.MvcApplicationPartsAssemblyInfo.cs
+C:\Users\bib\Desktop\Projekt-Fluxon\shop_Fluxon\ShopAPI\ShopAPI\obj\Debug\net8.0\ShopAPI.MvcApplicationPartsAssemblyInfo.cache
+C:\Users\bib\Desktop\Projekt-Fluxon\shop_Fluxon\ShopAPI\ShopAPI\obj\Debug\net8.0\rjimswa.dswa.cache.json
+C:\Users\bib\Desktop\Projekt-Fluxon\shop_Fluxon\ShopAPI\ShopAPI\obj\Debug\net8.0\rjsmrazor.dswa.cache.json
+C:\Users\bib\Desktop\Projekt-Fluxon\shop_Fluxon\ShopAPI\ShopAPI\obj\Debug\net8.0\rjsmcshtml.dswa.cache.json
+C:\Users\bib\Desktop\Projekt-Fluxon\shop_Fluxon\ShopAPI\ShopAPI\obj\Debug\net8.0\scopedcss\bundle\ShopAPI.styles.css
+C:\Users\bib\Desktop\Projekt-Fluxon\shop_Fluxon\ShopAPI\ShopAPI\obj\Debug\net8.0\staticwebassets.build.json
+C:\Users\bib\Desktop\Projekt-Fluxon\shop_Fluxon\ShopAPI\ShopAPI\obj\Debug\net8.0\staticwebassets.build.json.cache
+C:\Users\bib\Desktop\Projekt-Fluxon\shop_Fluxon\ShopAPI\ShopAPI\obj\Debug\net8.0\staticwebassets.development.json
+C:\Users\bib\Desktop\Projekt-Fluxon\shop_Fluxon\ShopAPI\ShopAPI\obj\Debug\net8.0\staticwebassets.build.endpoints.json
+C:\Users\bib\Desktop\Projekt-Fluxon\shop_Fluxon\ShopAPI\ShopAPI\obj\Debug\net8.0\ShopAPI.csproj.Up2Date
+C:\Users\bib\Desktop\Projekt-Fluxon\shop_Fluxon\ShopAPI\ShopAPI\obj\Debug\net8.0\ShopAPI.dll
+C:\Users\bib\Desktop\Projekt-Fluxon\shop_Fluxon\ShopAPI\ShopAPI\obj\Debug\net8.0\refint\ShopAPI.dll
+C:\Users\bib\Desktop\Projekt-Fluxon\shop_Fluxon\ShopAPI\ShopAPI\obj\Debug\net8.0\ShopAPI.pdb
+C:\Users\bib\Desktop\Projekt-Fluxon\shop_Fluxon\ShopAPI\ShopAPI\obj\Debug\net8.0\ShopAPI.genruntimeconfig.cache
+C:\Users\bib\Desktop\Projekt-Fluxon\shop_Fluxon\ShopAPI\ShopAPI\obj\Debug\net8.0\ref\ShopAPI.dll
diff --git a/ShopAPI/ShopAPI/obj/Debug/net8.0/ShopAPI.dll b/ShopAPI/ShopAPI/obj/Debug/net8.0/ShopAPI.dll
index d4a3b1f..9f16ddc 100644
Binary files a/ShopAPI/ShopAPI/obj/Debug/net8.0/ShopAPI.dll and b/ShopAPI/ShopAPI/obj/Debug/net8.0/ShopAPI.dll differ
diff --git a/ShopAPI/ShopAPI/obj/Debug/net8.0/ShopAPI.genruntimeconfig.cache b/ShopAPI/ShopAPI/obj/Debug/net8.0/ShopAPI.genruntimeconfig.cache
index 5c24a48..8514c03 100644
--- a/ShopAPI/ShopAPI/obj/Debug/net8.0/ShopAPI.genruntimeconfig.cache
+++ b/ShopAPI/ShopAPI/obj/Debug/net8.0/ShopAPI.genruntimeconfig.cache
@@ -1 +1 @@
-b94a5596d89b54f7504b98ef7116ca86018e94a94b8eedb238b7c9fddaf1c409
+6a2c5968cda368b74d7ca01a4322bab7dca9826c62925bf9d2cb10b21f091e0c
diff --git a/ShopAPI/ShopAPI/obj/Debug/net8.0/ShopAPI.pdb b/ShopAPI/ShopAPI/obj/Debug/net8.0/ShopAPI.pdb
index 5f2564c..1904dd2 100644
Binary files a/ShopAPI/ShopAPI/obj/Debug/net8.0/ShopAPI.pdb and b/ShopAPI/ShopAPI/obj/Debug/net8.0/ShopAPI.pdb differ
diff --git a/ShopAPI/ShopAPI/obj/Debug/net8.0/apphost.exe b/ShopAPI/ShopAPI/obj/Debug/net8.0/apphost.exe
index c1e439e..d4b5c26 100644
Binary files a/ShopAPI/ShopAPI/obj/Debug/net8.0/apphost.exe and b/ShopAPI/ShopAPI/obj/Debug/net8.0/apphost.exe differ
diff --git a/ShopAPI/ShopAPI/obj/Debug/net8.0/ref/ShopAPI.dll b/ShopAPI/ShopAPI/obj/Debug/net8.0/ref/ShopAPI.dll
index dd69f46..b55d36b 100644
Binary files a/ShopAPI/ShopAPI/obj/Debug/net8.0/ref/ShopAPI.dll and b/ShopAPI/ShopAPI/obj/Debug/net8.0/ref/ShopAPI.dll differ
diff --git a/ShopAPI/ShopAPI/obj/Debug/net8.0/refint/ShopAPI.dll b/ShopAPI/ShopAPI/obj/Debug/net8.0/refint/ShopAPI.dll
index dd69f46..b55d36b 100644
Binary files a/ShopAPI/ShopAPI/obj/Debug/net8.0/refint/ShopAPI.dll and b/ShopAPI/ShopAPI/obj/Debug/net8.0/refint/ShopAPI.dll differ
diff --git a/ShopAPI/ShopAPI/obj/Debug/net8.0/rjsmcshtml.dswa.cache.json b/ShopAPI/ShopAPI/obj/Debug/net8.0/rjsmcshtml.dswa.cache.json
index 215aa7f..523c053 100644
--- a/ShopAPI/ShopAPI/obj/Debug/net8.0/rjsmcshtml.dswa.cache.json
+++ b/ShopAPI/ShopAPI/obj/Debug/net8.0/rjsmcshtml.dswa.cache.json
@@ -1 +1 @@
-{"GlobalPropertiesHash":"2SiV7x3vjV8ZFi0sgmWSSTGHCwHAp08jCG9AL/ERQ/Q=","FingerprintPatternsHash":"8ZRc1sGeVrPBx4lD717BgRaQekyh78QKV9SKsdt638U=","PropertyOverridesHash":"8ZRc1sGeVrPBx4lD717BgRaQekyh78QKV9SKsdt638U=","InputHashes":["mSjvBL27zG1kSzjpaqc9iI0QRpH2\u002BnmIxzsYeoyiZ8k=","5\u002BRipzB3qq6oLG1hzpoNvnzpM95KVvzJdVIXKGR5Nps=","k4J\u002BX/9OfyQ\u002Bvg6DNSgPmdorYBHAlUCx2XqrIUvSzvM=","P9s2CLfWnGJ3BuLhrowTd7paEsc\u002BFPTVz6iCnwAyWDY=","cZjb5kG3xkbxY4SEseWX7ClUw/XN02dd37xJoHYSocs=","k2ZK2MXYMG89By4JV3rT0m6IHy183usaiKwTwNY8md4=","7INOJdHgqe/nqyYYieTHW8/FPUSM7kVKuqZEiBTlsOE="],"CachedAssets":{},"CachedCopyCandidates":{}}
\ No newline at end of file
+{"GlobalPropertiesHash":"UbUS1vR6wGATGwMhgD7zMeswN1vTEJ19YTFurt+qa38=","FingerprintPatternsHash":"8ZRc1sGeVrPBx4lD717BgRaQekyh78QKV9SKsdt638U=","PropertyOverridesHash":"8ZRc1sGeVrPBx4lD717BgRaQekyh78QKV9SKsdt638U=","InputHashes":["qXK9XBukmOKR4bC0/OSWUQmD7NVDnODrTNbVfODoSOA=","RsfaIcSdxUsyxkHT0X7TBDvWAE\u002BekQ7N\u002BCKYPxhpGog=","q4x5tw5ZdEVI3wN3ORljilxzvA3pVT3snlXNH\u002Bh3MZw=","hqxvnAagyda0d6U9WqiUEHNFsi/9qmMo9aedinq8ZQA=","TRUWKVmfrqI3Da5OlFteES1pBI/d\u002Bef88\u002BcbmmwH4mw=","AMewKZACPMF34A9M/c\u002BnjYkuddQPOVXhAdpXf\u002BloS2s=","pDYMbjVyNyvCtfuomzL9SJHwQJUdUJF/Z2QDZF8ls2k="],"CachedAssets":{},"CachedCopyCandidates":{}}
\ No newline at end of file
diff --git a/ShopAPI/ShopAPI/obj/Debug/net8.0/rjsmrazor.dswa.cache.json b/ShopAPI/ShopAPI/obj/Debug/net8.0/rjsmrazor.dswa.cache.json
index d44c1e4..98b5680 100644
--- a/ShopAPI/ShopAPI/obj/Debug/net8.0/rjsmrazor.dswa.cache.json
+++ b/ShopAPI/ShopAPI/obj/Debug/net8.0/rjsmrazor.dswa.cache.json
@@ -1 +1 @@
-{"GlobalPropertiesHash":"g/T3BUSjVMK8fsoOmXvbmTfW2MVL2VJoCyrZtQ0or0o=","FingerprintPatternsHash":"8ZRc1sGeVrPBx4lD717BgRaQekyh78QKV9SKsdt638U=","PropertyOverridesHash":"8ZRc1sGeVrPBx4lD717BgRaQekyh78QKV9SKsdt638U=","InputHashes":["mSjvBL27zG1kSzjpaqc9iI0QRpH2\u002BnmIxzsYeoyiZ8k=","5\u002BRipzB3qq6oLG1hzpoNvnzpM95KVvzJdVIXKGR5Nps=","k4J\u002BX/9OfyQ\u002Bvg6DNSgPmdorYBHAlUCx2XqrIUvSzvM=","P9s2CLfWnGJ3BuLhrowTd7paEsc\u002BFPTVz6iCnwAyWDY=","cZjb5kG3xkbxY4SEseWX7ClUw/XN02dd37xJoHYSocs=","k2ZK2MXYMG89By4JV3rT0m6IHy183usaiKwTwNY8md4=","7INOJdHgqe/nqyYYieTHW8/FPUSM7kVKuqZEiBTlsOE="],"CachedAssets":{},"CachedCopyCandidates":{}}
\ No newline at end of file
+{"GlobalPropertiesHash":"8Bes/LQh4hq2du9moDLYcP3dWOcm8118awBX2grZ2jA=","FingerprintPatternsHash":"8ZRc1sGeVrPBx4lD717BgRaQekyh78QKV9SKsdt638U=","PropertyOverridesHash":"8ZRc1sGeVrPBx4lD717BgRaQekyh78QKV9SKsdt638U=","InputHashes":["qXK9XBukmOKR4bC0/OSWUQmD7NVDnODrTNbVfODoSOA=","RsfaIcSdxUsyxkHT0X7TBDvWAE\u002BekQ7N\u002BCKYPxhpGog=","q4x5tw5ZdEVI3wN3ORljilxzvA3pVT3snlXNH\u002Bh3MZw=","hqxvnAagyda0d6U9WqiUEHNFsi/9qmMo9aedinq8ZQA=","TRUWKVmfrqI3Da5OlFteES1pBI/d\u002Bef88\u002BcbmmwH4mw=","AMewKZACPMF34A9M/c\u002BnjYkuddQPOVXhAdpXf\u002BloS2s=","pDYMbjVyNyvCtfuomzL9SJHwQJUdUJF/Z2QDZF8ls2k="],"CachedAssets":{},"CachedCopyCandidates":{}}
\ No newline at end of file
diff --git a/ShopAPI/ShopAPI/obj/Debug/net8.0/rpswa.dswa.cache.json b/ShopAPI/ShopAPI/obj/Debug/net8.0/rpswa.dswa.cache.json
index 9002a6f..c6f8e07 100644
--- a/ShopAPI/ShopAPI/obj/Debug/net8.0/rpswa.dswa.cache.json
+++ b/ShopAPI/ShopAPI/obj/Debug/net8.0/rpswa.dswa.cache.json
@@ -1 +1 @@
-{"GlobalPropertiesHash":"Jr8OaCL0xTfG0mf5QmD9ofeLsJvV3IBK9E7sPFxRjbU=","FingerprintPatternsHash":"gq3WsqcKBUGTSNle7RKKyXRIwh7M8ccEqOqYvIzoM04=","PropertyOverridesHash":"8ZRc1sGeVrPBx4lD717BgRaQekyh78QKV9SKsdt638U=","InputHashes":["mSjvBL27zG1kSzjpaqc9iI0QRpH2\u002BnmIxzsYeoyiZ8k=","5\u002BRipzB3qq6oLG1hzpoNvnzpM95KVvzJdVIXKGR5Nps="],"CachedAssets":{},"CachedCopyCandidates":{}}
\ No newline at end of file
+{"GlobalPropertiesHash":"l3up3a1JVDyRbZK9+Chmv7A0oS74DHlr0HHn8mgORkk=","FingerprintPatternsHash":"gq3WsqcKBUGTSNle7RKKyXRIwh7M8ccEqOqYvIzoM04=","PropertyOverridesHash":"8ZRc1sGeVrPBx4lD717BgRaQekyh78QKV9SKsdt638U=","InputHashes":["qXK9XBukmOKR4bC0/OSWUQmD7NVDnODrTNbVfODoSOA=","RsfaIcSdxUsyxkHT0X7TBDvWAE\u002BekQ7N\u002BCKYPxhpGog="],"CachedAssets":{},"CachedCopyCandidates":{}}
\ No newline at end of file
diff --git a/ShopAPI/ShopAPI/obj/ShopAPI.csproj.EntityFrameworkCore.targets b/ShopAPI/ShopAPI/obj/ShopAPI.csproj.EntityFrameworkCore.targets
new file mode 100644
index 0000000..7d6485d
--- /dev/null
+++ b/ShopAPI/ShopAPI/obj/ShopAPI.csproj.EntityFrameworkCore.targets
@@ -0,0 +1,28 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/ShopAPI/ShopAPI/obj/ShopAPI.csproj.nuget.dgspec.json b/ShopAPI/ShopAPI/obj/ShopAPI.csproj.nuget.dgspec.json
index fdbb46a..d4ffc50 100644
--- a/ShopAPI/ShopAPI/obj/ShopAPI.csproj.nuget.dgspec.json
+++ b/ShopAPI/ShopAPI/obj/ShopAPI.csproj.nuget.dgspec.json
@@ -1,17 +1,17 @@
{
"format": 1,
"restore": {
- "C:\\Users\\bib\\Desktop\\Projekt-Fluxon\\website_Fluxon\\ShopAPI\\ShopAPI\\ShopAPI.csproj": {}
+ "C:\\Users\\bib\\Desktop\\Projekt-Fluxon\\shop_Fluxon\\ShopAPI\\ShopAPI\\ShopAPI.csproj": {}
},
"projects": {
- "C:\\Users\\bib\\Desktop\\Projekt-Fluxon\\website_Fluxon\\ShopAPI\\ShopAPI\\ShopAPI.csproj": {
+ "C:\\Users\\bib\\Desktop\\Projekt-Fluxon\\shop_Fluxon\\ShopAPI\\ShopAPI\\ShopAPI.csproj": {
"version": "1.0.0",
"restore": {
- "projectUniqueName": "C:\\Users\\bib\\Desktop\\Projekt-Fluxon\\website_Fluxon\\ShopAPI\\ShopAPI\\ShopAPI.csproj",
+ "projectUniqueName": "C:\\Users\\bib\\Desktop\\Projekt-Fluxon\\shop_Fluxon\\ShopAPI\\ShopAPI\\ShopAPI.csproj",
"projectName": "ShopAPI",
- "projectPath": "C:\\Users\\bib\\Desktop\\Projekt-Fluxon\\website_Fluxon\\ShopAPI\\ShopAPI\\ShopAPI.csproj",
+ "projectPath": "C:\\Users\\bib\\Desktop\\Projekt-Fluxon\\shop_Fluxon\\ShopAPI\\ShopAPI\\ShopAPI.csproj",
"packagesPath": "C:\\Users\\bib\\.nuget\\packages\\",
- "outputPath": "C:\\Users\\bib\\Desktop\\Projekt-Fluxon\\website_Fluxon\\ShopAPI\\ShopAPI\\obj\\",
+ "outputPath": "C:\\Users\\bib\\Desktop\\Projekt-Fluxon\\shop_Fluxon\\ShopAPI\\ShopAPI\\obj\\",
"projectStyle": "PackageReference",
"fallbackFolders": [
"C:\\Program Files (x86)\\Microsoft Visual Studio\\Shared\\NuGetPackages"
@@ -62,6 +62,12 @@
"target": "Package",
"version": "[9.0.0, )"
},
+ "Microsoft.EntityFrameworkCore.Design": {
+ "include": "Runtime, Build, Native, ContentFiles, Analyzers, BuildTransitive",
+ "suppressParent": "All",
+ "target": "Package",
+ "version": "[9.0.0, )"
+ },
"Microsoft.EntityFrameworkCore.Tools": {
"include": "Runtime, Build, Native, ContentFiles, Analyzers, BuildTransitive",
"suppressParent": "All",
diff --git a/ShopAPI/ShopAPI/obj/ShopAPI.csproj.nuget.g.props b/ShopAPI/ShopAPI/obj/ShopAPI.csproj.nuget.g.props
index 772bfde..0314a93 100644
--- a/ShopAPI/ShopAPI/obj/ShopAPI.csproj.nuget.g.props
+++ b/ShopAPI/ShopAPI/obj/ShopAPI.csproj.nuget.g.props
@@ -7,7 +7,7 @@
$(UserProfile)\.nuget\packages\
C:\Users\bib\.nuget\packages\;C:\Program Files (x86)\Microsoft Visual Studio\Shared\NuGetPackages
PackageReference
- 6.14.2
+ 6.14.0
diff --git a/ShopAPI/ShopAPI/obj/project.assets.json b/ShopAPI/ShopAPI/obj/project.assets.json
index 2126560..1b9e2f8 100644
--- a/ShopAPI/ShopAPI/obj/project.assets.json
+++ b/ShopAPI/ShopAPI/obj/project.assets.json
@@ -3829,6 +3829,7 @@
"BCrypt.Net-Next >= 4.1.0",
"Microsoft.AspNetCore.Authentication.JwtBearer >= 8.0.25",
"Microsoft.EntityFrameworkCore >= 9.0.0",
+ "Microsoft.EntityFrameworkCore.Design >= 9.0.0",
"Microsoft.EntityFrameworkCore.Tools >= 9.0.0",
"Microsoft.VisualStudio.Azure.Containers.Tools.Targets >= 1.22.1",
"Pomelo.EntityFrameworkCore.MySql >= 9.0.0",
@@ -3843,11 +3844,11 @@
"project": {
"version": "1.0.0",
"restore": {
- "projectUniqueName": "C:\\Users\\bib\\Desktop\\Projekt-Fluxon\\website_Fluxon\\ShopAPI\\ShopAPI\\ShopAPI.csproj",
+ "projectUniqueName": "C:\\Users\\bib\\Desktop\\Projekt-Fluxon\\shop_Fluxon\\ShopAPI\\ShopAPI\\ShopAPI.csproj",
"projectName": "ShopAPI",
- "projectPath": "C:\\Users\\bib\\Desktop\\Projekt-Fluxon\\website_Fluxon\\ShopAPI\\ShopAPI\\ShopAPI.csproj",
+ "projectPath": "C:\\Users\\bib\\Desktop\\Projekt-Fluxon\\shop_Fluxon\\ShopAPI\\ShopAPI\\ShopAPI.csproj",
"packagesPath": "C:\\Users\\bib\\.nuget\\packages\\",
- "outputPath": "C:\\Users\\bib\\Desktop\\Projekt-Fluxon\\website_Fluxon\\ShopAPI\\ShopAPI\\obj\\",
+ "outputPath": "C:\\Users\\bib\\Desktop\\Projekt-Fluxon\\shop_Fluxon\\ShopAPI\\ShopAPI\\obj\\",
"projectStyle": "PackageReference",
"fallbackFolders": [
"C:\\Program Files (x86)\\Microsoft Visual Studio\\Shared\\NuGetPackages"
@@ -3898,6 +3899,12 @@
"target": "Package",
"version": "[9.0.0, )"
},
+ "Microsoft.EntityFrameworkCore.Design": {
+ "include": "Runtime, Build, Native, ContentFiles, Analyzers, BuildTransitive",
+ "suppressParent": "All",
+ "target": "Package",
+ "version": "[9.0.0, )"
+ },
"Microsoft.EntityFrameworkCore.Tools": {
"include": "Runtime, Build, Native, ContentFiles, Analyzers, BuildTransitive",
"suppressParent": "All",
diff --git a/ShopAPI/ShopAPI/obj/project.nuget.cache b/ShopAPI/ShopAPI/obj/project.nuget.cache
index 41c13a6..15221b1 100644
--- a/ShopAPI/ShopAPI/obj/project.nuget.cache
+++ b/ShopAPI/ShopAPI/obj/project.nuget.cache
@@ -1,8 +1,8 @@
{
"version": 2,
- "dgSpecHash": "spizpp0kT/Q=",
+ "dgSpecHash": "XoiN4+B0is4=",
"success": true,
- "projectFilePath": "C:\\Users\\bib\\Desktop\\Projekt-Fluxon\\website_Fluxon\\ShopAPI\\ShopAPI\\ShopAPI.csproj",
+ "projectFilePath": "C:\\Users\\bib\\Desktop\\Projekt-Fluxon\\shop_Fluxon\\ShopAPI\\ShopAPI\\ShopAPI.csproj",
"expectedPackageFiles": [
"C:\\Users\\bib\\.nuget\\packages\\bcrypt.net-next\\4.1.0\\bcrypt.net-next.4.1.0.nupkg.sha512",
"C:\\Users\\bib\\.nuget\\packages\\humanizer.core\\2.14.1\\humanizer.core.2.14.1.nupkg.sha512",
diff --git a/ShopAPI/appsettings.Development.json b/ShopAPI/appsettings.Development.json
new file mode 100644
index 0000000..0c208ae
--- /dev/null
+++ b/ShopAPI/appsettings.Development.json
@@ -0,0 +1,8 @@
+{
+ "Logging": {
+ "LogLevel": {
+ "Default": "Information",
+ "Microsoft.AspNetCore": "Warning"
+ }
+ }
+}
diff --git a/ShopAPI/appsettings.json b/ShopAPI/appsettings.json
new file mode 100644
index 0000000..10f68b8
--- /dev/null
+++ b/ShopAPI/appsettings.json
@@ -0,0 +1,9 @@
+{
+ "Logging": {
+ "LogLevel": {
+ "Default": "Information",
+ "Microsoft.AspNetCore": "Warning"
+ }
+ },
+ "AllowedHosts": "*"
+}
diff --git a/ShopAPI/obj/Debug/net9.0/.NETCoreApp,Version=v9.0.AssemblyAttributes.cs b/ShopAPI/obj/Debug/net9.0/.NETCoreApp,Version=v9.0.AssemblyAttributes.cs
new file mode 100644
index 0000000..feda5e9
--- /dev/null
+++ b/ShopAPI/obj/Debug/net9.0/.NETCoreApp,Version=v9.0.AssemblyAttributes.cs
@@ -0,0 +1,4 @@
+//
+using System;
+using System.Reflection;
+[assembly: global::System.Runtime.Versioning.TargetFrameworkAttribute(".NETCoreApp,Version=v9.0", FrameworkDisplayName = ".NET 9.0")]
diff --git a/ShopAPI/obj/Debug/net9.0/ShopAPI.AssemblyInfo.cs b/ShopAPI/obj/Debug/net9.0/ShopAPI.AssemblyInfo.cs
new file mode 100644
index 0000000..e652698
--- /dev/null
+++ b/ShopAPI/obj/Debug/net9.0/ShopAPI.AssemblyInfo.cs
@@ -0,0 +1,22 @@
+//------------------------------------------------------------------------------
+//
+// This code was generated by a tool.
+//
+// Changes to this file may cause incorrect behavior and will be lost if
+// the code is regenerated.
+//
+//------------------------------------------------------------------------------
+
+using System;
+using System.Reflection;
+
+[assembly: System.Reflection.AssemblyCompanyAttribute("ShopAPI")]
+[assembly: System.Reflection.AssemblyConfigurationAttribute("Debug")]
+[assembly: System.Reflection.AssemblyFileVersionAttribute("1.0.0.0")]
+[assembly: System.Reflection.AssemblyInformationalVersionAttribute("1.0.0+c4468dc74b1949de53923f9d96c4a82df7a7b10b")]
+[assembly: System.Reflection.AssemblyProductAttribute("ShopAPI")]
+[assembly: System.Reflection.AssemblyTitleAttribute("ShopAPI")]
+[assembly: System.Reflection.AssemblyVersionAttribute("1.0.0.0")]
+
+// Von der MSBuild WriteCodeFragment-Klasse generiert.
+
diff --git a/ShopAPI/obj/Debug/net9.0/ShopAPI.AssemblyInfoInputs.cache b/ShopAPI/obj/Debug/net9.0/ShopAPI.AssemblyInfoInputs.cache
new file mode 100644
index 0000000..fa7d738
--- /dev/null
+++ b/ShopAPI/obj/Debug/net9.0/ShopAPI.AssemblyInfoInputs.cache
@@ -0,0 +1 @@
+7fbbed756173fa39b41d7675e82cfb37e539e377ed39b7c8a89103ef7b59d295
diff --git a/ShopAPI/obj/Debug/net9.0/ShopAPI.GeneratedMSBuildEditorConfig.editorconfig b/ShopAPI/obj/Debug/net9.0/ShopAPI.GeneratedMSBuildEditorConfig.editorconfig
new file mode 100644
index 0000000..bdca3a5
--- /dev/null
+++ b/ShopAPI/obj/Debug/net9.0/ShopAPI.GeneratedMSBuildEditorConfig.editorconfig
@@ -0,0 +1,21 @@
+is_global = true
+build_property.TargetFramework = net9.0
+build_property.TargetPlatformMinVersion =
+build_property.UsingMicrosoftNETSdkWeb = true
+build_property.ProjectTypeGuids =
+build_property.InvariantGlobalization =
+build_property.PlatformNeutralAssembly =
+build_property.EnforceExtendedAnalyzerRules =
+build_property._SupportedPlatformList = Linux,macOS,Windows
+build_property.RootNamespace = ShopAPI
+build_property.RootNamespace = ShopAPI
+build_property.ProjectDir = C:\Users\bib\Desktop\Projekt-Fluxon\shop_Fluxon\ShopAPI\
+build_property.EnableComHosting =
+build_property.EnableGeneratedComInterfaceComImportInterop =
+build_property.RazorLangVersion = 9.0
+build_property.SupportLocalizedComponentNames =
+build_property.GenerateRazorMetadataSourceChecksumAttributes =
+build_property.MSBuildProjectDirectory = C:\Users\bib\Desktop\Projekt-Fluxon\shop_Fluxon\ShopAPI
+build_property._RazorSourceGeneratorDebug =
+build_property.EffectiveAnalysisLevelStyle = 9.0
+build_property.EnableCodeStyleSeverity =
diff --git a/ShopAPI/obj/Debug/net9.0/ShopAPI.GlobalUsings.g.cs b/ShopAPI/obj/Debug/net9.0/ShopAPI.GlobalUsings.g.cs
new file mode 100644
index 0000000..025530a
--- /dev/null
+++ b/ShopAPI/obj/Debug/net9.0/ShopAPI.GlobalUsings.g.cs
@@ -0,0 +1,17 @@
+//
+global using global::Microsoft.AspNetCore.Builder;
+global using global::Microsoft.AspNetCore.Hosting;
+global using global::Microsoft.AspNetCore.Http;
+global using global::Microsoft.AspNetCore.Routing;
+global using global::Microsoft.Extensions.Configuration;
+global using global::Microsoft.Extensions.DependencyInjection;
+global using global::Microsoft.Extensions.Hosting;
+global using global::Microsoft.Extensions.Logging;
+global using global::System;
+global using global::System.Collections.Generic;
+global using global::System.IO;
+global using global::System.Linq;
+global using global::System.Net.Http;
+global using global::System.Net.Http.Json;
+global using global::System.Threading;
+global using global::System.Threading.Tasks;
diff --git a/ShopAPI/obj/Debug/net9.0/ShopAPI.MvcApplicationPartsAssemblyInfo.cache b/ShopAPI/obj/Debug/net9.0/ShopAPI.MvcApplicationPartsAssemblyInfo.cache
new file mode 100644
index 0000000..e69de29
diff --git a/ShopAPI/obj/Debug/net9.0/ShopAPI.MvcApplicationPartsAssemblyInfo.cs b/ShopAPI/obj/Debug/net9.0/ShopAPI.MvcApplicationPartsAssemblyInfo.cs
new file mode 100644
index 0000000..2b58f0f
--- /dev/null
+++ b/ShopAPI/obj/Debug/net9.0/ShopAPI.MvcApplicationPartsAssemblyInfo.cs
@@ -0,0 +1,16 @@
+//------------------------------------------------------------------------------
+//
+// This code was generated by a tool.
+//
+// Changes to this file may cause incorrect behavior and will be lost if
+// the code is regenerated.
+//
+//------------------------------------------------------------------------------
+
+using System;
+using System.Reflection;
+
+[assembly: Microsoft.AspNetCore.Mvc.ApplicationParts.ApplicationPartAttribute("Microsoft.AspNetCore.OpenApi")]
+
+// Von der MSBuild WriteCodeFragment-Klasse generiert.
+
diff --git a/ShopAPI/obj/Debug/net9.0/ShopAPI.assets.cache b/ShopAPI/obj/Debug/net9.0/ShopAPI.assets.cache
new file mode 100644
index 0000000..18b6695
Binary files /dev/null and b/ShopAPI/obj/Debug/net9.0/ShopAPI.assets.cache differ
diff --git a/ShopAPI/obj/Debug/net9.0/ShopAPI.csproj.AssemblyReference.cache b/ShopAPI/obj/Debug/net9.0/ShopAPI.csproj.AssemblyReference.cache
new file mode 100644
index 0000000..4b5d419
Binary files /dev/null and b/ShopAPI/obj/Debug/net9.0/ShopAPI.csproj.AssemblyReference.cache differ
diff --git a/ShopAPI/obj/Debug/net9.0/ShopAPI.csproj.CoreCompileInputs.cache b/ShopAPI/obj/Debug/net9.0/ShopAPI.csproj.CoreCompileInputs.cache
new file mode 100644
index 0000000..d8eb2a3
--- /dev/null
+++ b/ShopAPI/obj/Debug/net9.0/ShopAPI.csproj.CoreCompileInputs.cache
@@ -0,0 +1 @@
+b359f1ec4917d8612537f55aa21188bee0e195bf5de4c2282ecfc4f900edb738
diff --git a/ShopAPI/obj/Debug/net9.0/ShopAPI.csproj.FileListAbsolute.txt b/ShopAPI/obj/Debug/net9.0/ShopAPI.csproj.FileListAbsolute.txt
new file mode 100644
index 0000000..eb24bcd
--- /dev/null
+++ b/ShopAPI/obj/Debug/net9.0/ShopAPI.csproj.FileListAbsolute.txt
@@ -0,0 +1,8 @@
+C:\Users\bib\Desktop\Projekt-Fluxon\shop_Fluxon\ShopAPI\obj\Debug\net9.0\ShopAPI.csproj.AssemblyReference.cache
+C:\Users\bib\Desktop\Projekt-Fluxon\shop_Fluxon\ShopAPI\obj\Debug\net9.0\rpswa.dswa.cache.json
+C:\Users\bib\Desktop\Projekt-Fluxon\shop_Fluxon\ShopAPI\obj\Debug\net9.0\ShopAPI.GeneratedMSBuildEditorConfig.editorconfig
+C:\Users\bib\Desktop\Projekt-Fluxon\shop_Fluxon\ShopAPI\obj\Debug\net9.0\ShopAPI.AssemblyInfoInputs.cache
+C:\Users\bib\Desktop\Projekt-Fluxon\shop_Fluxon\ShopAPI\obj\Debug\net9.0\ShopAPI.AssemblyInfo.cs
+C:\Users\bib\Desktop\Projekt-Fluxon\shop_Fluxon\ShopAPI\obj\Debug\net9.0\ShopAPI.csproj.CoreCompileInputs.cache
+C:\Users\bib\Desktop\Projekt-Fluxon\shop_Fluxon\ShopAPI\obj\Debug\net9.0\ShopAPI.MvcApplicationPartsAssemblyInfo.cs
+C:\Users\bib\Desktop\Projekt-Fluxon\shop_Fluxon\ShopAPI\obj\Debug\net9.0\ShopAPI.MvcApplicationPartsAssemblyInfo.cache
diff --git a/ShopAPI/obj/Debug/net9.0/rpswa.dswa.cache.json b/ShopAPI/obj/Debug/net9.0/rpswa.dswa.cache.json
new file mode 100644
index 0000000..4e1056d
--- /dev/null
+++ b/ShopAPI/obj/Debug/net9.0/rpswa.dswa.cache.json
@@ -0,0 +1 @@
+{"GlobalPropertiesHash":"us6N5iMRvDRCQPf0mCKrReKI1NR6/k7UDlpZ2GosUlA=","FingerprintPatternsHash":"gq3WsqcKBUGTSNle7RKKyXRIwh7M8ccEqOqYvIzoM04=","PropertyOverridesHash":"8ZRc1sGeVrPBx4lD717BgRaQekyh78QKV9SKsdt638U=","InputHashes":["Yv0uthjU2MZLLy35Wp1eW6bsstOOmYMHbe\u002BE1SuI\u002B7U=","TFpBIjCVlzZXbj9AgG89VeA0SVMxhNg\u002BgYy8imzLo1c=","R3CctE446Cll8rdwzQb9Qd8xlrgj6\u002BOERTMWbGKUcYM=","2xleXc7JDbagfHIeHdtk0ufCMyqTXC4NcKeTvIJ3onw=","dUxvLkYydy\u002BiQzDwfm/\u002BjJLPZkC68dPAtRRA1lqRsl4=","0q4HvCRa0GSmZ1kEZ8cC9chzCrzHKmvbxuCEVODtVYU=","hMpbIfDDvEsrMkqBcQOnLEWeFSN/ITVK/lgWbP7gbUk=","fupp//eRVVClPERuyeCsfnFmSuC4Rpryp8nJbZVYres=","HspCTRD6VHT\u002BnNbllLXi5MxfN4n2sTm/7qY8G9p4mQo=","Sh9zf0SToI4R4BUdYEg4SnnLgq09baBstvT7eEE8xBM=","XkKXBq7PougHZgpzi9c7VobqCKr1B3wjnncJsPmmyfw=","NcgtC0P5HE0VOXI\u002BtoHcjV0oN2zA4KOgdIyMiUu4RHc=","oswGrp9EMK1MqvzlTzq/l\u002BBMXG1RNxqvHdm88OS5W7E=","2oR6nH8XaZ3PIIbhQBbJr/QoQg6scvtL3v9RrVWRmUM=","wb97sahnIejkQXK0gdWDcDqeGCO0ne41mmU0nHjBYIo=","oMIIDB5fGIOX4aJMKFhA8riNBcCcJgF79b\u002Bz349CEM0=","36PNsbb2PLzDP1/aTUV/VZ1WrRnozHdbDUWmdvtClvc=","e9WZu1CuTIYbawntVz6x9MMTancZ13CYEPD1GT5Q/8A="],"CachedAssets":{},"CachedCopyCandidates":{}}
\ No newline at end of file
diff --git a/ShopAPI/obj/ShopAPI.csproj.nuget.dgspec.json b/ShopAPI/obj/ShopAPI.csproj.nuget.dgspec.json
new file mode 100644
index 0000000..29ca6fb
--- /dev/null
+++ b/ShopAPI/obj/ShopAPI.csproj.nuget.dgspec.json
@@ -0,0 +1,82 @@
+{
+ "format": 1,
+ "restore": {
+ "C:\\Users\\bib\\Desktop\\Projekt-Fluxon\\shop_Fluxon\\ShopAPI\\ShopAPI.csproj": {}
+ },
+ "projects": {
+ "C:\\Users\\bib\\Desktop\\Projekt-Fluxon\\shop_Fluxon\\ShopAPI\\ShopAPI.csproj": {
+ "version": "1.0.0",
+ "restore": {
+ "projectUniqueName": "C:\\Users\\bib\\Desktop\\Projekt-Fluxon\\shop_Fluxon\\ShopAPI\\ShopAPI.csproj",
+ "projectName": "ShopAPI",
+ "projectPath": "C:\\Users\\bib\\Desktop\\Projekt-Fluxon\\shop_Fluxon\\ShopAPI\\ShopAPI.csproj",
+ "packagesPath": "C:\\Users\\bib\\.nuget\\packages\\",
+ "outputPath": "C:\\Users\\bib\\Desktop\\Projekt-Fluxon\\shop_Fluxon\\ShopAPI\\obj\\",
+ "projectStyle": "PackageReference",
+ "fallbackFolders": [
+ "C:\\Program Files (x86)\\Microsoft Visual Studio\\Shared\\NuGetPackages"
+ ],
+ "configFilePaths": [
+ "C:\\Users\\bib\\AppData\\Roaming\\NuGet\\NuGet.Config",
+ "C:\\Program Files (x86)\\NuGet\\Config\\Microsoft.VisualStudio.FallbackLocation.config",
+ "C:\\Program Files (x86)\\NuGet\\Config\\Microsoft.VisualStudio.Offline.config"
+ ],
+ "originalTargetFrameworks": [
+ "net9.0"
+ ],
+ "sources": {
+ "C:\\Program Files (x86)\\Microsoft SDKs\\NuGetPackages\\": {},
+ "https://api.nuget.org/v3/index.json": {}
+ },
+ "frameworks": {
+ "net9.0": {
+ "targetAlias": "net9.0",
+ "projectReferences": {}
+ }
+ },
+ "warningProperties": {
+ "warnAsError": [
+ "NU1605"
+ ]
+ },
+ "restoreAuditProperties": {
+ "enableAudit": "true",
+ "auditLevel": "low",
+ "auditMode": "direct"
+ },
+ "SdkAnalysisLevel": "9.0.300"
+ },
+ "frameworks": {
+ "net9.0": {
+ "targetAlias": "net9.0",
+ "dependencies": {
+ "Microsoft.AspNetCore.OpenApi": {
+ "target": "Package",
+ "version": "[9.0.14, )"
+ }
+ },
+ "imports": [
+ "net461",
+ "net462",
+ "net47",
+ "net471",
+ "net472",
+ "net48",
+ "net481"
+ ],
+ "assetTargetFallback": true,
+ "warn": true,
+ "frameworkReferences": {
+ "Microsoft.AspNetCore.App": {
+ "privateAssets": "none"
+ },
+ "Microsoft.NETCore.App": {
+ "privateAssets": "all"
+ }
+ },
+ "runtimeIdentifierGraphPath": "C:\\Program Files\\dotnet\\sdk\\9.0.312/PortableRuntimeIdentifierGraph.json"
+ }
+ }
+ }
+ }
+}
\ No newline at end of file
diff --git a/ShopAPI/obj/ShopAPI.csproj.nuget.g.props b/ShopAPI/obj/ShopAPI.csproj.nuget.g.props
new file mode 100644
index 0000000..4409d41
--- /dev/null
+++ b/ShopAPI/obj/ShopAPI.csproj.nuget.g.props
@@ -0,0 +1,16 @@
+
+
+
+ True
+ NuGet
+ $(MSBuildThisFileDirectory)project.assets.json
+ $(UserProfile)\.nuget\packages\
+ C:\Users\bib\.nuget\packages\;C:\Program Files (x86)\Microsoft Visual Studio\Shared\NuGetPackages
+ PackageReference
+ 6.14.0
+
+
+
+
+
+
\ No newline at end of file
diff --git a/ShopAPI/obj/ShopAPI.csproj.nuget.g.targets b/ShopAPI/obj/ShopAPI.csproj.nuget.g.targets
new file mode 100644
index 0000000..3dc06ef
--- /dev/null
+++ b/ShopAPI/obj/ShopAPI.csproj.nuget.g.targets
@@ -0,0 +1,2 @@
+
+
\ No newline at end of file
diff --git a/ShopAPI/obj/project.assets.json b/ShopAPI/obj/project.assets.json
new file mode 100644
index 0000000..9dd331a
--- /dev/null
+++ b/ShopAPI/obj/project.assets.json
@@ -0,0 +1,155 @@
+{
+ "version": 3,
+ "targets": {
+ "net9.0": {
+ "Microsoft.AspNetCore.OpenApi/9.0.14": {
+ "type": "package",
+ "dependencies": {
+ "Microsoft.OpenApi": "1.6.17"
+ },
+ "compile": {
+ "lib/net9.0/Microsoft.AspNetCore.OpenApi.dll": {
+ "related": ".xml"
+ }
+ },
+ "runtime": {
+ "lib/net9.0/Microsoft.AspNetCore.OpenApi.dll": {
+ "related": ".xml"
+ }
+ },
+ "frameworkReferences": [
+ "Microsoft.AspNetCore.App"
+ ]
+ },
+ "Microsoft.OpenApi/1.6.17": {
+ "type": "package",
+ "compile": {
+ "lib/netstandard2.0/Microsoft.OpenApi.dll": {
+ "related": ".pdb;.xml"
+ }
+ },
+ "runtime": {
+ "lib/netstandard2.0/Microsoft.OpenApi.dll": {
+ "related": ".pdb;.xml"
+ }
+ }
+ }
+ }
+ },
+ "libraries": {
+ "Microsoft.AspNetCore.OpenApi/9.0.14": {
+ "sha512": "ywJcbdtem5tFlg73eCFb/ORdsZlASaTf0XixxsTQ8Z/ama/83CXB/nvBrvCrxkk62AKpdTxiESK0SvgmZ9HKFA==",
+ "type": "package",
+ "path": "microsoft.aspnetcore.openapi/9.0.14",
+ "files": [
+ ".nupkg.metadata",
+ ".signature.p7s",
+ "Icon.png",
+ "PACKAGE.md",
+ "THIRD-PARTY-NOTICES.TXT",
+ "lib/net9.0/Microsoft.AspNetCore.OpenApi.dll",
+ "lib/net9.0/Microsoft.AspNetCore.OpenApi.xml",
+ "microsoft.aspnetcore.openapi.9.0.14.nupkg.sha512",
+ "microsoft.aspnetcore.openapi.nuspec"
+ ]
+ },
+ "Microsoft.OpenApi/1.6.17": {
+ "sha512": "Le+kehlmrlQfuDFUt1zZ2dVwrhFQtKREdKBo+rexOwaCoYP0/qpgT9tLxCsZjsgR5Itk1UKPcbgO+FyaNid/bA==",
+ "type": "package",
+ "path": "microsoft.openapi/1.6.17",
+ "files": [
+ ".nupkg.metadata",
+ ".signature.p7s",
+ "README.md",
+ "lib/netstandard2.0/Microsoft.OpenApi.dll",
+ "lib/netstandard2.0/Microsoft.OpenApi.pdb",
+ "lib/netstandard2.0/Microsoft.OpenApi.xml",
+ "microsoft.openapi.1.6.17.nupkg.sha512",
+ "microsoft.openapi.nuspec"
+ ]
+ }
+ },
+ "projectFileDependencyGroups": {
+ "net9.0": [
+ "Microsoft.AspNetCore.OpenApi >= 9.0.14"
+ ]
+ },
+ "packageFolders": {
+ "C:\\Users\\bib\\.nuget\\packages\\": {},
+ "C:\\Program Files (x86)\\Microsoft Visual Studio\\Shared\\NuGetPackages": {}
+ },
+ "project": {
+ "version": "1.0.0",
+ "restore": {
+ "projectUniqueName": "C:\\Users\\bib\\Desktop\\Projekt-Fluxon\\shop_Fluxon\\ShopAPI\\ShopAPI.csproj",
+ "projectName": "ShopAPI",
+ "projectPath": "C:\\Users\\bib\\Desktop\\Projekt-Fluxon\\shop_Fluxon\\ShopAPI\\ShopAPI.csproj",
+ "packagesPath": "C:\\Users\\bib\\.nuget\\packages\\",
+ "outputPath": "C:\\Users\\bib\\Desktop\\Projekt-Fluxon\\shop_Fluxon\\ShopAPI\\obj\\",
+ "projectStyle": "PackageReference",
+ "fallbackFolders": [
+ "C:\\Program Files (x86)\\Microsoft Visual Studio\\Shared\\NuGetPackages"
+ ],
+ "configFilePaths": [
+ "C:\\Users\\bib\\AppData\\Roaming\\NuGet\\NuGet.Config",
+ "C:\\Program Files (x86)\\NuGet\\Config\\Microsoft.VisualStudio.FallbackLocation.config",
+ "C:\\Program Files (x86)\\NuGet\\Config\\Microsoft.VisualStudio.Offline.config"
+ ],
+ "originalTargetFrameworks": [
+ "net9.0"
+ ],
+ "sources": {
+ "C:\\Program Files (x86)\\Microsoft SDKs\\NuGetPackages\\": {},
+ "https://api.nuget.org/v3/index.json": {}
+ },
+ "frameworks": {
+ "net9.0": {
+ "targetAlias": "net9.0",
+ "projectReferences": {}
+ }
+ },
+ "warningProperties": {
+ "warnAsError": [
+ "NU1605"
+ ]
+ },
+ "restoreAuditProperties": {
+ "enableAudit": "true",
+ "auditLevel": "low",
+ "auditMode": "direct"
+ },
+ "SdkAnalysisLevel": "9.0.300"
+ },
+ "frameworks": {
+ "net9.0": {
+ "targetAlias": "net9.0",
+ "dependencies": {
+ "Microsoft.AspNetCore.OpenApi": {
+ "target": "Package",
+ "version": "[9.0.14, )"
+ }
+ },
+ "imports": [
+ "net461",
+ "net462",
+ "net47",
+ "net471",
+ "net472",
+ "net48",
+ "net481"
+ ],
+ "assetTargetFallback": true,
+ "warn": true,
+ "frameworkReferences": {
+ "Microsoft.AspNetCore.App": {
+ "privateAssets": "none"
+ },
+ "Microsoft.NETCore.App": {
+ "privateAssets": "all"
+ }
+ },
+ "runtimeIdentifierGraphPath": "C:\\Program Files\\dotnet\\sdk\\9.0.312/PortableRuntimeIdentifierGraph.json"
+ }
+ }
+ }
+}
\ No newline at end of file
diff --git a/ShopAPI/obj/project.nuget.cache b/ShopAPI/obj/project.nuget.cache
new file mode 100644
index 0000000..457e7fc
--- /dev/null
+++ b/ShopAPI/obj/project.nuget.cache
@@ -0,0 +1,11 @@
+{
+ "version": 2,
+ "dgSpecHash": "nUFXGGdC8as=",
+ "success": true,
+ "projectFilePath": "C:\\Users\\bib\\Desktop\\Projekt-Fluxon\\shop_Fluxon\\ShopAPI\\ShopAPI.csproj",
+ "expectedPackageFiles": [
+ "C:\\Users\\bib\\.nuget\\packages\\microsoft.aspnetcore.openapi\\9.0.14\\microsoft.aspnetcore.openapi.9.0.14.nupkg.sha512",
+ "C:\\Users\\bib\\.nuget\\packages\\microsoft.openapi\\1.6.17\\microsoft.openapi.1.6.17.nupkg.sha512"
+ ],
+ "logs": []
+}
\ No newline at end of file