first commit

This commit is contained in:
younes elhaddoury
2025-09-16 09:45:26 +02:00
commit 562f7ff255
321 changed files with 102744 additions and 0 deletions

Binary file not shown.

File diff suppressed because it is too large Load Diff

Binary file not shown.

Binary file not shown.

View 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": ""
}
]
}
]
}
]
}

View 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": ""
}
]
}
]
}
]
}

22
source/repos/LEA/LEA.sln Normal file
View 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

View 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 });
}
}
}

View 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!;
}
}

View 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>

View 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>

View 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
}
}
}

View File

@@ -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");
}
}
}

View 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
}
}
}

View 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; }
}

View File

@@ -0,0 +1,9 @@
namespace LEA.Models
{
public class ErrorViewModel
{
public string? RequestId { get; set; }
public bool ShowRequestId => !string.IsNullOrEmpty(RequestId);
}
}

View 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();
}
}
}

View 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"
}
}
}
}

View 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>

View 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>

View 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>

View 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">
&copy; 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>

View 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;
}

View File

@@ -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>

View File

@@ -0,0 +1,3 @@
@using LEA
@using LEA.Models
@addTagHelper *, Microsoft.AspNetCore.Mvc.TagHelpers

View File

@@ -0,0 +1,3 @@
@{
Layout = "_Layout";
}

View File

@@ -0,0 +1,8 @@
{
"Logging": {
"LogLevel": {
"Default": "Information",
"Microsoft.AspNetCore": "Warning"
}
}
}

View 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.

File diff suppressed because it is too large Load Diff

Binary file not shown.

Binary file not shown.

Binary file not shown.

View 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.

View File

@@ -0,0 +1,8 @@
{
"Logging": {
"LogLevel": {
"Default": "Information",
"Microsoft.AspNetCore": "Warning"
}
}
}

View 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"
}
}

Some files were not shown because too many files have changed in this diff Show More