first commit
This commit is contained in:
BIN
source/repos/LEA/.vs/LEA/DesignTimeBuild/.dtbcache.v2
Normal file
BIN
source/repos/LEA/.vs/LEA/DesignTimeBuild/.dtbcache.v2
Normal file
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
1016
source/repos/LEA/.vs/LEA/config/applicationhost.config
Normal file
1016
source/repos/LEA/.vs/LEA/config/applicationhost.config
Normal file
File diff suppressed because it is too large
Load Diff
BIN
source/repos/LEA/.vs/LEA/v17/.futdcache.v2
Normal file
BIN
source/repos/LEA/.vs/LEA/v17/.futdcache.v2
Normal file
Binary file not shown.
BIN
source/repos/LEA/.vs/LEA/v17/.suo
Normal file
BIN
source/repos/LEA/.vs/LEA/v17/.suo
Normal file
Binary file not shown.
190
source/repos/LEA/.vs/LEA/v17/DocumentLayout.backup.json
Normal file
190
source/repos/LEA/.vs/LEA/v17/DocumentLayout.backup.json
Normal file
@@ -0,0 +1,190 @@
|
||||
{
|
||||
"Version": 1,
|
||||
"WorkspaceRootPath": "C:\\Users\\bib\\source\\repos\\LEA\\",
|
||||
"Documents": [
|
||||
{
|
||||
"AbsoluteMoniker": "D:0:0:{9DE0A8E4-C990-4B5B-B91D-398EB7D34088}|LEA\\LEA.csproj|c:\\users\\bib\\source\\repos\\lea\\lea\\views\\shared\\_layout.cshtml||{40D31677-CBC0-4297-A9EF-89D907823A98}",
|
||||
"RelativeMoniker": "D:0:0:{9DE0A8E4-C990-4B5B-B91D-398EB7D34088}|LEA\\LEA.csproj|solutionrelative:lea\\views\\shared\\_layout.cshtml||{40D31677-CBC0-4297-A9EF-89D907823A98}"
|
||||
},
|
||||
{
|
||||
"AbsoluteMoniker": "D:0:0:{9DE0A8E4-C990-4B5B-B91D-398EB7D34088}|LEA\\LEA.csproj|c:\\users\\bib\\source\\repos\\lea\\lea\\appsettings.json||{90A6B3A7-C1A3-4009-A288-E2FF89E96FA0}",
|
||||
"RelativeMoniker": "D:0:0:{9DE0A8E4-C990-4B5B-B91D-398EB7D34088}|LEA\\LEA.csproj|solutionrelative:lea\\appsettings.json||{90A6B3A7-C1A3-4009-A288-E2FF89E96FA0}"
|
||||
},
|
||||
{
|
||||
"AbsoluteMoniker": "D:0:0:{9DE0A8E4-C990-4B5B-B91D-398EB7D34088}|LEA\\LEA.csproj|c:\\users\\bib\\source\\repos\\lea\\lea\\controllers\\homecontroller.cs||{A6C744A8-0E4A-4FC6-886A-064283054674}",
|
||||
"RelativeMoniker": "D:0:0:{9DE0A8E4-C990-4B5B-B91D-398EB7D34088}|LEA\\LEA.csproj|solutionrelative:lea\\controllers\\homecontroller.cs||{A6C744A8-0E4A-4FC6-886A-064283054674}"
|
||||
},
|
||||
{
|
||||
"AbsoluteMoniker": "D:0:0:{9DE0A8E4-C990-4B5B-B91D-398EB7D34088}|LEA\\LEA.csproj|c:\\users\\bib\\source\\repos\\lea\\lea\\migrations\\appdbcontextmodelsnapshot.cs||{A6C744A8-0E4A-4FC6-886A-064283054674}",
|
||||
"RelativeMoniker": "D:0:0:{9DE0A8E4-C990-4B5B-B91D-398EB7D34088}|LEA\\LEA.csproj|solutionrelative:lea\\migrations\\appdbcontextmodelsnapshot.cs||{A6C744A8-0E4A-4FC6-886A-064283054674}"
|
||||
},
|
||||
{
|
||||
"AbsoluteMoniker": "D:0:0:{9DE0A8E4-C990-4B5B-B91D-398EB7D34088}|LEA\\LEA.csproj|c:\\users\\bib\\source\\repos\\lea\\lea\\models\\errorviewmodel.cs||{A6C744A8-0E4A-4FC6-886A-064283054674}",
|
||||
"RelativeMoniker": "D:0:0:{9DE0A8E4-C990-4B5B-B91D-398EB7D34088}|LEA\\LEA.csproj|solutionrelative:lea\\models\\errorviewmodel.cs||{A6C744A8-0E4A-4FC6-886A-064283054674}"
|
||||
},
|
||||
{
|
||||
"AbsoluteMoniker": "D:0:0:{9DE0A8E4-C990-4B5B-B91D-398EB7D34088}|LEA\\LEA.csproj|c:\\users\\bib\\source\\repos\\lea\\lea\\models\\application.cs||{A6C744A8-0E4A-4FC6-886A-064283054674}",
|
||||
"RelativeMoniker": "D:0:0:{9DE0A8E4-C990-4B5B-B91D-398EB7D34088}|LEA\\LEA.csproj|solutionrelative:lea\\models\\application.cs||{A6C744A8-0E4A-4FC6-886A-064283054674}"
|
||||
},
|
||||
{
|
||||
"AbsoluteMoniker": "D:0:0:{9DE0A8E4-C990-4B5B-B91D-398EB7D34088}|LEA\\LEA.csproj|c:\\users\\bib\\source\\repos\\lea\\lea\\program.cs||{A6C744A8-0E4A-4FC6-886A-064283054674}",
|
||||
"RelativeMoniker": "D:0:0:{9DE0A8E4-C990-4B5B-B91D-398EB7D34088}|LEA\\LEA.csproj|solutionrelative:lea\\program.cs||{A6C744A8-0E4A-4FC6-886A-064283054674}"
|
||||
},
|
||||
{
|
||||
"AbsoluteMoniker": "D:0:0:{9DE0A8E4-C990-4B5B-B91D-398EB7D34088}|LEA\\LEA.csproj|c:\\users\\bib\\source\\repos\\lea\\lea\\lea.csproj||{FA3CD31E-987B-443A-9B81-186104E8DAC1}|",
|
||||
"RelativeMoniker": "D:0:0:{9DE0A8E4-C990-4B5B-B91D-398EB7D34088}|LEA\\LEA.csproj|solutionrelative:lea\\lea.csproj||{FA3CD31E-987B-443A-9B81-186104E8DAC1}|"
|
||||
},
|
||||
{
|
||||
"AbsoluteMoniker": "D:0:0:{9DE0A8E4-C990-4B5B-B91D-398EB7D34088}|LEA\\LEA.csproj|c:\\users\\bib\\source\\repos\\lea\\lea\\migrations\\20250915125419_initialcreate.cs||{A6C744A8-0E4A-4FC6-886A-064283054674}",
|
||||
"RelativeMoniker": "D:0:0:{9DE0A8E4-C990-4B5B-B91D-398EB7D34088}|LEA\\LEA.csproj|solutionrelative:lea\\migrations\\20250915125419_initialcreate.cs||{A6C744A8-0E4A-4FC6-886A-064283054674}"
|
||||
},
|
||||
{
|
||||
"AbsoluteMoniker": "D:0:0:{9DE0A8E4-C990-4B5B-B91D-398EB7D34088}|LEA\\LEA.csproj|c:\\users\\bib\\source\\repos\\lea\\lea\\data\\appdbcontext.cs||{A6C744A8-0E4A-4FC6-886A-064283054674}",
|
||||
"RelativeMoniker": "D:0:0:{9DE0A8E4-C990-4B5B-B91D-398EB7D34088}|LEA\\LEA.csproj|solutionrelative:lea\\data\\appdbcontext.cs||{A6C744A8-0E4A-4FC6-886A-064283054674}"
|
||||
}
|
||||
],
|
||||
"DocumentGroupContainers": [
|
||||
{
|
||||
"Orientation": 0,
|
||||
"VerticalTabListWidth": 256,
|
||||
"DocumentGroups": [
|
||||
{
|
||||
"DockedWidth": 247,
|
||||
"SelectedChildIndex": 0,
|
||||
"Children": [
|
||||
{
|
||||
"$type": "Document",
|
||||
"DocumentIndex": 0,
|
||||
"Title": "_Layout.cshtml",
|
||||
"DocumentMoniker": "C:\\Users\\bib\\source\\repos\\LEA\\LEA\\Views\\Shared\\_Layout.cshtml",
|
||||
"RelativeDocumentMoniker": "LEA\\Views\\Shared\\_Layout.cshtml",
|
||||
"ToolTip": "C:\\Users\\bib\\source\\repos\\LEA\\LEA\\Views\\Shared\\_Layout.cshtml",
|
||||
"RelativeToolTip": "LEA\\Views\\Shared\\_Layout.cshtml",
|
||||
"ViewState": "AgIAAAAAAAAAAAAAAAAAAAUAAAAqAAAAAAAAAA==",
|
||||
"Icon": "ae27a6b0-e345-4288-96df-5eaf394ee369.000759|",
|
||||
"WhenOpened": "2025-09-16T07:24:48.625Z",
|
||||
"EditorCaption": ""
|
||||
},
|
||||
{
|
||||
"$type": "Document",
|
||||
"DocumentIndex": 3,
|
||||
"Title": "AppDbContextModelSnapshot.cs",
|
||||
"DocumentMoniker": "C:\\Users\\bib\\source\\repos\\LEA\\LEA\\Migrations\\AppDbContextModelSnapshot.cs",
|
||||
"RelativeDocumentMoniker": "LEA\\Migrations\\AppDbContextModelSnapshot.cs",
|
||||
"ToolTip": "C:\\Users\\bib\\source\\repos\\LEA\\LEA\\Migrations\\AppDbContextModelSnapshot.cs",
|
||||
"RelativeToolTip": "LEA\\Migrations\\AppDbContextModelSnapshot.cs",
|
||||
"ViewState": "AgIAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA==",
|
||||
"Icon": "ae27a6b0-e345-4288-96df-5eaf394ee369.000738|",
|
||||
"WhenOpened": "2025-09-16T06:55:48.849Z",
|
||||
"EditorCaption": ""
|
||||
},
|
||||
{
|
||||
"$type": "Document",
|
||||
"DocumentIndex": 8,
|
||||
"Title": "20250915125419_InitialCreate.cs",
|
||||
"DocumentMoniker": "C:\\Users\\bib\\source\\repos\\LEA\\LEA\\Migrations\\20250915125419_InitialCreate.cs",
|
||||
"RelativeDocumentMoniker": "LEA\\Migrations\\20250915125419_InitialCreate.cs",
|
||||
"ToolTip": "C:\\Users\\bib\\source\\repos\\LEA\\LEA\\Migrations\\20250915125419_InitialCreate.cs",
|
||||
"RelativeToolTip": "LEA\\Migrations\\20250915125419_InitialCreate.cs",
|
||||
"ViewState": "AgIAACgAAAAAAAAAAAA8wAAAAAAAAAAAAAAAAA==",
|
||||
"Icon": "ae27a6b0-e345-4288-96df-5eaf394ee369.000738|",
|
||||
"WhenOpened": "2025-09-15T12:54:20.465Z",
|
||||
"EditorCaption": ""
|
||||
},
|
||||
{
|
||||
"$type": "Document",
|
||||
"DocumentIndex": 9,
|
||||
"Title": "AppDbContext.cs",
|
||||
"DocumentMoniker": "C:\\Users\\bib\\source\\repos\\LEA\\LEA\\Data\\AppDbContext.cs",
|
||||
"RelativeDocumentMoniker": "LEA\\Data\\AppDbContext.cs",
|
||||
"ToolTip": "C:\\Users\\bib\\source\\repos\\LEA\\LEA\\Data\\AppDbContext.cs",
|
||||
"RelativeToolTip": "LEA\\Data\\AppDbContext.cs",
|
||||
"ViewState": "AgIAAAAAAAAAAAAAAAAAAA4AAAAAAAAAAAAAAA==",
|
||||
"Icon": "ae27a6b0-e345-4288-96df-5eaf394ee369.000738|",
|
||||
"WhenOpened": "2025-09-15T12:36:42.137Z",
|
||||
"EditorCaption": ""
|
||||
},
|
||||
{
|
||||
"$type": "Document",
|
||||
"DocumentIndex": 7,
|
||||
"Title": "LEA",
|
||||
"DocumentMoniker": "C:\\Users\\bib\\source\\repos\\LEA\\LEA\\LEA.csproj",
|
||||
"RelativeDocumentMoniker": "LEA\\LEA.csproj",
|
||||
"ToolTip": "C:\\Users\\bib\\source\\repos\\LEA\\LEA\\LEA.csproj",
|
||||
"RelativeToolTip": "LEA\\LEA.csproj",
|
||||
"ViewState": "AgIAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA==",
|
||||
"Icon": "ae27a6b0-e345-4288-96df-5eaf394ee369.000758|",
|
||||
"WhenOpened": "2025-09-15T12:36:14.172Z",
|
||||
"EditorCaption": ""
|
||||
},
|
||||
{
|
||||
"$type": "Document",
|
||||
"DocumentIndex": 1,
|
||||
"Title": "appsettings.json",
|
||||
"DocumentMoniker": "C:\\Users\\bib\\source\\repos\\LEA\\LEA\\appsettings.json",
|
||||
"RelativeDocumentMoniker": "LEA\\appsettings.json",
|
||||
"ToolTip": "C:\\Users\\bib\\source\\repos\\LEA\\LEA\\appsettings.json",
|
||||
"RelativeToolTip": "LEA\\appsettings.json",
|
||||
"ViewState": "AgIAAAAAAAAAAAAAAAAAAAoAAABUAAAAAAAAAA==",
|
||||
"Icon": "ae27a6b0-e345-4288-96df-5eaf394ee369.001642|",
|
||||
"WhenOpened": "2025-09-15T12:30:55.972Z",
|
||||
"EditorCaption": ""
|
||||
},
|
||||
{
|
||||
"$type": "Document",
|
||||
"DocumentIndex": 6,
|
||||
"Title": "Program.cs",
|
||||
"DocumentMoniker": "C:\\Users\\bib\\source\\repos\\LEA\\LEA\\Program.cs",
|
||||
"RelativeDocumentMoniker": "LEA\\Program.cs",
|
||||
"ToolTip": "C:\\Users\\bib\\source\\repos\\LEA\\LEA\\Program.cs",
|
||||
"RelativeToolTip": "LEA\\Program.cs",
|
||||
"ViewState": "AgIAAAAAAAAAAAAAAAAAAAkAAAA9AAAAAAAAAA==",
|
||||
"Icon": "ae27a6b0-e345-4288-96df-5eaf394ee369.000738|",
|
||||
"WhenOpened": "2025-09-15T12:29:41.456Z",
|
||||
"EditorCaption": ""
|
||||
},
|
||||
{
|
||||
"$type": "Document",
|
||||
"DocumentIndex": 5,
|
||||
"Title": "Application.cs",
|
||||
"DocumentMoniker": "C:\\Users\\bib\\source\\repos\\LEA\\LEA\\Models\\Application.cs",
|
||||
"RelativeDocumentMoniker": "LEA\\Models\\Application.cs",
|
||||
"ToolTip": "C:\\Users\\bib\\source\\repos\\LEA\\LEA\\Models\\Application.cs",
|
||||
"RelativeToolTip": "LEA\\Models\\Application.cs",
|
||||
"ViewState": "AgIAAAAAAAAAAAAAAAAAAAsAAAAAAAAAAAAAAA==",
|
||||
"Icon": "ae27a6b0-e345-4288-96df-5eaf394ee369.000738|",
|
||||
"WhenOpened": "2025-09-15T12:26:34.472Z",
|
||||
"EditorCaption": ""
|
||||
},
|
||||
{
|
||||
"$type": "Document",
|
||||
"DocumentIndex": 2,
|
||||
"Title": "HomeController.cs",
|
||||
"DocumentMoniker": "C:\\Users\\bib\\source\\repos\\LEA\\LEA\\Controllers\\HomeController.cs",
|
||||
"RelativeDocumentMoniker": "LEA\\Controllers\\HomeController.cs",
|
||||
"ToolTip": "C:\\Users\\bib\\source\\repos\\LEA\\LEA\\Controllers\\HomeController.cs",
|
||||
"RelativeToolTip": "LEA\\Controllers\\HomeController.cs",
|
||||
"ViewState": "AgIAABAAAAAAAAAAAAAqwAAAAAAAAAAAAAAAAA==",
|
||||
"Icon": "ae27a6b0-e345-4288-96df-5eaf394ee369.000738|",
|
||||
"WhenOpened": "2025-09-15T12:24:01.054Z",
|
||||
"EditorCaption": ""
|
||||
},
|
||||
{
|
||||
"$type": "Document",
|
||||
"DocumentIndex": 4,
|
||||
"Title": "ErrorViewModel.cs",
|
||||
"DocumentMoniker": "C:\\Users\\bib\\source\\repos\\LEA\\LEA\\Models\\ErrorViewModel.cs",
|
||||
"RelativeDocumentMoniker": "LEA\\Models\\ErrorViewModel.cs",
|
||||
"ToolTip": "C:\\Users\\bib\\source\\repos\\LEA\\LEA\\Models\\ErrorViewModel.cs",
|
||||
"RelativeToolTip": "LEA\\Models\\ErrorViewModel.cs",
|
||||
"ViewState": "AgIAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA==",
|
||||
"Icon": "ae27a6b0-e345-4288-96df-5eaf394ee369.000738|",
|
||||
"WhenOpened": "2025-09-15T12:25:42.788Z",
|
||||
"EditorCaption": ""
|
||||
}
|
||||
]
|
||||
}
|
||||
]
|
||||
}
|
||||
]
|
||||
}
|
190
source/repos/LEA/.vs/LEA/v17/DocumentLayout.json
Normal file
190
source/repos/LEA/.vs/LEA/v17/DocumentLayout.json
Normal file
@@ -0,0 +1,190 @@
|
||||
{
|
||||
"Version": 1,
|
||||
"WorkspaceRootPath": "C:\\Users\\bib\\source\\repos\\LEA\\",
|
||||
"Documents": [
|
||||
{
|
||||
"AbsoluteMoniker": "D:0:0:{9DE0A8E4-C990-4B5B-B91D-398EB7D34088}|LEA\\LEA.csproj|c:\\users\\bib\\source\\repos\\lea\\lea\\views\\shared\\_layout.cshtml||{40D31677-CBC0-4297-A9EF-89D907823A98}",
|
||||
"RelativeMoniker": "D:0:0:{9DE0A8E4-C990-4B5B-B91D-398EB7D34088}|LEA\\LEA.csproj|solutionrelative:lea\\views\\shared\\_layout.cshtml||{40D31677-CBC0-4297-A9EF-89D907823A98}"
|
||||
},
|
||||
{
|
||||
"AbsoluteMoniker": "D:0:0:{9DE0A8E4-C990-4B5B-B91D-398EB7D34088}|LEA\\LEA.csproj|c:\\users\\bib\\source\\repos\\lea\\lea\\appsettings.json||{90A6B3A7-C1A3-4009-A288-E2FF89E96FA0}",
|
||||
"RelativeMoniker": "D:0:0:{9DE0A8E4-C990-4B5B-B91D-398EB7D34088}|LEA\\LEA.csproj|solutionrelative:lea\\appsettings.json||{90A6B3A7-C1A3-4009-A288-E2FF89E96FA0}"
|
||||
},
|
||||
{
|
||||
"AbsoluteMoniker": "D:0:0:{9DE0A8E4-C990-4B5B-B91D-398EB7D34088}|LEA\\LEA.csproj|c:\\users\\bib\\source\\repos\\lea\\lea\\controllers\\homecontroller.cs||{A6C744A8-0E4A-4FC6-886A-064283054674}",
|
||||
"RelativeMoniker": "D:0:0:{9DE0A8E4-C990-4B5B-B91D-398EB7D34088}|LEA\\LEA.csproj|solutionrelative:lea\\controllers\\homecontroller.cs||{A6C744A8-0E4A-4FC6-886A-064283054674}"
|
||||
},
|
||||
{
|
||||
"AbsoluteMoniker": "D:0:0:{9DE0A8E4-C990-4B5B-B91D-398EB7D34088}|LEA\\LEA.csproj|c:\\users\\bib\\source\\repos\\lea\\lea\\migrations\\appdbcontextmodelsnapshot.cs||{A6C744A8-0E4A-4FC6-886A-064283054674}",
|
||||
"RelativeMoniker": "D:0:0:{9DE0A8E4-C990-4B5B-B91D-398EB7D34088}|LEA\\LEA.csproj|solutionrelative:lea\\migrations\\appdbcontextmodelsnapshot.cs||{A6C744A8-0E4A-4FC6-886A-064283054674}"
|
||||
},
|
||||
{
|
||||
"AbsoluteMoniker": "D:0:0:{9DE0A8E4-C990-4B5B-B91D-398EB7D34088}|LEA\\LEA.csproj|c:\\users\\bib\\source\\repos\\lea\\lea\\models\\errorviewmodel.cs||{A6C744A8-0E4A-4FC6-886A-064283054674}",
|
||||
"RelativeMoniker": "D:0:0:{9DE0A8E4-C990-4B5B-B91D-398EB7D34088}|LEA\\LEA.csproj|solutionrelative:lea\\models\\errorviewmodel.cs||{A6C744A8-0E4A-4FC6-886A-064283054674}"
|
||||
},
|
||||
{
|
||||
"AbsoluteMoniker": "D:0:0:{9DE0A8E4-C990-4B5B-B91D-398EB7D34088}|LEA\\LEA.csproj|c:\\users\\bib\\source\\repos\\lea\\lea\\models\\application.cs||{A6C744A8-0E4A-4FC6-886A-064283054674}",
|
||||
"RelativeMoniker": "D:0:0:{9DE0A8E4-C990-4B5B-B91D-398EB7D34088}|LEA\\LEA.csproj|solutionrelative:lea\\models\\application.cs||{A6C744A8-0E4A-4FC6-886A-064283054674}"
|
||||
},
|
||||
{
|
||||
"AbsoluteMoniker": "D:0:0:{9DE0A8E4-C990-4B5B-B91D-398EB7D34088}|LEA\\LEA.csproj|c:\\users\\bib\\source\\repos\\lea\\lea\\program.cs||{A6C744A8-0E4A-4FC6-886A-064283054674}",
|
||||
"RelativeMoniker": "D:0:0:{9DE0A8E4-C990-4B5B-B91D-398EB7D34088}|LEA\\LEA.csproj|solutionrelative:lea\\program.cs||{A6C744A8-0E4A-4FC6-886A-064283054674}"
|
||||
},
|
||||
{
|
||||
"AbsoluteMoniker": "D:0:0:{9DE0A8E4-C990-4B5B-B91D-398EB7D34088}|LEA\\LEA.csproj|c:\\users\\bib\\source\\repos\\lea\\lea\\lea.csproj||{FA3CD31E-987B-443A-9B81-186104E8DAC1}|",
|
||||
"RelativeMoniker": "D:0:0:{9DE0A8E4-C990-4B5B-B91D-398EB7D34088}|LEA\\LEA.csproj|solutionrelative:lea\\lea.csproj||{FA3CD31E-987B-443A-9B81-186104E8DAC1}|"
|
||||
},
|
||||
{
|
||||
"AbsoluteMoniker": "D:0:0:{9DE0A8E4-C990-4B5B-B91D-398EB7D34088}|LEA\\LEA.csproj|c:\\users\\bib\\source\\repos\\lea\\lea\\migrations\\20250915125419_initialcreate.cs||{A6C744A8-0E4A-4FC6-886A-064283054674}",
|
||||
"RelativeMoniker": "D:0:0:{9DE0A8E4-C990-4B5B-B91D-398EB7D34088}|LEA\\LEA.csproj|solutionrelative:lea\\migrations\\20250915125419_initialcreate.cs||{A6C744A8-0E4A-4FC6-886A-064283054674}"
|
||||
},
|
||||
{
|
||||
"AbsoluteMoniker": "D:0:0:{9DE0A8E4-C990-4B5B-B91D-398EB7D34088}|LEA\\LEA.csproj|c:\\users\\bib\\source\\repos\\lea\\lea\\data\\appdbcontext.cs||{A6C744A8-0E4A-4FC6-886A-064283054674}",
|
||||
"RelativeMoniker": "D:0:0:{9DE0A8E4-C990-4B5B-B91D-398EB7D34088}|LEA\\LEA.csproj|solutionrelative:lea\\data\\appdbcontext.cs||{A6C744A8-0E4A-4FC6-886A-064283054674}"
|
||||
}
|
||||
],
|
||||
"DocumentGroupContainers": [
|
||||
{
|
||||
"Orientation": 0,
|
||||
"VerticalTabListWidth": 256,
|
||||
"DocumentGroups": [
|
||||
{
|
||||
"DockedWidth": 247,
|
||||
"SelectedChildIndex": 0,
|
||||
"Children": [
|
||||
{
|
||||
"$type": "Document",
|
||||
"DocumentIndex": 0,
|
||||
"Title": "_Layout.cshtml",
|
||||
"DocumentMoniker": "C:\\Users\\bib\\source\\repos\\LEA\\LEA\\Views\\Shared\\_Layout.cshtml",
|
||||
"RelativeDocumentMoniker": "LEA\\Views\\Shared\\_Layout.cshtml",
|
||||
"ToolTip": "C:\\Users\\bib\\source\\repos\\LEA\\LEA\\Views\\Shared\\_Layout.cshtml",
|
||||
"RelativeToolTip": "LEA\\Views\\Shared\\_Layout.cshtml",
|
||||
"ViewState": "AgIAAB0AAAAAAAAAAAA2wDEAAAAAAAAAAAAAAA==",
|
||||
"Icon": "ae27a6b0-e345-4288-96df-5eaf394ee369.000759|",
|
||||
"WhenOpened": "2025-09-16T07:24:48.625Z",
|
||||
"EditorCaption": ""
|
||||
},
|
||||
{
|
||||
"$type": "Document",
|
||||
"DocumentIndex": 3,
|
||||
"Title": "AppDbContextModelSnapshot.cs",
|
||||
"DocumentMoniker": "C:\\Users\\bib\\source\\repos\\LEA\\LEA\\Migrations\\AppDbContextModelSnapshot.cs",
|
||||
"RelativeDocumentMoniker": "LEA\\Migrations\\AppDbContextModelSnapshot.cs",
|
||||
"ToolTip": "C:\\Users\\bib\\source\\repos\\LEA\\LEA\\Migrations\\AppDbContextModelSnapshot.cs",
|
||||
"RelativeToolTip": "LEA\\Migrations\\AppDbContextModelSnapshot.cs",
|
||||
"ViewState": "AgIAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA==",
|
||||
"Icon": "ae27a6b0-e345-4288-96df-5eaf394ee369.000738|",
|
||||
"WhenOpened": "2025-09-16T06:55:48.849Z",
|
||||
"EditorCaption": ""
|
||||
},
|
||||
{
|
||||
"$type": "Document",
|
||||
"DocumentIndex": 8,
|
||||
"Title": "20250915125419_InitialCreate.cs",
|
||||
"DocumentMoniker": "C:\\Users\\bib\\source\\repos\\LEA\\LEA\\Migrations\\20250915125419_InitialCreate.cs",
|
||||
"RelativeDocumentMoniker": "LEA\\Migrations\\20250915125419_InitialCreate.cs",
|
||||
"ToolTip": "C:\\Users\\bib\\source\\repos\\LEA\\LEA\\Migrations\\20250915125419_InitialCreate.cs",
|
||||
"RelativeToolTip": "LEA\\Migrations\\20250915125419_InitialCreate.cs",
|
||||
"ViewState": "AgIAACgAAAAAAAAAAAA8wAAAAAAAAAAAAAAAAA==",
|
||||
"Icon": "ae27a6b0-e345-4288-96df-5eaf394ee369.000738|",
|
||||
"WhenOpened": "2025-09-15T12:54:20.465Z",
|
||||
"EditorCaption": ""
|
||||
},
|
||||
{
|
||||
"$type": "Document",
|
||||
"DocumentIndex": 9,
|
||||
"Title": "AppDbContext.cs",
|
||||
"DocumentMoniker": "C:\\Users\\bib\\source\\repos\\LEA\\LEA\\Data\\AppDbContext.cs",
|
||||
"RelativeDocumentMoniker": "LEA\\Data\\AppDbContext.cs",
|
||||
"ToolTip": "C:\\Users\\bib\\source\\repos\\LEA\\LEA\\Data\\AppDbContext.cs",
|
||||
"RelativeToolTip": "LEA\\Data\\AppDbContext.cs",
|
||||
"ViewState": "AgIAAAAAAAAAAAAAAAAAAA4AAAAAAAAAAAAAAA==",
|
||||
"Icon": "ae27a6b0-e345-4288-96df-5eaf394ee369.000738|",
|
||||
"WhenOpened": "2025-09-15T12:36:42.137Z",
|
||||
"EditorCaption": ""
|
||||
},
|
||||
{
|
||||
"$type": "Document",
|
||||
"DocumentIndex": 7,
|
||||
"Title": "LEA",
|
||||
"DocumentMoniker": "C:\\Users\\bib\\source\\repos\\LEA\\LEA\\LEA.csproj",
|
||||
"RelativeDocumentMoniker": "LEA\\LEA.csproj",
|
||||
"ToolTip": "C:\\Users\\bib\\source\\repos\\LEA\\LEA\\LEA.csproj",
|
||||
"RelativeToolTip": "LEA\\LEA.csproj",
|
||||
"ViewState": "AgIAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA==",
|
||||
"Icon": "ae27a6b0-e345-4288-96df-5eaf394ee369.000758|",
|
||||
"WhenOpened": "2025-09-15T12:36:14.172Z",
|
||||
"EditorCaption": ""
|
||||
},
|
||||
{
|
||||
"$type": "Document",
|
||||
"DocumentIndex": 1,
|
||||
"Title": "appsettings.json",
|
||||
"DocumentMoniker": "C:\\Users\\bib\\source\\repos\\LEA\\LEA\\appsettings.json",
|
||||
"RelativeDocumentMoniker": "LEA\\appsettings.json",
|
||||
"ToolTip": "C:\\Users\\bib\\source\\repos\\LEA\\LEA\\appsettings.json",
|
||||
"RelativeToolTip": "LEA\\appsettings.json",
|
||||
"ViewState": "AgIAAAAAAAAAAAAAAAAAAAoAAABUAAAAAAAAAA==",
|
||||
"Icon": "ae27a6b0-e345-4288-96df-5eaf394ee369.001642|",
|
||||
"WhenOpened": "2025-09-15T12:30:55.972Z",
|
||||
"EditorCaption": ""
|
||||
},
|
||||
{
|
||||
"$type": "Document",
|
||||
"DocumentIndex": 6,
|
||||
"Title": "Program.cs",
|
||||
"DocumentMoniker": "C:\\Users\\bib\\source\\repos\\LEA\\LEA\\Program.cs",
|
||||
"RelativeDocumentMoniker": "LEA\\Program.cs",
|
||||
"ToolTip": "C:\\Users\\bib\\source\\repos\\LEA\\LEA\\Program.cs",
|
||||
"RelativeToolTip": "LEA\\Program.cs",
|
||||
"ViewState": "AgIAAAAAAAAAAAAAAAAAAAkAAAA9AAAAAAAAAA==",
|
||||
"Icon": "ae27a6b0-e345-4288-96df-5eaf394ee369.000738|",
|
||||
"WhenOpened": "2025-09-15T12:29:41.456Z",
|
||||
"EditorCaption": ""
|
||||
},
|
||||
{
|
||||
"$type": "Document",
|
||||
"DocumentIndex": 5,
|
||||
"Title": "Application.cs",
|
||||
"DocumentMoniker": "C:\\Users\\bib\\source\\repos\\LEA\\LEA\\Models\\Application.cs",
|
||||
"RelativeDocumentMoniker": "LEA\\Models\\Application.cs",
|
||||
"ToolTip": "C:\\Users\\bib\\source\\repos\\LEA\\LEA\\Models\\Application.cs",
|
||||
"RelativeToolTip": "LEA\\Models\\Application.cs",
|
||||
"ViewState": "AgIAAAAAAAAAAAAAAAAAAAsAAAAAAAAAAAAAAA==",
|
||||
"Icon": "ae27a6b0-e345-4288-96df-5eaf394ee369.000738|",
|
||||
"WhenOpened": "2025-09-15T12:26:34.472Z",
|
||||
"EditorCaption": ""
|
||||
},
|
||||
{
|
||||
"$type": "Document",
|
||||
"DocumentIndex": 2,
|
||||
"Title": "HomeController.cs",
|
||||
"DocumentMoniker": "C:\\Users\\bib\\source\\repos\\LEA\\LEA\\Controllers\\HomeController.cs",
|
||||
"RelativeDocumentMoniker": "LEA\\Controllers\\HomeController.cs",
|
||||
"ToolTip": "C:\\Users\\bib\\source\\repos\\LEA\\LEA\\Controllers\\HomeController.cs",
|
||||
"RelativeToolTip": "LEA\\Controllers\\HomeController.cs",
|
||||
"ViewState": "AgIAABAAAAAAAAAAAAAqwAAAAAAAAAAAAAAAAA==",
|
||||
"Icon": "ae27a6b0-e345-4288-96df-5eaf394ee369.000738|",
|
||||
"WhenOpened": "2025-09-15T12:24:01.054Z",
|
||||
"EditorCaption": ""
|
||||
},
|
||||
{
|
||||
"$type": "Document",
|
||||
"DocumentIndex": 4,
|
||||
"Title": "ErrorViewModel.cs",
|
||||
"DocumentMoniker": "C:\\Users\\bib\\source\\repos\\LEA\\LEA\\Models\\ErrorViewModel.cs",
|
||||
"RelativeDocumentMoniker": "LEA\\Models\\ErrorViewModel.cs",
|
||||
"ToolTip": "C:\\Users\\bib\\source\\repos\\LEA\\LEA\\Models\\ErrorViewModel.cs",
|
||||
"RelativeToolTip": "LEA\\Models\\ErrorViewModel.cs",
|
||||
"ViewState": "AgIAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA==",
|
||||
"Icon": "ae27a6b0-e345-4288-96df-5eaf394ee369.000738|",
|
||||
"WhenOpened": "2025-09-15T12:25:42.788Z",
|
||||
"EditorCaption": ""
|
||||
}
|
||||
]
|
||||
}
|
||||
]
|
||||
}
|
||||
]
|
||||
}
|
BIN
source/repos/LEA/.vs/ProjectEvaluation/lea.metadata.v9.bin
Normal file
BIN
source/repos/LEA/.vs/ProjectEvaluation/lea.metadata.v9.bin
Normal file
Binary file not shown.
BIN
source/repos/LEA/.vs/ProjectEvaluation/lea.projects.v9.bin
Normal file
BIN
source/repos/LEA/.vs/ProjectEvaluation/lea.projects.v9.bin
Normal file
Binary file not shown.
BIN
source/repos/LEA/.vs/ProjectEvaluation/lea.strings.v9.bin
Normal file
BIN
source/repos/LEA/.vs/ProjectEvaluation/lea.strings.v9.bin
Normal file
Binary file not shown.
22
source/repos/LEA/LEA.sln
Normal file
22
source/repos/LEA/LEA.sln
Normal file
@@ -0,0 +1,22 @@
|
||||
|
||||
Microsoft Visual Studio Solution File, Format Version 12.00
|
||||
# Visual Studio Version 17
|
||||
VisualStudioVersion = 17.12.35728.132 d17.12
|
||||
MinimumVisualStudioVersion = 10.0.40219.1
|
||||
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "LEA", "LEA\LEA.csproj", "{9DE0A8E4-C990-4B5B-B91D-398EB7D34088}"
|
||||
EndProject
|
||||
Global
|
||||
GlobalSection(SolutionConfigurationPlatforms) = preSolution
|
||||
Debug|Any CPU = Debug|Any CPU
|
||||
Release|Any CPU = Release|Any CPU
|
||||
EndGlobalSection
|
||||
GlobalSection(ProjectConfigurationPlatforms) = postSolution
|
||||
{9DE0A8E4-C990-4B5B-B91D-398EB7D34088}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
|
||||
{9DE0A8E4-C990-4B5B-B91D-398EB7D34088}.Debug|Any CPU.Build.0 = Debug|Any CPU
|
||||
{9DE0A8E4-C990-4B5B-B91D-398EB7D34088}.Release|Any CPU.ActiveCfg = Release|Any CPU
|
||||
{9DE0A8E4-C990-4B5B-B91D-398EB7D34088}.Release|Any CPU.Build.0 = Release|Any CPU
|
||||
EndGlobalSection
|
||||
GlobalSection(SolutionProperties) = preSolution
|
||||
HideSolutionNode = FALSE
|
||||
EndGlobalSection
|
||||
EndGlobal
|
32
source/repos/LEA/LEA/Controllers/HomeController.cs
Normal file
32
source/repos/LEA/LEA/Controllers/HomeController.cs
Normal file
@@ -0,0 +1,32 @@
|
||||
using System.Diagnostics;
|
||||
using LEA.Models;
|
||||
using Microsoft.AspNetCore.Mvc;
|
||||
|
||||
namespace LEA.Controllers
|
||||
{
|
||||
public class HomeController : Controller
|
||||
{
|
||||
private readonly ILogger<HomeController> _logger;
|
||||
|
||||
public HomeController(ILogger<HomeController> logger)
|
||||
{
|
||||
_logger = logger;
|
||||
}
|
||||
|
||||
public IActionResult Index()
|
||||
{
|
||||
return View();
|
||||
}
|
||||
|
||||
public IActionResult Privacy()
|
||||
{
|
||||
return View();
|
||||
}
|
||||
|
||||
[ResponseCache(Duration = 0, Location = ResponseCacheLocation.None, NoStore = true)]
|
||||
public IActionResult Error()
|
||||
{
|
||||
return View(new ErrorViewModel { RequestId = Activity.Current?.Id ?? HttpContext.TraceIdentifier });
|
||||
}
|
||||
}
|
||||
}
|
14
source/repos/LEA/LEA/Data/AppDbContext.cs
Normal file
14
source/repos/LEA/LEA/Data/AppDbContext.cs
Normal file
@@ -0,0 +1,14 @@
|
||||
// File: Data/AppDbContext.cs
|
||||
using Microsoft.EntityFrameworkCore;
|
||||
using LEA.Models; // adjust if your namespace is different
|
||||
|
||||
namespace LEA.Data
|
||||
{
|
||||
public class AppDbContext : DbContext
|
||||
{
|
||||
public AppDbContext(DbContextOptions<AppDbContext> options) : base(options) { }
|
||||
|
||||
// Tables:
|
||||
public DbSet<Application> Applications { get; set; } = null!;
|
||||
}
|
||||
}
|
22
source/repos/LEA/LEA/LEA.csproj
Normal file
22
source/repos/LEA/LEA/LEA.csproj
Normal file
@@ -0,0 +1,22 @@
|
||||
<Project Sdk="Microsoft.NET.Sdk.Web">
|
||||
|
||||
<PropertyGroup>
|
||||
<TargetFramework>net8.0</TargetFramework>
|
||||
<Nullable>enable</Nullable>
|
||||
<ImplicitUsings>enable</ImplicitUsings>
|
||||
</PropertyGroup>
|
||||
|
||||
<ItemGroup>
|
||||
<PackageReference Include="Microsoft.EntityFrameworkCore.Design" Version="9.0.9">
|
||||
<PrivateAssets>all</PrivateAssets>
|
||||
<IncludeAssets>runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets>
|
||||
</PackageReference>
|
||||
<PackageReference Include="Microsoft.EntityFrameworkCore.Tools" Version="9.0.9">
|
||||
<PrivateAssets>all</PrivateAssets>
|
||||
<IncludeAssets>runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets>
|
||||
</PackageReference>
|
||||
<PackageReference Include="MySql.Data" Version="9.4.0" />
|
||||
<PackageReference Include="Pomelo.EntityFrameworkCore.MySql" Version="9.0.0" />
|
||||
</ItemGroup>
|
||||
|
||||
</Project>
|
6
source/repos/LEA/LEA/LEA.csproj.user
Normal file
6
source/repos/LEA/LEA/LEA.csproj.user
Normal file
@@ -0,0 +1,6 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<Project ToolsVersion="Current" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
|
||||
<PropertyGroup>
|
||||
<ActiveDebugProfile>https</ActiveDebugProfile>
|
||||
</PropertyGroup>
|
||||
</Project>
|
61
source/repos/LEA/LEA/Migrations/20250915125419_InitialCreate.Designer.cs
generated
Normal file
61
source/repos/LEA/LEA/Migrations/20250915125419_InitialCreate.Designer.cs
generated
Normal file
@@ -0,0 +1,61 @@
|
||||
// <auto-generated />
|
||||
using System;
|
||||
using LEA.Data;
|
||||
using Microsoft.EntityFrameworkCore;
|
||||
using Microsoft.EntityFrameworkCore.Infrastructure;
|
||||
using Microsoft.EntityFrameworkCore.Metadata;
|
||||
using Microsoft.EntityFrameworkCore.Migrations;
|
||||
using Microsoft.EntityFrameworkCore.Storage.ValueConversion;
|
||||
|
||||
#nullable disable
|
||||
|
||||
namespace LEA.Migrations
|
||||
{
|
||||
[DbContext(typeof(AppDbContext))]
|
||||
[Migration("20250915125419_InitialCreate")]
|
||||
partial class InitialCreate
|
||||
{
|
||||
/// <inheritdoc />
|
||||
protected override void BuildTargetModel(ModelBuilder modelBuilder)
|
||||
{
|
||||
#pragma warning disable 612, 618
|
||||
modelBuilder
|
||||
.HasAnnotation("ProductVersion", "9.0.9")
|
||||
.HasAnnotation("Relational:MaxIdentifierLength", 64);
|
||||
|
||||
MySqlModelBuilderExtensions.AutoIncrementColumns(modelBuilder);
|
||||
|
||||
modelBuilder.Entity("LEA.Models.Application", b =>
|
||||
{
|
||||
b.Property<int>("Id")
|
||||
.ValueGeneratedOnAdd()
|
||||
.HasColumnType("int");
|
||||
|
||||
MySqlPropertyBuilderExtensions.UseMySqlIdentityColumn(b.Property<int>("Id"));
|
||||
|
||||
b.Property<DateTime>("AppliedOn")
|
||||
.HasColumnType("datetime(6)");
|
||||
|
||||
b.Property<string>("Company")
|
||||
.IsRequired()
|
||||
.HasColumnType("longtext");
|
||||
|
||||
b.Property<string>("Notes")
|
||||
.HasColumnType("longtext");
|
||||
|
||||
b.Property<string>("Position")
|
||||
.IsRequired()
|
||||
.HasColumnType("longtext");
|
||||
|
||||
b.Property<string>("Status")
|
||||
.IsRequired()
|
||||
.HasColumnType("longtext");
|
||||
|
||||
b.HasKey("Id");
|
||||
|
||||
b.ToTable("Applications");
|
||||
});
|
||||
#pragma warning restore 612, 618
|
||||
}
|
||||
}
|
||||
}
|
@@ -0,0 +1,48 @@
|
||||
using System;
|
||||
using Microsoft.EntityFrameworkCore.Metadata;
|
||||
using Microsoft.EntityFrameworkCore.Migrations;
|
||||
|
||||
#nullable disable
|
||||
|
||||
namespace LEA.Migrations
|
||||
{
|
||||
/// <inheritdoc />
|
||||
public partial class InitialCreate : Migration
|
||||
{
|
||||
/// <inheritdoc />
|
||||
protected override void Up(MigrationBuilder migrationBuilder)
|
||||
{
|
||||
migrationBuilder.AlterDatabase()
|
||||
.Annotation("MySql:CharSet", "utf8mb4");
|
||||
|
||||
migrationBuilder.CreateTable(
|
||||
name: "Applications",
|
||||
columns: table => new
|
||||
{
|
||||
Id = table.Column<int>(type: "int", nullable: false)
|
||||
.Annotation("MySql:ValueGenerationStrategy", MySqlValueGenerationStrategy.IdentityColumn),
|
||||
Company = table.Column<string>(type: "longtext", nullable: false)
|
||||
.Annotation("MySql:CharSet", "utf8mb4"),
|
||||
Position = table.Column<string>(type: "longtext", nullable: false)
|
||||
.Annotation("MySql:CharSet", "utf8mb4"),
|
||||
AppliedOn = table.Column<DateTime>(type: "datetime(6)", nullable: false),
|
||||
Status = table.Column<string>(type: "longtext", nullable: false)
|
||||
.Annotation("MySql:CharSet", "utf8mb4"),
|
||||
Notes = table.Column<string>(type: "longtext", nullable: true)
|
||||
.Annotation("MySql:CharSet", "utf8mb4")
|
||||
},
|
||||
constraints: table =>
|
||||
{
|
||||
table.PrimaryKey("PK_Applications", x => x.Id);
|
||||
})
|
||||
.Annotation("MySql:CharSet", "utf8mb4");
|
||||
}
|
||||
|
||||
/// <inheritdoc />
|
||||
protected override void Down(MigrationBuilder migrationBuilder)
|
||||
{
|
||||
migrationBuilder.DropTable(
|
||||
name: "Applications");
|
||||
}
|
||||
}
|
||||
}
|
58
source/repos/LEA/LEA/Migrations/AppDbContextModelSnapshot.cs
Normal file
58
source/repos/LEA/LEA/Migrations/AppDbContextModelSnapshot.cs
Normal file
@@ -0,0 +1,58 @@
|
||||
// <auto-generated />
|
||||
using System;
|
||||
using LEA.Data;
|
||||
using Microsoft.EntityFrameworkCore;
|
||||
using Microsoft.EntityFrameworkCore.Infrastructure;
|
||||
using Microsoft.EntityFrameworkCore.Metadata;
|
||||
using Microsoft.EntityFrameworkCore.Storage.ValueConversion;
|
||||
|
||||
#nullable disable
|
||||
|
||||
namespace LEA.Migrations
|
||||
{
|
||||
[DbContext(typeof(AppDbContext))]
|
||||
partial class AppDbContextModelSnapshot : ModelSnapshot
|
||||
{
|
||||
protected override void BuildModel(ModelBuilder modelBuilder)
|
||||
{
|
||||
#pragma warning disable 612, 618
|
||||
modelBuilder
|
||||
.HasAnnotation("ProductVersion", "9.0.9")
|
||||
.HasAnnotation("Relational:MaxIdentifierLength", 64);
|
||||
|
||||
MySqlModelBuilderExtensions.AutoIncrementColumns(modelBuilder);
|
||||
|
||||
modelBuilder.Entity("LEA.Models.Application", b =>
|
||||
{
|
||||
b.Property<int>("Id")
|
||||
.ValueGeneratedOnAdd()
|
||||
.HasColumnType("int");
|
||||
|
||||
MySqlPropertyBuilderExtensions.UseMySqlIdentityColumn(b.Property<int>("Id"));
|
||||
|
||||
b.Property<DateTime>("AppliedOn")
|
||||
.HasColumnType("datetime(6)");
|
||||
|
||||
b.Property<string>("Company")
|
||||
.IsRequired()
|
||||
.HasColumnType("longtext");
|
||||
|
||||
b.Property<string>("Notes")
|
||||
.HasColumnType("longtext");
|
||||
|
||||
b.Property<string>("Position")
|
||||
.IsRequired()
|
||||
.HasColumnType("longtext");
|
||||
|
||||
b.Property<string>("Status")
|
||||
.IsRequired()
|
||||
.HasColumnType("longtext");
|
||||
|
||||
b.HasKey("Id");
|
||||
|
||||
b.ToTable("Applications");
|
||||
});
|
||||
#pragma warning restore 612, 618
|
||||
}
|
||||
}
|
||||
}
|
11
source/repos/LEA/LEA/Models/Application.cs
Normal file
11
source/repos/LEA/LEA/Models/Application.cs
Normal file
@@ -0,0 +1,11 @@
|
||||
namespace LEA.Models;
|
||||
|
||||
public class Application
|
||||
{
|
||||
public int Id { get; set; }
|
||||
public string Company { get; set; } = "";
|
||||
public string Position { get; set; } = "";
|
||||
public DateTime AppliedOn { get; set; }
|
||||
public string Status { get; set; } = "Ausstehend";
|
||||
public string? Notes { get; set; }
|
||||
}
|
9
source/repos/LEA/LEA/Models/ErrorViewModel.cs
Normal file
9
source/repos/LEA/LEA/Models/ErrorViewModel.cs
Normal file
@@ -0,0 +1,9 @@
|
||||
namespace LEA.Models
|
||||
{
|
||||
public class ErrorViewModel
|
||||
{
|
||||
public string? RequestId { get; set; }
|
||||
|
||||
public bool ShowRequestId => !string.IsNullOrEmpty(RequestId);
|
||||
}
|
||||
}
|
41
source/repos/LEA/LEA/Program.cs
Normal file
41
source/repos/LEA/LEA/Program.cs
Normal file
@@ -0,0 +1,41 @@
|
||||
using Microsoft.EntityFrameworkCore;
|
||||
using LEA.Data;
|
||||
|
||||
namespace LEA
|
||||
{
|
||||
public class Program
|
||||
{
|
||||
public static void Main(string[] args)
|
||||
{
|
||||
var builder = WebApplication.CreateBuilder(args);
|
||||
|
||||
// Add services to the container.
|
||||
builder.Services.AddControllersWithViews();
|
||||
|
||||
// Register DbContext here, BEFORE builder.Build()
|
||||
var cs = builder.Configuration.GetConnectionString("Default");
|
||||
builder.Services.AddDbContext<AppDbContext>(options =>
|
||||
options.UseMySql(cs, ServerVersion.AutoDetect(cs)));
|
||||
|
||||
var app = builder.Build();
|
||||
|
||||
// Configure the HTTP request pipeline...
|
||||
if (!app.Environment.IsDevelopment())
|
||||
{
|
||||
app.UseExceptionHandler("/Home/Error");
|
||||
app.UseHsts();
|
||||
}
|
||||
|
||||
app.UseHttpsRedirection();
|
||||
app.UseStaticFiles();
|
||||
app.UseRouting();
|
||||
app.UseAuthorization();
|
||||
|
||||
app.MapControllerRoute(
|
||||
name: "default",
|
||||
pattern: "{controller=Home}/{action=Index}/{id?}");
|
||||
|
||||
app.Run();
|
||||
}
|
||||
}
|
||||
}
|
38
source/repos/LEA/LEA/Properties/launchSettings.json
Normal file
38
source/repos/LEA/LEA/Properties/launchSettings.json
Normal file
@@ -0,0 +1,38 @@
|
||||
{
|
||||
"$schema": "http://json.schemastore.org/launchsettings.json",
|
||||
"iisSettings": {
|
||||
"windowsAuthentication": false,
|
||||
"anonymousAuthentication": true,
|
||||
"iisExpress": {
|
||||
"applicationUrl": "http://localhost:22165",
|
||||
"sslPort": 44360
|
||||
}
|
||||
},
|
||||
"profiles": {
|
||||
"http": {
|
||||
"commandName": "Project",
|
||||
"dotnetRunMessages": true,
|
||||
"launchBrowser": true,
|
||||
"applicationUrl": "http://localhost:5102",
|
||||
"environmentVariables": {
|
||||
"ASPNETCORE_ENVIRONMENT": "Development"
|
||||
}
|
||||
},
|
||||
"https": {
|
||||
"commandName": "Project",
|
||||
"dotnetRunMessages": true,
|
||||
"launchBrowser": true,
|
||||
"applicationUrl": "https://localhost:7176;http://localhost:5102",
|
||||
"environmentVariables": {
|
||||
"ASPNETCORE_ENVIRONMENT": "Development"
|
||||
}
|
||||
},
|
||||
"IIS Express": {
|
||||
"commandName": "IISExpress",
|
||||
"launchBrowser": true,
|
||||
"environmentVariables": {
|
||||
"ASPNETCORE_ENVIRONMENT": "Development"
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
8
source/repos/LEA/LEA/Views/Home/Index.cshtml
Normal file
8
source/repos/LEA/LEA/Views/Home/Index.cshtml
Normal file
@@ -0,0 +1,8 @@
|
||||
@{
|
||||
ViewData["Title"] = "Home Page";
|
||||
}
|
||||
|
||||
<div class="text-center">
|
||||
<h1 class="display-4">Welcome</h1>
|
||||
<p>Learn about <a href="https://learn.microsoft.com/aspnet/core">building Web apps with ASP.NET Core</a>.</p>
|
||||
</div>
|
6
source/repos/LEA/LEA/Views/Home/Privacy.cshtml
Normal file
6
source/repos/LEA/LEA/Views/Home/Privacy.cshtml
Normal file
@@ -0,0 +1,6 @@
|
||||
@{
|
||||
ViewData["Title"] = "Privacy Policy";
|
||||
}
|
||||
<h1>@ViewData["Title"]</h1>
|
||||
|
||||
<p>Use this page to detail your site's privacy policy.</p>
|
25
source/repos/LEA/LEA/Views/Shared/Error.cshtml
Normal file
25
source/repos/LEA/LEA/Views/Shared/Error.cshtml
Normal file
@@ -0,0 +1,25 @@
|
||||
@model ErrorViewModel
|
||||
@{
|
||||
ViewData["Title"] = "Error";
|
||||
}
|
||||
|
||||
<h1 class="text-danger">Error.</h1>
|
||||
<h2 class="text-danger">An error occurred while processing your request.</h2>
|
||||
|
||||
@if (Model.ShowRequestId)
|
||||
{
|
||||
<p>
|
||||
<strong>Request ID:</strong> <code>@Model.RequestId</code>
|
||||
</p>
|
||||
}
|
||||
|
||||
<h3>Development Mode</h3>
|
||||
<p>
|
||||
Swapping to <strong>Development</strong> environment will display more detailed information about the error that occurred.
|
||||
</p>
|
||||
<p>
|
||||
<strong>The Development environment shouldn't be enabled for deployed applications.</strong>
|
||||
It can result in displaying sensitive information from exceptions to end users.
|
||||
For local debugging, enable the <strong>Development</strong> environment by setting the <strong>ASPNETCORE_ENVIRONMENT</strong> environment variable to <strong>Development</strong>
|
||||
and restarting the app.
|
||||
</p>
|
49
source/repos/LEA/LEA/Views/Shared/_Layout.cshtml
Normal file
49
source/repos/LEA/LEA/Views/Shared/_Layout.cshtml
Normal file
@@ -0,0 +1,49 @@
|
||||
<!DOCTYPE html>
|
||||
<html lang="en">
|
||||
<head>
|
||||
<meta charset="utf-8" />
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
|
||||
<title>@ViewData["Title"] - LEA</title>
|
||||
<link rel="stylesheet" href="~/lib/bootstrap/dist/css/bootstrap.min.css" />
|
||||
<link rel="stylesheet" href="~/css/site.css" asp-append-version="true" />
|
||||
<link rel="stylesheet" href="~/LEA.styles.css" asp-append-version="true" />
|
||||
</head>
|
||||
<body>
|
||||
<header>
|
||||
<nav class="navbar navbar-expand-sm navbar-toggleable-sm navbar-light bg-white border-bottom box-shadow mb-3">
|
||||
<div class="container-fluid">
|
||||
<a class="navbar-brand" asp-area="" asp-controller="Home" asp-action="Index">LEA</a>
|
||||
<button class="navbar-toggler" type="button" data-bs-toggle="collapse" data-bs-target=".navbar-collapse" aria-controls="navbarSupportedContent"
|
||||
aria-expanded="false" aria-label="Toggle navigation">
|
||||
<span class="navbar-toggler-icon"></span>
|
||||
</button>
|
||||
<div class="navbar-collapse collapse d-sm-inline-flex justify-content-between">
|
||||
<ul class="navbar-nav flex-grow-1">
|
||||
<li class="nav-item">
|
||||
<a class="nav-link text-dark" asp-area="" asp-controller="Home" asp-action="Index">Home</a>
|
||||
</li>
|
||||
<li class="nav-item">
|
||||
<a class="nav-link text-dark" asp-area="" asp-controller="Home" asp-action="Privacy">Privacy</a>
|
||||
</li>
|
||||
</ul>
|
||||
</div>
|
||||
</div>
|
||||
</nav>
|
||||
</header>
|
||||
<div class="container">
|
||||
<main role="main" class="pb-3">
|
||||
@RenderBody()
|
||||
</main>
|
||||
</div>
|
||||
|
||||
<footer class="border-top footer text-muted">
|
||||
<div class="container">
|
||||
© 2025 - LEA - <a asp-area="" asp-controller="Home" asp-action="Privacy">Privacy</a>
|
||||
</div>
|
||||
</footer>
|
||||
<script src="~/lib/jquery/dist/jquery.min.js"></script>
|
||||
<script src="~/lib/bootstrap/dist/js/bootstrap.bundle.min.js"></script>
|
||||
<script src="~/js/site.js" asp-append-version="true"></script>
|
||||
@await RenderSectionAsync("Scripts", required: false)
|
||||
</body>
|
||||
</html>
|
48
source/repos/LEA/LEA/Views/Shared/_Layout.cshtml.css
Normal file
48
source/repos/LEA/LEA/Views/Shared/_Layout.cshtml.css
Normal file
@@ -0,0 +1,48 @@
|
||||
/* Please see documentation at https://learn.microsoft.com/aspnet/core/client-side/bundling-and-minification
|
||||
for details on configuring this project to bundle and minify static web assets. */
|
||||
|
||||
a.navbar-brand {
|
||||
white-space: normal;
|
||||
text-align: center;
|
||||
word-break: break-all;
|
||||
}
|
||||
|
||||
a {
|
||||
color: #0077cc;
|
||||
}
|
||||
|
||||
.btn-primary {
|
||||
color: #fff;
|
||||
background-color: #1b6ec2;
|
||||
border-color: #1861ac;
|
||||
}
|
||||
|
||||
.nav-pills .nav-link.active, .nav-pills .show > .nav-link {
|
||||
color: #fff;
|
||||
background-color: #1b6ec2;
|
||||
border-color: #1861ac;
|
||||
}
|
||||
|
||||
.border-top {
|
||||
border-top: 1px solid #e5e5e5;
|
||||
}
|
||||
.border-bottom {
|
||||
border-bottom: 1px solid #e5e5e5;
|
||||
}
|
||||
|
||||
.box-shadow {
|
||||
box-shadow: 0 .25rem .75rem rgba(0, 0, 0, .05);
|
||||
}
|
||||
|
||||
button.accept-policy {
|
||||
font-size: 1rem;
|
||||
line-height: inherit;
|
||||
}
|
||||
|
||||
.footer {
|
||||
position: absolute;
|
||||
bottom: 0;
|
||||
width: 100%;
|
||||
white-space: nowrap;
|
||||
line-height: 60px;
|
||||
}
|
@@ -0,0 +1,2 @@
|
||||
<script src="~/lib/jquery-validation/dist/jquery.validate.min.js"></script>
|
||||
<script src="~/lib/jquery-validation-unobtrusive/jquery.validate.unobtrusive.min.js"></script>
|
3
source/repos/LEA/LEA/Views/_ViewImports.cshtml
Normal file
3
source/repos/LEA/LEA/Views/_ViewImports.cshtml
Normal file
@@ -0,0 +1,3 @@
|
||||
@using LEA
|
||||
@using LEA.Models
|
||||
@addTagHelper *, Microsoft.AspNetCore.Mvc.TagHelpers
|
3
source/repos/LEA/LEA/Views/_ViewStart.cshtml
Normal file
3
source/repos/LEA/LEA/Views/_ViewStart.cshtml
Normal file
@@ -0,0 +1,3 @@
|
||||
@{
|
||||
Layout = "_Layout";
|
||||
}
|
8
source/repos/LEA/LEA/appsettings.Development.json
Normal file
8
source/repos/LEA/LEA/appsettings.Development.json
Normal file
@@ -0,0 +1,8 @@
|
||||
{
|
||||
"Logging": {
|
||||
"LogLevel": {
|
||||
"Default": "Information",
|
||||
"Microsoft.AspNetCore": "Warning"
|
||||
}
|
||||
}
|
||||
}
|
13
source/repos/LEA/LEA/appsettings.json
Normal file
13
source/repos/LEA/LEA/appsettings.json
Normal file
@@ -0,0 +1,13 @@
|
||||
{
|
||||
"Logging": {
|
||||
"LogLevel": {
|
||||
"Default": "Information",
|
||||
"Microsoft.AspNetCore": "Warning"
|
||||
}
|
||||
},
|
||||
"AllowedHosts": "*",
|
||||
|
||||
"ConnectionStrings": {
|
||||
"Default": "Server=localhost;Database=jobtracker;User=root;Password=08911395;TreatTinyAsBoolean=true;SslMode=None"
|
||||
}
|
||||
}
|
Binary file not shown.
BIN
source/repos/LEA/LEA/bin/Debug/net8.0/Google.Protobuf.dll
Normal file
BIN
source/repos/LEA/LEA/bin/Debug/net8.0/Google.Protobuf.dll
Normal file
Binary file not shown.
BIN
source/repos/LEA/LEA/bin/Debug/net8.0/Humanizer.dll
Normal file
BIN
source/repos/LEA/LEA/bin/Debug/net8.0/Humanizer.dll
Normal file
Binary file not shown.
Binary file not shown.
BIN
source/repos/LEA/LEA/bin/Debug/net8.0/K4os.Compression.LZ4.dll
Normal file
BIN
source/repos/LEA/LEA/bin/Debug/net8.0/K4os.Compression.LZ4.dll
Normal file
Binary file not shown.
BIN
source/repos/LEA/LEA/bin/Debug/net8.0/K4os.Hash.xxHash.dll
Normal file
BIN
source/repos/LEA/LEA/bin/Debug/net8.0/K4os.Hash.xxHash.dll
Normal file
Binary file not shown.
1350
source/repos/LEA/LEA/bin/Debug/net8.0/LEA.deps.json
Normal file
1350
source/repos/LEA/LEA/bin/Debug/net8.0/LEA.deps.json
Normal file
File diff suppressed because it is too large
Load Diff
BIN
source/repos/LEA/LEA/bin/Debug/net8.0/LEA.dll
Normal file
BIN
source/repos/LEA/LEA/bin/Debug/net8.0/LEA.dll
Normal file
Binary file not shown.
BIN
source/repos/LEA/LEA/bin/Debug/net8.0/LEA.exe
Normal file
BIN
source/repos/LEA/LEA/bin/Debug/net8.0/LEA.exe
Normal file
Binary file not shown.
BIN
source/repos/LEA/LEA/bin/Debug/net8.0/LEA.pdb
Normal file
BIN
source/repos/LEA/LEA/bin/Debug/net8.0/LEA.pdb
Normal file
Binary file not shown.
20
source/repos/LEA/LEA/bin/Debug/net8.0/LEA.runtimeconfig.json
Normal file
20
source/repos/LEA/LEA/bin/Debug/net8.0/LEA.runtimeconfig.json
Normal file
@@ -0,0 +1,20 @@
|
||||
{
|
||||
"runtimeOptions": {
|
||||
"tfm": "net8.0",
|
||||
"frameworks": [
|
||||
{
|
||||
"name": "Microsoft.NETCore.App",
|
||||
"version": "8.0.0"
|
||||
},
|
||||
{
|
||||
"name": "Microsoft.AspNetCore.App",
|
||||
"version": "8.0.0"
|
||||
}
|
||||
],
|
||||
"configProperties": {
|
||||
"System.GC.Server": true,
|
||||
"System.Reflection.NullabilityInfoContext.IsSupported": true,
|
||||
"System.Runtime.Serialization.EnableUnsafeBinaryFormatterSerialization": false
|
||||
}
|
||||
}
|
||||
}
|
File diff suppressed because it is too large
Load Diff
File diff suppressed because one or more lines are too long
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
BIN
source/repos/LEA/LEA/bin/Debug/net8.0/Microsoft.CodeAnalysis.dll
Normal file
BIN
source/repos/LEA/LEA/bin/Debug/net8.0/Microsoft.CodeAnalysis.dll
Normal file
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
BIN
source/repos/LEA/LEA/bin/Debug/net8.0/Mono.TextTemplating.dll
Normal file
BIN
source/repos/LEA/LEA/bin/Debug/net8.0/Mono.TextTemplating.dll
Normal file
Binary file not shown.
BIN
source/repos/LEA/LEA/bin/Debug/net8.0/MySql.Data.dll
Normal file
BIN
source/repos/LEA/LEA/bin/Debug/net8.0/MySql.Data.dll
Normal file
Binary file not shown.
BIN
source/repos/LEA/LEA/bin/Debug/net8.0/MySqlConnector.dll
Normal file
BIN
source/repos/LEA/LEA/bin/Debug/net8.0/MySqlConnector.dll
Normal file
Binary file not shown.
Binary file not shown.
BIN
source/repos/LEA/LEA/bin/Debug/net8.0/System.CodeDom.dll
Normal file
BIN
source/repos/LEA/LEA/bin/Debug/net8.0/System.CodeDom.dll
Normal file
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
BIN
source/repos/LEA/LEA/bin/Debug/net8.0/System.IO.Pipelines.dll
Normal file
BIN
source/repos/LEA/LEA/bin/Debug/net8.0/System.IO.Pipelines.dll
Normal file
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
BIN
source/repos/LEA/LEA/bin/Debug/net8.0/System.Text.Json.dll
Normal file
BIN
source/repos/LEA/LEA/bin/Debug/net8.0/System.Text.Json.dll
Normal file
Binary file not shown.
Binary file not shown.
BIN
source/repos/LEA/LEA/bin/Debug/net8.0/ZstdSharp.dll
Normal file
BIN
source/repos/LEA/LEA/bin/Debug/net8.0/ZstdSharp.dll
Normal file
Binary file not shown.
@@ -0,0 +1,8 @@
|
||||
{
|
||||
"Logging": {
|
||||
"LogLevel": {
|
||||
"Default": "Information",
|
||||
"Microsoft.AspNetCore": "Warning"
|
||||
}
|
||||
}
|
||||
}
|
13
source/repos/LEA/LEA/bin/Debug/net8.0/appsettings.json
Normal file
13
source/repos/LEA/LEA/bin/Debug/net8.0/appsettings.json
Normal file
@@ -0,0 +1,13 @@
|
||||
{
|
||||
"Logging": {
|
||||
"LogLevel": {
|
||||
"Default": "Information",
|
||||
"Microsoft.AspNetCore": "Warning"
|
||||
}
|
||||
},
|
||||
"AllowedHosts": "*",
|
||||
|
||||
"ConnectionStrings": {
|
||||
"Default": "Server=localhost;Database=jobtracker;User=root;Password=08911395;TreatTinyAsBoolean=true;SslMode=None"
|
||||
}
|
||||
}
|
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Some files were not shown because too many files have changed in this diff Show More
Reference in New Issue
Block a user