diff --git a/backend/.vs/HealthcareManagerAPI/DesignTimeBuild/.dtbcache.v2 b/backend/.vs/HealthcareManagerAPI/DesignTimeBuild/.dtbcache.v2 index 738c008..7afe290 100644 Binary files a/backend/.vs/HealthcareManagerAPI/DesignTimeBuild/.dtbcache.v2 and b/backend/.vs/HealthcareManagerAPI/DesignTimeBuild/.dtbcache.v2 differ diff --git a/backend/.vs/HealthcareManagerAPI/FileContentIndex/1426d2fc-b513-46e5-88ba-462ce30c3fda.vsidx b/backend/.vs/HealthcareManagerAPI/FileContentIndex/1426d2fc-b513-46e5-88ba-462ce30c3fda.vsidx deleted file mode 100644 index 649b7dd..0000000 Binary files a/backend/.vs/HealthcareManagerAPI/FileContentIndex/1426d2fc-b513-46e5-88ba-462ce30c3fda.vsidx and /dev/null differ diff --git a/backend/.vs/HealthcareManagerAPI/FileContentIndex/2b5aad4b-f0f6-4f94-9a17-b1ff1de1b8db.vsidx b/backend/.vs/HealthcareManagerAPI/FileContentIndex/2b5aad4b-f0f6-4f94-9a17-b1ff1de1b8db.vsidx deleted file mode 100644 index 9287909..0000000 Binary files a/backend/.vs/HealthcareManagerAPI/FileContentIndex/2b5aad4b-f0f6-4f94-9a17-b1ff1de1b8db.vsidx and /dev/null differ diff --git a/backend/.vs/HealthcareManagerAPI/FileContentIndex/45b1db9c-8e49-4901-b127-f0b23351db8e.vsidx b/backend/.vs/HealthcareManagerAPI/FileContentIndex/45b1db9c-8e49-4901-b127-f0b23351db8e.vsidx new file mode 100644 index 0000000..f4d2a2a Binary files /dev/null and b/backend/.vs/HealthcareManagerAPI/FileContentIndex/45b1db9c-8e49-4901-b127-f0b23351db8e.vsidx differ diff --git a/backend/.vs/HealthcareManagerAPI/FileContentIndex/486c60b4-cb2a-44b5-b829-8c336ac8c89a.vsidx b/backend/.vs/HealthcareManagerAPI/FileContentIndex/486c60b4-cb2a-44b5-b829-8c336ac8c89a.vsidx new file mode 100644 index 0000000..4aa9080 Binary files /dev/null and b/backend/.vs/HealthcareManagerAPI/FileContentIndex/486c60b4-cb2a-44b5-b829-8c336ac8c89a.vsidx differ diff --git a/backend/.vs/HealthcareManagerAPI/FileContentIndex/4d0eccb1-fa46-4b51-9278-40111ac91a39.vsidx b/backend/.vs/HealthcareManagerAPI/FileContentIndex/4d0eccb1-fa46-4b51-9278-40111ac91a39.vsidx deleted file mode 100644 index 2088ec7..0000000 Binary files a/backend/.vs/HealthcareManagerAPI/FileContentIndex/4d0eccb1-fa46-4b51-9278-40111ac91a39.vsidx and /dev/null differ diff --git a/backend/.vs/HealthcareManagerAPI/FileContentIndex/65e0ef7a-825f-48e5-b234-7d5d327d0c00.vsidx b/backend/.vs/HealthcareManagerAPI/FileContentIndex/65e0ef7a-825f-48e5-b234-7d5d327d0c00.vsidx new file mode 100644 index 0000000..fa45223 Binary files /dev/null and b/backend/.vs/HealthcareManagerAPI/FileContentIndex/65e0ef7a-825f-48e5-b234-7d5d327d0c00.vsidx differ diff --git a/backend/.vs/HealthcareManagerAPI/FileContentIndex/75a997be-5094-44ae-b91a-a55b2340a603.vsidx b/backend/.vs/HealthcareManagerAPI/FileContentIndex/75a997be-5094-44ae-b91a-a55b2340a603.vsidx deleted file mode 100644 index 01d8679..0000000 Binary files a/backend/.vs/HealthcareManagerAPI/FileContentIndex/75a997be-5094-44ae-b91a-a55b2340a603.vsidx and /dev/null differ diff --git a/backend/.vs/HealthcareManagerAPI/FileContentIndex/a25b3064-675e-4145-9b97-d5b30f6ec91b.vsidx b/backend/.vs/HealthcareManagerAPI/FileContentIndex/a25b3064-675e-4145-9b97-d5b30f6ec91b.vsidx new file mode 100644 index 0000000..3980b07 Binary files /dev/null and b/backend/.vs/HealthcareManagerAPI/FileContentIndex/a25b3064-675e-4145-9b97-d5b30f6ec91b.vsidx differ diff --git a/backend/.vs/HealthcareManagerAPI/FileContentIndex/d82f0965-307b-478c-a12c-6752c8919928.vsidx b/backend/.vs/HealthcareManagerAPI/FileContentIndex/d82f0965-307b-478c-a12c-6752c8919928.vsidx new file mode 100644 index 0000000..335236e Binary files /dev/null and b/backend/.vs/HealthcareManagerAPI/FileContentIndex/d82f0965-307b-478c-a12c-6752c8919928.vsidx differ diff --git a/backend/.vs/HealthcareManagerAPI/FileContentIndex/eb4eacaa-ff1c-4421-add0-50c24aa665bf.vsidx b/backend/.vs/HealthcareManagerAPI/FileContentIndex/eb4eacaa-ff1c-4421-add0-50c24aa665bf.vsidx deleted file mode 100644 index 9fc49c7..0000000 Binary files a/backend/.vs/HealthcareManagerAPI/FileContentIndex/eb4eacaa-ff1c-4421-add0-50c24aa665bf.vsidx and /dev/null differ diff --git a/backend/.vs/HealthcareManagerAPI/v17/.futdcache.v2 b/backend/.vs/HealthcareManagerAPI/v17/.futdcache.v2 index fabc6af..bbf265d 100644 Binary files a/backend/.vs/HealthcareManagerAPI/v17/.futdcache.v2 and b/backend/.vs/HealthcareManagerAPI/v17/.futdcache.v2 differ diff --git a/backend/.vs/HealthcareManagerAPI/v17/.suo b/backend/.vs/HealthcareManagerAPI/v17/.suo index 35b3952..2190b65 100644 Binary files a/backend/.vs/HealthcareManagerAPI/v17/.suo and b/backend/.vs/HealthcareManagerAPI/v17/.suo differ diff --git a/backend/.vs/HealthcareManagerAPI/v17/DocumentLayout.json b/backend/.vs/HealthcareManagerAPI/v17/DocumentLayout.json index 74be1ae..7b02f39 100644 --- a/backend/.vs/HealthcareManagerAPI/v17/DocumentLayout.json +++ b/backend/.vs/HealthcareManagerAPI/v17/DocumentLayout.json @@ -3,12 +3,8 @@ "WorkspaceRootPath": "C:\\Users\\Andrei Cerbu\\Documents\\FACULTATE\\CC-FinalProj\\backend\\", "Documents": [ { - "AbsoluteMoniker": "D:0:0:{AE742B5B-E541-4355-AD47-F36DDFF5C42E}|API\\API.csproj|c:\\users\\andrei cerbu\\documents\\facultate\\cc-finalproj\\backend\\api\\controllers\\doctorscontroller.cs||{A6C744A8-0E4A-4FC6-886A-064283054674}", - "RelativeMoniker": "D:0:0:{AE742B5B-E541-4355-AD47-F36DDFF5C42E}|API\\API.csproj|solutionrelative:api\\controllers\\doctorscontroller.cs||{A6C744A8-0E4A-4FC6-886A-064283054674}" - }, - { - "AbsoluteMoniker": "D:0:0:{5E75761E-5C8B-488C-9C39-5D0E663258C5}|Infrastructure\\Infrastructure.csproj|c:\\users\\andrei cerbu\\documents\\facultate\\cc-finalproj\\backend\\infrastructure\\infrastructuredi.cs||{A6C744A8-0E4A-4FC6-886A-064283054674}", - "RelativeMoniker": "D:0:0:{5E75761E-5C8B-488C-9C39-5D0E663258C5}|Infrastructure\\Infrastructure.csproj|solutionrelative:infrastructure\\infrastructuredi.cs||{A6C744A8-0E4A-4FC6-886A-064283054674}" + "AbsoluteMoniker": "D:0:0:{726E8EFD-FC6A-4104-B8FB-2D9049C748C6}|Application\\Application.csproj|c:\\users\\andrei cerbu\\documents\\facultate\\cc-finalproj\\backend\\application\\endpoints\\doctors\\login\\doctorloginvalidation.cs||{A6C744A8-0E4A-4FC6-886A-064283054674}", + "RelativeMoniker": "D:0:0:{726E8EFD-FC6A-4104-B8FB-2D9049C748C6}|Application\\Application.csproj|solutionrelative:application\\endpoints\\doctors\\login\\doctorloginvalidation.cs||{A6C744A8-0E4A-4FC6-886A-064283054674}" } ], "DocumentGroupContainers": [ @@ -18,36 +14,23 @@ "DocumentGroups": [ { "DockedWidth": 200, - "SelectedChildIndex": 2, + "SelectedChildIndex": 1, "Children": [ { "$type": "Bookmark", "Name": "ST:0:0:{1c4feeaa-4718-4aa9-859d-94ce25d182ba}" }, - { - "$type": "Document", - "DocumentIndex": 1, - "Title": "InfrastructureDI.cs", - "DocumentMoniker": "C:\\Users\\Andrei Cerbu\\Documents\\FACULTATE\\CC-FinalProj\\backend\\Infrastructure\\InfrastructureDI.cs", - "RelativeDocumentMoniker": "Infrastructure\\InfrastructureDI.cs", - "ToolTip": "C:\\Users\\Andrei Cerbu\\Documents\\FACULTATE\\CC-FinalProj\\backend\\Infrastructure\\InfrastructureDI.cs", - "RelativeToolTip": "Infrastructure\\InfrastructureDI.cs", - "ViewState": "AQIAAAAAAAAAAAAAAAAAACEAAAAAAAAA", - "Icon": "ae27a6b0-e345-4288-96df-5eaf394ee369.000738|", - "WhenOpened": "2024-04-04T14:45:42.296Z", - "EditorCaption": "" - }, { "$type": "Document", "DocumentIndex": 0, - "Title": "DoctorsController.cs", - "DocumentMoniker": "C:\\Users\\Andrei Cerbu\\Documents\\FACULTATE\\CC-FinalProj\\backend\\API\\Controllers\\DoctorsController.cs", - "RelativeDocumentMoniker": "API\\Controllers\\DoctorsController.cs", - "ToolTip": "C:\\Users\\Andrei Cerbu\\Documents\\FACULTATE\\CC-FinalProj\\backend\\API\\Controllers\\DoctorsController.cs", - "RelativeToolTip": "API\\Controllers\\DoctorsController.cs", - "ViewState": "AQIAAA4AAAAAAAAAAAAAwCIAAAAJAAAA", + "Title": "DoctorLoginValidation.cs", + "DocumentMoniker": "C:\\Users\\Andrei Cerbu\\Documents\\FACULTATE\\CC-FinalProj\\backend\\Application\\Endpoints\\Doctors\\Login\\DoctorLoginValidation.cs", + "RelativeDocumentMoniker": "Application\\Endpoints\\Doctors\\Login\\DoctorLoginValidation.cs", + "ToolTip": "C:\\Users\\Andrei Cerbu\\Documents\\FACULTATE\\CC-FinalProj\\backend\\Application\\Endpoints\\Doctors\\Login\\DoctorLoginValidation.cs", + "RelativeToolTip": "Application\\Endpoints\\Doctors\\Login\\DoctorLoginValidation.cs", + "ViewState": "AQIAAAAAAAAAAAAAAAAAAAIAAAAdAAAA", "Icon": "ae27a6b0-e345-4288-96df-5eaf394ee369.000738|", - "WhenOpened": "2024-04-04T14:45:23.612Z", + "WhenOpened": "2024-04-04T16:14:25.923Z", "EditorCaption": "" } ] diff --git a/backend/.vs/ProjectEvaluation/healthcaremanagerapi.metadata.v7.bin b/backend/.vs/ProjectEvaluation/healthcaremanagerapi.metadata.v7.bin index fc79bd4..f298ee9 100644 Binary files a/backend/.vs/ProjectEvaluation/healthcaremanagerapi.metadata.v7.bin and b/backend/.vs/ProjectEvaluation/healthcaremanagerapi.metadata.v7.bin differ diff --git a/backend/.vs/ProjectEvaluation/healthcaremanagerapi.projects.v7.bin b/backend/.vs/ProjectEvaluation/healthcaremanagerapi.projects.v7.bin index 91a3c4a..2d47b11 100644 Binary files a/backend/.vs/ProjectEvaluation/healthcaremanagerapi.projects.v7.bin and b/backend/.vs/ProjectEvaluation/healthcaremanagerapi.projects.v7.bin differ diff --git a/backend/API/Controllers/DoctorsController.cs b/backend/API/Controllers/DoctorsController.cs index 133b4e5..1577157 100644 --- a/backend/API/Controllers/DoctorsController.cs +++ b/backend/API/Controllers/DoctorsController.cs @@ -1,9 +1,7 @@ -using System; -using System.Threading.Tasks; -using Microsoft.AspNetCore.Mvc; -using Microsoft.EntityFrameworkCore; -using Infrastructure.Data; +using Microsoft.AspNetCore.Mvc; using Core.Entities; +using Application.Endpoints.Doctors.Login; +using Application.Services.Database; namespace HealthcareManager.API.Controllers { @@ -11,11 +9,11 @@ namespace HealthcareManager.API.Controllers [Route("api/[controller]")] public class DoctorsController : ControllerBase { - private readonly HealthcareManagerContext _context; + private readonly IDoctorRepository _database; - public DoctorsController(HealthcareManagerContext context) + public DoctorsController(IDoctorRepository database) { - _context = context ?? throw new ArgumentNullException(nameof(context)); + _database = database ?? throw new ArgumentNullException(nameof(database)); } [HttpGet("{id}")] @@ -25,9 +23,17 @@ namespace HealthcareManager.API.Controllers } [HttpPost] - public async Task> PostDoctor(Doctor doctor) + public async Task> Login(DoctorLoginDTO doctor) { - return NotFound(); + var handler = new DoctorLoginHandler(_database); + var response = handler.Handle(doctor).Result; + + if(!response.Success) + { + return Unauthorized(response.Message); + } + + return Ok(response.Message); } [HttpPut("{id}")] diff --git a/backend/API/Program.cs b/backend/API/Program.cs index e594992..1177da2 100644 --- a/backend/API/Program.cs +++ b/backend/API/Program.cs @@ -28,13 +28,13 @@ app.MapControllers(); using (var scope = app.Services.CreateScope()) { var services = scope.ServiceProvider; - var dbContext = services.GetRequiredService(); // Directly resolving your DbContext + var dbContext = services.GetRequiredService(); // Directly resolving your DbContext EnsureDatabaseCreated(dbContext); } app.Run(); -static void EnsureDatabaseCreated(HealthcareManagerContext dbContext) +static void EnsureDatabaseCreated(HealthcareManagerDatabase dbContext) { // Checking for pending migrations is more efficient than applying migrations unconditionally if (dbContext.Database.GetPendingMigrations().Any()) diff --git a/backend/API/bin/Debug/net8.0/API.deps.json b/backend/API/bin/Debug/net8.0/API.deps.json index 5036d0d..1eb504d 100644 --- a/backend/API/bin/Debug/net8.0/API.deps.json +++ b/backend/API/bin/Debug/net8.0/API.deps.json @@ -46,6 +46,14 @@ } } }, + "FluentValidation/11.9.0": { + "runtime": { + "lib/net8.0/FluentValidation.dll": { + "assemblyVersion": "11.0.0.0", + "fileVersion": "11.9.0.0" + } + } + }, "Microsoft.EntityFrameworkCore/8.0.3": { "dependencies": { "Microsoft.EntityFrameworkCore.Abstractions": "8.0.3", @@ -367,7 +375,7 @@ }, "Application/1.0.0": { "dependencies": { - "Core": "1.0.0" + "FluentValidation": "11.9.0" }, "runtime": { "Application.dll": {} @@ -425,6 +433,13 @@ "path": "dnsclient/1.6.1", "hashPath": "dnsclient.1.6.1.nupkg.sha512" }, + "FluentValidation/11.9.0": { + "type": "package", + "serviceable": true, + "sha512": "sha512-VneVlTvwYDkfHV5av3QrQ0amALgrLX6LV94wlYyEsh0B/klJBW7C8y2eAtj5tOZ3jH6CAVpr4s1ZGgew/QWyig==", + "path": "fluentvalidation/11.9.0", + "hashPath": "fluentvalidation.11.9.0.nupkg.sha512" + }, "Microsoft.EntityFrameworkCore/8.0.3": { "type": "package", "serviceable": true, diff --git a/backend/API/bin/Debug/net8.0/API.dll b/backend/API/bin/Debug/net8.0/API.dll index 82745fd..c639579 100644 Binary files a/backend/API/bin/Debug/net8.0/API.dll and b/backend/API/bin/Debug/net8.0/API.dll differ diff --git a/backend/API/bin/Debug/net8.0/API.exe b/backend/API/bin/Debug/net8.0/API.exe index 677314f..d775954 100644 Binary files a/backend/API/bin/Debug/net8.0/API.exe and b/backend/API/bin/Debug/net8.0/API.exe differ diff --git a/backend/API/bin/Debug/net8.0/API.pdb b/backend/API/bin/Debug/net8.0/API.pdb index f1eb2de..4adb194 100644 Binary files a/backend/API/bin/Debug/net8.0/API.pdb and b/backend/API/bin/Debug/net8.0/API.pdb differ diff --git a/backend/API/bin/Debug/net8.0/Application.dll b/backend/API/bin/Debug/net8.0/Application.dll index ea9740d..0ea3179 100644 Binary files a/backend/API/bin/Debug/net8.0/Application.dll and b/backend/API/bin/Debug/net8.0/Application.dll differ diff --git a/backend/API/bin/Debug/net8.0/Application.pdb b/backend/API/bin/Debug/net8.0/Application.pdb index bd11b4f..3ede03b 100644 Binary files a/backend/API/bin/Debug/net8.0/Application.pdb and b/backend/API/bin/Debug/net8.0/Application.pdb differ diff --git a/backend/API/bin/Debug/net8.0/FluentValidation.dll b/backend/API/bin/Debug/net8.0/FluentValidation.dll new file mode 100644 index 0000000..ce036f5 Binary files /dev/null and b/backend/API/bin/Debug/net8.0/FluentValidation.dll differ diff --git a/backend/API/bin/Debug/net8.0/Infrastructure.dll b/backend/API/bin/Debug/net8.0/Infrastructure.dll index 8c9931e..6fd58b0 100644 Binary files a/backend/API/bin/Debug/net8.0/Infrastructure.dll and b/backend/API/bin/Debug/net8.0/Infrastructure.dll differ diff --git a/backend/API/bin/Debug/net8.0/Infrastructure.pdb b/backend/API/bin/Debug/net8.0/Infrastructure.pdb index b6eb601..340cf44 100644 Binary files a/backend/API/bin/Debug/net8.0/Infrastructure.pdb and b/backend/API/bin/Debug/net8.0/Infrastructure.pdb differ diff --git a/backend/API/obj/API.csproj.nuget.dgspec.json b/backend/API/obj/API.csproj.nuget.dgspec.json index eb17a49..2374658 100644 --- a/backend/API/obj/API.csproj.nuget.dgspec.json +++ b/backend/API/obj/API.csproj.nuget.dgspec.json @@ -103,11 +103,7 @@ "frameworks": { "net8.0": { "targetAlias": "net8.0", - "projectReferences": { - "C:\\Users\\Andrei Cerbu\\Documents\\FACULTATE\\CC-FinalProj\\backend\\Core\\Core.csproj": { - "projectPath": "C:\\Users\\Andrei Cerbu\\Documents\\FACULTATE\\CC-FinalProj\\backend\\Core\\Core.csproj" - } - } + "projectReferences": {} } }, "warningProperties": { @@ -124,6 +120,12 @@ "frameworks": { "net8.0": { "targetAlias": "net8.0", + "dependencies": { + "FluentValidation": { + "target": "Package", + "version": "[11.9.0, )" + } + }, "imports": [ "net461", "net462", diff --git a/backend/API/obj/Debug/net8.0/API.AssemblyInfo.cs b/backend/API/obj/Debug/net8.0/API.AssemblyInfo.cs index b4298a1..0c1b53d 100644 --- a/backend/API/obj/Debug/net8.0/API.AssemblyInfo.cs +++ b/backend/API/obj/Debug/net8.0/API.AssemblyInfo.cs @@ -14,7 +14,7 @@ using System.Reflection; [assembly: System.Reflection.AssemblyCompanyAttribute("API")] [assembly: System.Reflection.AssemblyConfigurationAttribute("Debug")] [assembly: System.Reflection.AssemblyFileVersionAttribute("1.0.0.0")] -[assembly: System.Reflection.AssemblyInformationalVersionAttribute("1.0.0+041abb59007874167884872bc1a73e753930824b")] +[assembly: System.Reflection.AssemblyInformationalVersionAttribute("1.0.0+22f171b5600c0f2fcef2f7c927f96f78a59a27a4")] [assembly: System.Reflection.AssemblyProductAttribute("API")] [assembly: System.Reflection.AssemblyTitleAttribute("API")] [assembly: System.Reflection.AssemblyVersionAttribute("1.0.0.0")] diff --git a/backend/API/obj/Debug/net8.0/API.AssemblyInfoInputs.cache b/backend/API/obj/Debug/net8.0/API.AssemblyInfoInputs.cache index d7a00cd..b22d090 100644 --- a/backend/API/obj/Debug/net8.0/API.AssemblyInfoInputs.cache +++ b/backend/API/obj/Debug/net8.0/API.AssemblyInfoInputs.cache @@ -1 +1 @@ -c1b3efba5e30e064f696242b7a7b9581636fa9df6b695c893c47a18e71a82313 +3fb6d13e7b959d2a75e5b49727917d1360eaac6268eb218b39eaf9332a168329 diff --git a/backend/API/obj/Debug/net8.0/API.assets.cache b/backend/API/obj/Debug/net8.0/API.assets.cache index 8da9f58..da8cfb3 100644 Binary files a/backend/API/obj/Debug/net8.0/API.assets.cache and b/backend/API/obj/Debug/net8.0/API.assets.cache differ diff --git a/backend/API/obj/Debug/net8.0/API.csproj.AssemblyReference.cache b/backend/API/obj/Debug/net8.0/API.csproj.AssemblyReference.cache index 9af2556..7f4ea83 100644 Binary files a/backend/API/obj/Debug/net8.0/API.csproj.AssemblyReference.cache and b/backend/API/obj/Debug/net8.0/API.csproj.AssemblyReference.cache differ diff --git a/backend/API/obj/Debug/net8.0/API.csproj.CoreCompileInputs.cache b/backend/API/obj/Debug/net8.0/API.csproj.CoreCompileInputs.cache index 27d8335..c88abd5 100644 --- a/backend/API/obj/Debug/net8.0/API.csproj.CoreCompileInputs.cache +++ b/backend/API/obj/Debug/net8.0/API.csproj.CoreCompileInputs.cache @@ -1 +1 @@ -207814169de56165806bf70065da089115ed45a84b56b1987cb76592e92957c0 +86f413f204b6bbdb2571f35c8208d17a18ef4d7252c53266660048227508f093 diff --git a/backend/API/obj/Debug/net8.0/API.csproj.FileListAbsolute.txt b/backend/API/obj/Debug/net8.0/API.csproj.FileListAbsolute.txt index 15a2bfe..6c3a329 100644 --- a/backend/API/obj/Debug/net8.0/API.csproj.FileListAbsolute.txt +++ b/backend/API/obj/Debug/net8.0/API.csproj.FileListAbsolute.txt @@ -14,10 +14,8 @@ C:\Users\Andrei Cerbu\Documents\FACULTATE\CC-FinalProj\backend\API\bin\Debug\net C:\Users\Andrei Cerbu\Documents\FACULTATE\CC-FinalProj\backend\API\bin\Debug\net8.0\Swashbuckle.AspNetCore.Swagger.dll C:\Users\Andrei Cerbu\Documents\FACULTATE\CC-FinalProj\backend\API\bin\Debug\net8.0\Swashbuckle.AspNetCore.SwaggerGen.dll C:\Users\Andrei Cerbu\Documents\FACULTATE\CC-FinalProj\backend\API\bin\Debug\net8.0\Swashbuckle.AspNetCore.SwaggerUI.dll -C:\Users\Andrei Cerbu\Documents\FACULTATE\CC-FinalProj\backend\API\bin\Debug\net8.0\Application.dll C:\Users\Andrei Cerbu\Documents\FACULTATE\CC-FinalProj\backend\API\bin\Debug\net8.0\Core.dll C:\Users\Andrei Cerbu\Documents\FACULTATE\CC-FinalProj\backend\API\bin\Debug\net8.0\Infrastructure.dll -C:\Users\Andrei Cerbu\Documents\FACULTATE\CC-FinalProj\backend\API\bin\Debug\net8.0\Application.pdb C:\Users\Andrei Cerbu\Documents\FACULTATE\CC-FinalProj\backend\API\bin\Debug\net8.0\Infrastructure.pdb C:\Users\Andrei Cerbu\Documents\FACULTATE\CC-FinalProj\backend\API\bin\Debug\net8.0\Core.pdb C:\Users\Andrei Cerbu\Documents\FACULTATE\CC-FinalProj\backend\API\obj\Debug\net8.0\API.csproj.AssemblyReference.cache @@ -55,3 +53,6 @@ C:\Users\Andrei Cerbu\Documents\FACULTATE\CC-FinalProj\backend\API\bin\Debug\net C:\Users\Andrei Cerbu\Documents\FACULTATE\CC-FinalProj\backend\API\bin\Debug\net8.0\runtimes\linux\native\libmongocrypt.so C:\Users\Andrei Cerbu\Documents\FACULTATE\CC-FinalProj\backend\API\bin\Debug\net8.0\runtimes\osx\native\libmongocrypt.dylib C:\Users\Andrei Cerbu\Documents\FACULTATE\CC-FinalProj\backend\API\bin\Debug\net8.0\runtimes\win\native\mongocrypt.dll +C:\Users\Andrei Cerbu\Documents\FACULTATE\CC-FinalProj\backend\API\bin\Debug\net8.0\FluentValidation.dll +C:\Users\Andrei Cerbu\Documents\FACULTATE\CC-FinalProj\backend\API\bin\Debug\net8.0\Application.dll +C:\Users\Andrei Cerbu\Documents\FACULTATE\CC-FinalProj\backend\API\bin\Debug\net8.0\Application.pdb diff --git a/backend/API/obj/Debug/net8.0/API.dll b/backend/API/obj/Debug/net8.0/API.dll index 82745fd..c639579 100644 Binary files a/backend/API/obj/Debug/net8.0/API.dll and b/backend/API/obj/Debug/net8.0/API.dll differ diff --git a/backend/API/obj/Debug/net8.0/API.pdb b/backend/API/obj/Debug/net8.0/API.pdb index f1eb2de..4adb194 100644 Binary files a/backend/API/obj/Debug/net8.0/API.pdb and b/backend/API/obj/Debug/net8.0/API.pdb differ diff --git a/backend/API/obj/Debug/net8.0/API.sourcelink.json b/backend/API/obj/Debug/net8.0/API.sourcelink.json index 85aea0d..755df65 100644 --- a/backend/API/obj/Debug/net8.0/API.sourcelink.json +++ b/backend/API/obj/Debug/net8.0/API.sourcelink.json @@ -1 +1 @@ -{"documents":{"C:\\Users\\Andrei Cerbu\\Documents\\FACULTATE\\CC-FinalProj\\*":"https://raw.githubusercontent.com/andrei-mihnea-cerbu/CC-FinalProj/041abb59007874167884872bc1a73e753930824b/*"}} \ No newline at end of file +{"documents":{"C:\\Users\\Andrei Cerbu\\Documents\\FACULTATE\\CC-FinalProj\\*":"https://raw.githubusercontent.com/andrei-mihnea-cerbu/CC-FinalProj/22f171b5600c0f2fcef2f7c927f96f78a59a27a4/*"}} \ No newline at end of file diff --git a/backend/API/obj/Debug/net8.0/apphost.exe b/backend/API/obj/Debug/net8.0/apphost.exe index 677314f..d775954 100644 Binary files a/backend/API/obj/Debug/net8.0/apphost.exe and b/backend/API/obj/Debug/net8.0/apphost.exe differ diff --git a/backend/API/obj/Debug/net8.0/ref/API.dll b/backend/API/obj/Debug/net8.0/ref/API.dll index 9b98a9d..629236b 100644 Binary files a/backend/API/obj/Debug/net8.0/ref/API.dll and b/backend/API/obj/Debug/net8.0/ref/API.dll differ diff --git a/backend/API/obj/Debug/net8.0/refint/API.dll b/backend/API/obj/Debug/net8.0/refint/API.dll index 9b98a9d..629236b 100644 Binary files a/backend/API/obj/Debug/net8.0/refint/API.dll and b/backend/API/obj/Debug/net8.0/refint/API.dll differ diff --git a/backend/API/obj/project.assets.json b/backend/API/obj/project.assets.json index 33388cb..bd4fa52 100644 --- a/backend/API/obj/project.assets.json +++ b/backend/API/obj/project.assets.json @@ -47,6 +47,19 @@ } } }, + "FluentValidation/11.9.0": { + "type": "package", + "compile": { + "lib/net8.0/FluentValidation.dll": { + "related": ".xml" + } + }, + "runtime": { + "lib/net8.0/FluentValidation.dll": { + "related": ".xml" + } + } + }, "Microsoft.EntityFrameworkCore/8.0.3": { "type": "package", "dependencies": { @@ -844,7 +857,7 @@ "type": "project", "framework": ".NETCoreApp,Version=v8.0", "dependencies": { - "Core": "1.0.0" + "FluentValidation": "11.9.0" }, "compile": { "bin/placeholder/Application.dll": {} @@ -965,6 +978,31 @@ "lib/netstandard2.1/DnsClient.xml" ] }, + "FluentValidation/11.9.0": { + "sha512": "VneVlTvwYDkfHV5av3QrQ0amALgrLX6LV94wlYyEsh0B/klJBW7C8y2eAtj5tOZ3jH6CAVpr4s1ZGgew/QWyig==", + "type": "package", + "path": "fluentvalidation/11.9.0", + "files": [ + ".nupkg.metadata", + ".signature.p7s", + "README.md", + "fluent-validation-icon.png", + "fluentvalidation.11.9.0.nupkg.sha512", + "fluentvalidation.nuspec", + "lib/net5.0/FluentValidation.dll", + "lib/net5.0/FluentValidation.xml", + "lib/net6.0/FluentValidation.dll", + "lib/net6.0/FluentValidation.xml", + "lib/net7.0/FluentValidation.dll", + "lib/net7.0/FluentValidation.xml", + "lib/net8.0/FluentValidation.dll", + "lib/net8.0/FluentValidation.xml", + "lib/netstandard2.0/FluentValidation.dll", + "lib/netstandard2.0/FluentValidation.xml", + "lib/netstandard2.1/FluentValidation.dll", + "lib/netstandard2.1/FluentValidation.xml" + ] + }, "Microsoft.EntityFrameworkCore/8.0.3": { "sha512": "QUPQbeq4yCjgIL/6PzkhfwhljXmai3CNOsErWFJ/WJ1Z41V8+At0Bi4PT8/2pX25kPgf83g0CUKIZd0QbeKT4A==", "type": "package", diff --git a/backend/API/obj/project.nuget.cache b/backend/API/obj/project.nuget.cache index 7db8ea9..7f7a237 100644 --- a/backend/API/obj/project.nuget.cache +++ b/backend/API/obj/project.nuget.cache @@ -1,12 +1,13 @@ { "version": 2, - "dgSpecHash": "+Eo3ZlVadsh0g5psDAeY3ENyxpEyjMxHkip+uq7b97ZgVc5Me7Ppg9PPAgVp4tu3qiHCCwLc+HCJkXjapcyV1w==", + "dgSpecHash": "dVAkg1LDfFAQCVAzH3Iq8cH7RsYPVxlIIVBGC3uX42Jb0TpaBL8XV3mfJaWQObtkI2P97JwR5Lqi19zLWR0gTw==", "success": true, "projectFilePath": "C:\\Users\\Andrei Cerbu\\Documents\\FACULTATE\\CC-FinalProj\\backend\\API\\API.csproj", "expectedPackageFiles": [ "C:\\Users\\Andrei Cerbu\\.nuget\\packages\\awssdk.core\\3.7.100.14\\awssdk.core.3.7.100.14.nupkg.sha512", "C:\\Users\\Andrei Cerbu\\.nuget\\packages\\awssdk.securitytoken\\3.7.100.14\\awssdk.securitytoken.3.7.100.14.nupkg.sha512", "C:\\Users\\Andrei Cerbu\\.nuget\\packages\\dnsclient\\1.6.1\\dnsclient.1.6.1.nupkg.sha512", + "C:\\Users\\Andrei Cerbu\\.nuget\\packages\\fluentvalidation\\11.9.0\\fluentvalidation.11.9.0.nupkg.sha512", "C:\\Users\\Andrei Cerbu\\.nuget\\packages\\microsoft.entityframeworkcore\\8.0.3\\microsoft.entityframeworkcore.8.0.3.nupkg.sha512", "C:\\Users\\Andrei Cerbu\\.nuget\\packages\\microsoft.entityframeworkcore.abstractions\\8.0.3\\microsoft.entityframeworkcore.abstractions.8.0.3.nupkg.sha512", "C:\\Users\\Andrei Cerbu\\.nuget\\packages\\microsoft.entityframeworkcore.analyzers\\8.0.3\\microsoft.entityframeworkcore.analyzers.8.0.3.nupkg.sha512", diff --git a/backend/Application/Application.csproj b/backend/Application/Application.csproj index 961f485..f31b960 100644 --- a/backend/Application/Application.csproj +++ b/backend/Application/Application.csproj @@ -7,14 +7,7 @@ - - - - - - - - + diff --git a/backend/Application/Contracts/Database/IConversation.cs b/backend/Application/Contracts/Database/IConversation.cs deleted file mode 100644 index 7e09715..0000000 --- a/backend/Application/Contracts/Database/IConversation.cs +++ /dev/null @@ -1,8 +0,0 @@ -using Core.Entities; - -namespace Application.Contracts.Database -{ - public interface IConversationRepository - { - } -} diff --git a/backend/Application/Contracts/Database/IDoctors.cs b/backend/Application/Contracts/Database/IDoctors.cs deleted file mode 100644 index 0477472..0000000 --- a/backend/Application/Contracts/Database/IDoctors.cs +++ /dev/null @@ -1,6 +0,0 @@ -namespace Application.Contracts.Database -{ - public interface IDoctorRepository - { - } -} diff --git a/backend/Application/Endpoints/BaseResponse.cs b/backend/Application/Endpoints/BaseResponse.cs new file mode 100644 index 0000000..8e00d30 --- /dev/null +++ b/backend/Application/Endpoints/BaseResponse.cs @@ -0,0 +1,9 @@ +namespace Application.Endpoints +{ + public class BaseResponse + { + public bool Success { get; set; } + public string? Message { get; set; } + public object? Data { get; set; } + } +} diff --git a/backend/Application/Endpoints/Doctors/Login/DoctorLoginDto.cs b/backend/Application/Endpoints/Doctors/Login/DoctorLoginDto.cs new file mode 100644 index 0000000..fd73c05 --- /dev/null +++ b/backend/Application/Endpoints/Doctors/Login/DoctorLoginDto.cs @@ -0,0 +1,8 @@ +namespace Application.Endpoints.Doctors.Login +{ + public class DoctorLoginDTO + { + public string? Email { get; set; } + public string? Password { get; set; } + } +} diff --git a/backend/Application/Endpoints/Doctors/Login/DoctorLoginHandler.cs b/backend/Application/Endpoints/Doctors/Login/DoctorLoginHandler.cs new file mode 100644 index 0000000..698f166 --- /dev/null +++ b/backend/Application/Endpoints/Doctors/Login/DoctorLoginHandler.cs @@ -0,0 +1,39 @@ +using Application.Services.Database; + +namespace Application.Endpoints.Doctors.Login +{ + public class DoctorLoginHandler + { + private readonly IDoctorRepository _database; + + public DoctorLoginHandler(IDoctorRepository database) + { + _database = database; + } + + public async Task Handle(DoctorLoginDTO loginDTO) + { + var validation = new DoctorLoginValidation(_database); + var validationResult = await validation.ValidateAsync(loginDTO); + + if (!validationResult.IsValid) + { + + var errorMessage = validationResult.Errors.FirstOrDefault()?.ErrorMessage; + return new BaseResponse + { + Success = false, + Message = errorMessage, + Data = null + }; + } + + return new BaseResponse + { + Success = true, + Message = "Authentication successful", + Data = null + }; + } + } +} diff --git a/backend/Application/Endpoints/Doctors/Login/DoctorLoginValidation.cs b/backend/Application/Endpoints/Doctors/Login/DoctorLoginValidation.cs new file mode 100644 index 0000000..6ee1165 --- /dev/null +++ b/backend/Application/Endpoints/Doctors/Login/DoctorLoginValidation.cs @@ -0,0 +1,30 @@ +using Application.Services.Database; +using FluentValidation; +using System.Threading.Tasks; + +namespace Application.Endpoints.Doctors.Login +{ + public class DoctorLoginValidation : AbstractValidator + { + private readonly IDoctorRepository _doctorRepository; + + public DoctorLoginValidation(IDoctorRepository doctorRepository) + { + _doctorRepository = doctorRepository; + + RuleFor(x => x.Email) + .NotEmpty().WithMessage("Email is required.") + .EmailAddress().WithMessage("Invalid email format.") + .MustAsync(BeExistingDoctor).WithMessage("Doctor with this email does not exist."); + + RuleFor(x => x.Password) + .NotEmpty().WithMessage("Password is required.") + .MinimumLength(8).WithMessage("Password must be at least 8 characters long."); + } + + private async Task BeExistingDoctor(string email, System.Threading.CancellationToken cancellationToken) + { + return await _doctorRepository.IsDoctorExisting(email); + } + } +} diff --git a/backend/Application/Services/Database/IConversation.cs b/backend/Application/Services/Database/IConversation.cs new file mode 100644 index 0000000..ccc1f86 --- /dev/null +++ b/backend/Application/Services/Database/IConversation.cs @@ -0,0 +1,6 @@ +namespace Application.Services.Database +{ + public interface IConversationRepository + { + } +} diff --git a/backend/Application/Services/Database/IDoctors.cs b/backend/Application/Services/Database/IDoctors.cs new file mode 100644 index 0000000..7b61476 --- /dev/null +++ b/backend/Application/Services/Database/IDoctors.cs @@ -0,0 +1,7 @@ +namespace Application.Services.Database +{ + public interface IDoctorRepository + { + Task IsDoctorExisting(string email); + } +} \ No newline at end of file diff --git a/backend/Application/Contracts/Database/IMedicalHistory.cs b/backend/Application/Services/Database/IMedicalHistory.cs similarity index 58% rename from backend/Application/Contracts/Database/IMedicalHistory.cs rename to backend/Application/Services/Database/IMedicalHistory.cs index 9b62f09..7cd4fd7 100644 --- a/backend/Application/Contracts/Database/IMedicalHistory.cs +++ b/backend/Application/Services/Database/IMedicalHistory.cs @@ -1,4 +1,4 @@ -namespace Application.Contracts.Database +namespace Application.Services.Database { public interface IMedicalHistoryRepository { diff --git a/backend/Application/Contracts/Database/IPatients.cs b/backend/Application/Services/Database/IPatients.cs similarity index 56% rename from backend/Application/Contracts/Database/IPatients.cs rename to backend/Application/Services/Database/IPatients.cs index 348809a..894b842 100644 --- a/backend/Application/Contracts/Database/IPatients.cs +++ b/backend/Application/Services/Database/IPatients.cs @@ -1,4 +1,4 @@ -namespace Application.Contracts.Database +namespace Application.Services.Database { public interface IPacientRepository { diff --git a/backend/Application/bin/Debug/net8.0/Application.deps.json b/backend/Application/bin/Debug/net8.0/Application.deps.json index 78dd6c6..6cbfd1a 100644 --- a/backend/Application/bin/Debug/net8.0/Application.deps.json +++ b/backend/Application/bin/Debug/net8.0/Application.deps.json @@ -8,33 +8,19 @@ ".NETCoreApp,Version=v8.0": { "Application/1.0.0": { "dependencies": { - "Core": "1.0.0" + "FluentValidation": "11.9.0" }, "runtime": { "Application.dll": {} } }, - "MongoDB.Bson/2.24.0": { - "dependencies": { - "System.Memory": "4.5.5", - "System.Runtime.CompilerServices.Unsafe": "5.0.0" - }, + "FluentValidation/11.9.0": { "runtime": { - "lib/netstandard2.1/MongoDB.Bson.dll": { - "assemblyVersion": "2.24.0.0", - "fileVersion": "2.24.0.0" + "lib/net8.0/FluentValidation.dll": { + "assemblyVersion": "11.0.0.0", + "fileVersion": "11.9.0.0" } } - }, - "System.Memory/4.5.5": {}, - "System.Runtime.CompilerServices.Unsafe/5.0.0": {}, - "Core/1.0.0": { - "dependencies": { - "MongoDB.Bson": "2.24.0" - }, - "runtime": { - "Core.dll": {} - } } } }, @@ -44,31 +30,12 @@ "serviceable": false, "sha512": "" }, - "MongoDB.Bson/2.24.0": { + "FluentValidation/11.9.0": { "type": "package", "serviceable": true, - "sha512": "sha512-n8CWaA4iTuoEQYv0+FSKNTX/hJozFQa5EgSILVNPhTGHcrbABHhpVrT1NwRRAAS6sUb8ZyhHmLPBa88LJemptA==", - "path": "mongodb.bson/2.24.0", - "hashPath": "mongodb.bson.2.24.0.nupkg.sha512" - }, - "System.Memory/4.5.5": { - "type": "package", - "serviceable": true, - "sha512": "sha512-XIWiDvKPXaTveaB7HVganDlOCRoj03l+jrwNvcge/t8vhGYKvqV+dMv6G4SAX2NoNmN0wZfVPTAlFwZcZvVOUw==", - "path": "system.memory/4.5.5", - "hashPath": "system.memory.4.5.5.nupkg.sha512" - }, - "System.Runtime.CompilerServices.Unsafe/5.0.0": { - "type": "package", - "serviceable": true, - "sha512": "sha512-ZD9TMpsmYJLrxbbmdvhwt9YEgG5WntEnZ/d1eH8JBX9LBp+Ju8BSBhUGbZMNVHHomWo2KVImJhTDl2hIgw/6MA==", - "path": "system.runtime.compilerservices.unsafe/5.0.0", - "hashPath": "system.runtime.compilerservices.unsafe.5.0.0.nupkg.sha512" - }, - "Core/1.0.0": { - "type": "project", - "serviceable": false, - "sha512": "" + "sha512": "sha512-VneVlTvwYDkfHV5av3QrQ0amALgrLX6LV94wlYyEsh0B/klJBW7C8y2eAtj5tOZ3jH6CAVpr4s1ZGgew/QWyig==", + "path": "fluentvalidation/11.9.0", + "hashPath": "fluentvalidation.11.9.0.nupkg.sha512" } } } \ No newline at end of file diff --git a/backend/Application/bin/Debug/net8.0/Application.dll b/backend/Application/bin/Debug/net8.0/Application.dll index ea9740d..0ea3179 100644 Binary files a/backend/Application/bin/Debug/net8.0/Application.dll and b/backend/Application/bin/Debug/net8.0/Application.dll differ diff --git a/backend/Application/bin/Debug/net8.0/Application.pdb b/backend/Application/bin/Debug/net8.0/Application.pdb index bd11b4f..3ede03b 100644 Binary files a/backend/Application/bin/Debug/net8.0/Application.pdb and b/backend/Application/bin/Debug/net8.0/Application.pdb differ diff --git a/backend/Application/bin/Debug/net8.0/Core.dll b/backend/Application/bin/Debug/net8.0/Core.dll deleted file mode 100644 index 17ea7c8..0000000 Binary files a/backend/Application/bin/Debug/net8.0/Core.dll and /dev/null differ diff --git a/backend/Application/bin/Debug/net8.0/Core.pdb b/backend/Application/bin/Debug/net8.0/Core.pdb deleted file mode 100644 index 4746725..0000000 Binary files a/backend/Application/bin/Debug/net8.0/Core.pdb and /dev/null differ diff --git a/backend/Application/obj/Application.csproj.nuget.dgspec.json b/backend/Application/obj/Application.csproj.nuget.dgspec.json index f46a51c..31b71d9 100644 --- a/backend/Application/obj/Application.csproj.nuget.dgspec.json +++ b/backend/Application/obj/Application.csproj.nuget.dgspec.json @@ -24,70 +24,6 @@ "C:\\Program Files (x86)\\Microsoft SDKs\\NuGetPackages\\": {}, "https://api.nuget.org/v3/index.json": {} }, - "frameworks": { - "net8.0": { - "targetAlias": "net8.0", - "projectReferences": { - "C:\\Users\\Andrei Cerbu\\Documents\\FACULTATE\\CC-FinalProj\\backend\\Core\\Core.csproj": { - "projectPath": "C:\\Users\\Andrei Cerbu\\Documents\\FACULTATE\\CC-FinalProj\\backend\\Core\\Core.csproj" - } - } - } - }, - "warningProperties": { - "warnAsError": [ - "NU1605" - ] - }, - "restoreAuditProperties": { - "enableAudit": "true", - "auditLevel": "low", - "auditMode": "direct" - } - }, - "frameworks": { - "net8.0": { - "targetAlias": "net8.0", - "imports": [ - "net461", - "net462", - "net47", - "net471", - "net472", - "net48", - "net481" - ], - "assetTargetFallback": true, - "warn": true, - "frameworkReferences": { - "Microsoft.NETCore.App": { - "privateAssets": "all" - } - }, - "runtimeIdentifierGraphPath": "C:\\Program Files\\dotnet\\sdk\\8.0.202/PortableRuntimeIdentifierGraph.json" - } - } - }, - "C:\\Users\\Andrei Cerbu\\Documents\\FACULTATE\\CC-FinalProj\\backend\\Core\\Core.csproj": { - "version": "1.0.0", - "restore": { - "projectUniqueName": "C:\\Users\\Andrei Cerbu\\Documents\\FACULTATE\\CC-FinalProj\\backend\\Core\\Core.csproj", - "projectName": "Core", - "projectPath": "C:\\Users\\Andrei Cerbu\\Documents\\FACULTATE\\CC-FinalProj\\backend\\Core\\Core.csproj", - "packagesPath": "C:\\Users\\Andrei Cerbu\\.nuget\\packages\\", - "outputPath": "C:\\Users\\Andrei Cerbu\\Documents\\FACULTATE\\CC-FinalProj\\backend\\Core\\obj\\", - "projectStyle": "PackageReference", - "configFilePaths": [ - "C:\\Users\\Andrei Cerbu\\AppData\\Roaming\\NuGet\\NuGet.Config", - "C:\\Program Files (x86)\\NuGet\\Config\\Microsoft.VisualStudio.Offline.config" - ], - "originalTargetFrameworks": [ - "net8.0" - ], - "sources": { - "C:\\Program Files (x86)\\Microsoft SDKs\\NuGetPackages\\": {}, - "https://api.nuget.org/v3/index.json": {} - }, "frameworks": { "net8.0": { "targetAlias": "net8.0", @@ -109,9 +45,9 @@ "net8.0": { "targetAlias": "net8.0", "dependencies": { - "MongoDB.Bson": { + "FluentValidation": { "target": "Package", - "version": "[2.24.0, )" + "version": "[11.9.0, )" } }, "imports": [ diff --git a/backend/Application/obj/Debug/net8.0/Applicat.44B5EDA2.Up2Date b/backend/Application/obj/Debug/net8.0/Applicat.44B5EDA2.Up2Date deleted file mode 100644 index e69de29..0000000 diff --git a/backend/Application/obj/Debug/net8.0/Application.AssemblyInfo.cs b/backend/Application/obj/Debug/net8.0/Application.AssemblyInfo.cs index cd05927..426f0d7 100644 --- a/backend/Application/obj/Debug/net8.0/Application.AssemblyInfo.cs +++ b/backend/Application/obj/Debug/net8.0/Application.AssemblyInfo.cs @@ -14,7 +14,7 @@ using System.Reflection; [assembly: System.Reflection.AssemblyCompanyAttribute("Application")] [assembly: System.Reflection.AssemblyConfigurationAttribute("Debug")] [assembly: System.Reflection.AssemblyFileVersionAttribute("1.0.0.0")] -[assembly: System.Reflection.AssemblyInformationalVersionAttribute("1.0.0+041abb59007874167884872bc1a73e753930824b")] +[assembly: System.Reflection.AssemblyInformationalVersionAttribute("1.0.0+22f171b5600c0f2fcef2f7c927f96f78a59a27a4")] [assembly: System.Reflection.AssemblyProductAttribute("Application")] [assembly: System.Reflection.AssemblyTitleAttribute("Application")] [assembly: System.Reflection.AssemblyVersionAttribute("1.0.0.0")] diff --git a/backend/Application/obj/Debug/net8.0/Application.AssemblyInfoInputs.cache b/backend/Application/obj/Debug/net8.0/Application.AssemblyInfoInputs.cache index ee9f80c..937ab95 100644 --- a/backend/Application/obj/Debug/net8.0/Application.AssemblyInfoInputs.cache +++ b/backend/Application/obj/Debug/net8.0/Application.AssemblyInfoInputs.cache @@ -1 +1 @@ -46998ebb81250ee993485416df0909c7143f7792f50aff695b3f5ff97784825e +ef3adc4b3323bf29b92f7848e712ac6c253cbb3465d61f97b1a82fd097090057 diff --git a/backend/Application/obj/Debug/net8.0/Application.assets.cache b/backend/Application/obj/Debug/net8.0/Application.assets.cache index 55f31ac..bfc7996 100644 Binary files a/backend/Application/obj/Debug/net8.0/Application.assets.cache and b/backend/Application/obj/Debug/net8.0/Application.assets.cache differ diff --git a/backend/Application/obj/Debug/net8.0/Application.csproj.AssemblyReference.cache b/backend/Application/obj/Debug/net8.0/Application.csproj.AssemblyReference.cache index fd501b9..f22a618 100644 Binary files a/backend/Application/obj/Debug/net8.0/Application.csproj.AssemblyReference.cache and b/backend/Application/obj/Debug/net8.0/Application.csproj.AssemblyReference.cache differ diff --git a/backend/Application/obj/Debug/net8.0/Application.csproj.CoreCompileInputs.cache b/backend/Application/obj/Debug/net8.0/Application.csproj.CoreCompileInputs.cache index 78d2014..8ed19f2 100644 --- a/backend/Application/obj/Debug/net8.0/Application.csproj.CoreCompileInputs.cache +++ b/backend/Application/obj/Debug/net8.0/Application.csproj.CoreCompileInputs.cache @@ -1 +1 @@ -0baff5b0c00698cb3bddd23ea11ac67e94bd893e783b855ba6975a15613aa20b +e62e961dcbbbdb298dbb177e9f1605ac5651cf25ce346fbf2dad3942dc43b387 diff --git a/backend/Application/obj/Debug/net8.0/Application.csproj.FileListAbsolute.txt b/backend/Application/obj/Debug/net8.0/Application.csproj.FileListAbsolute.txt index 2b51555..fa8f367 100644 --- a/backend/Application/obj/Debug/net8.0/Application.csproj.FileListAbsolute.txt +++ b/backend/Application/obj/Debug/net8.0/Application.csproj.FileListAbsolute.txt @@ -1,15 +1,12 @@ -C:\Users\Andrei Cerbu\Documents\FACULTATE\CC-FinalProj\backend\Application\bin\Debug\net8.0\Application.deps.json -C:\Users\Andrei Cerbu\Documents\FACULTATE\CC-FinalProj\backend\Application\bin\Debug\net8.0\Application.dll -C:\Users\Andrei Cerbu\Documents\FACULTATE\CC-FinalProj\backend\Application\bin\Debug\net8.0\Application.pdb -C:\Users\Andrei Cerbu\Documents\FACULTATE\CC-FinalProj\backend\Application\bin\Debug\net8.0\Core.dll -C:\Users\Andrei Cerbu\Documents\FACULTATE\CC-FinalProj\backend\Application\bin\Debug\net8.0\Core.pdb -C:\Users\Andrei Cerbu\Documents\FACULTATE\CC-FinalProj\backend\Application\obj\Debug\net8.0\Application.csproj.AssemblyReference.cache C:\Users\Andrei Cerbu\Documents\FACULTATE\CC-FinalProj\backend\Application\obj\Debug\net8.0\Application.GeneratedMSBuildEditorConfig.editorconfig C:\Users\Andrei Cerbu\Documents\FACULTATE\CC-FinalProj\backend\Application\obj\Debug\net8.0\Application.AssemblyInfoInputs.cache C:\Users\Andrei Cerbu\Documents\FACULTATE\CC-FinalProj\backend\Application\obj\Debug\net8.0\Application.AssemblyInfo.cs C:\Users\Andrei Cerbu\Documents\FACULTATE\CC-FinalProj\backend\Application\obj\Debug\net8.0\Application.csproj.CoreCompileInputs.cache C:\Users\Andrei Cerbu\Documents\FACULTATE\CC-FinalProj\backend\Application\obj\Debug\net8.0\Application.sourcelink.json -C:\Users\Andrei Cerbu\Documents\FACULTATE\CC-FinalProj\backend\Application\obj\Debug\net8.0\Applicat.44B5EDA2.Up2Date +C:\Users\Andrei Cerbu\Documents\FACULTATE\CC-FinalProj\backend\Application\bin\Debug\net8.0\Application.deps.json +C:\Users\Andrei Cerbu\Documents\FACULTATE\CC-FinalProj\backend\Application\bin\Debug\net8.0\Application.dll +C:\Users\Andrei Cerbu\Documents\FACULTATE\CC-FinalProj\backend\Application\bin\Debug\net8.0\Application.pdb +C:\Users\Andrei Cerbu\Documents\FACULTATE\CC-FinalProj\backend\Application\obj\Debug\net8.0\Application.csproj.AssemblyReference.cache C:\Users\Andrei Cerbu\Documents\FACULTATE\CC-FinalProj\backend\Application\obj\Debug\net8.0\Application.dll C:\Users\Andrei Cerbu\Documents\FACULTATE\CC-FinalProj\backend\Application\obj\Debug\net8.0\refint\Application.dll C:\Users\Andrei Cerbu\Documents\FACULTATE\CC-FinalProj\backend\Application\obj\Debug\net8.0\Application.pdb diff --git a/backend/Application/obj/Debug/net8.0/Application.dll b/backend/Application/obj/Debug/net8.0/Application.dll index ea9740d..0ea3179 100644 Binary files a/backend/Application/obj/Debug/net8.0/Application.dll and b/backend/Application/obj/Debug/net8.0/Application.dll differ diff --git a/backend/Application/obj/Debug/net8.0/Application.pdb b/backend/Application/obj/Debug/net8.0/Application.pdb index bd11b4f..3ede03b 100644 Binary files a/backend/Application/obj/Debug/net8.0/Application.pdb and b/backend/Application/obj/Debug/net8.0/Application.pdb differ diff --git a/backend/Application/obj/Debug/net8.0/Application.sourcelink.json b/backend/Application/obj/Debug/net8.0/Application.sourcelink.json index 85aea0d..755df65 100644 --- a/backend/Application/obj/Debug/net8.0/Application.sourcelink.json +++ b/backend/Application/obj/Debug/net8.0/Application.sourcelink.json @@ -1 +1 @@ -{"documents":{"C:\\Users\\Andrei Cerbu\\Documents\\FACULTATE\\CC-FinalProj\\*":"https://raw.githubusercontent.com/andrei-mihnea-cerbu/CC-FinalProj/041abb59007874167884872bc1a73e753930824b/*"}} \ No newline at end of file +{"documents":{"C:\\Users\\Andrei Cerbu\\Documents\\FACULTATE\\CC-FinalProj\\*":"https://raw.githubusercontent.com/andrei-mihnea-cerbu/CC-FinalProj/22f171b5600c0f2fcef2f7c927f96f78a59a27a4/*"}} \ No newline at end of file diff --git a/backend/Application/obj/Debug/net8.0/ref/Application.dll b/backend/Application/obj/Debug/net8.0/ref/Application.dll index 338627c..2467ab2 100644 Binary files a/backend/Application/obj/Debug/net8.0/ref/Application.dll and b/backend/Application/obj/Debug/net8.0/ref/Application.dll differ diff --git a/backend/Application/obj/Debug/net8.0/refint/Application.dll b/backend/Application/obj/Debug/net8.0/refint/Application.dll index 338627c..2467ab2 100644 Binary files a/backend/Application/obj/Debug/net8.0/refint/Application.dll and b/backend/Application/obj/Debug/net8.0/refint/Application.dll differ diff --git a/backend/Application/obj/project.assets.json b/backend/Application/obj/project.assets.json index be05cec..0eb37d4 100644 --- a/backend/Application/obj/project.assets.json +++ b/backend/Application/obj/project.assets.json @@ -2,144 +2,51 @@ "version": 3, "targets": { "net8.0": { - "MongoDB.Bson/2.24.0": { - "type": "package", - "dependencies": { - "System.Memory": "4.5.5", - "System.Runtime.CompilerServices.Unsafe": "5.0.0" - }, - "compile": { - "lib/netstandard2.1/MongoDB.Bson.dll": { - "related": ".xml" - } - }, - "runtime": { - "lib/netstandard2.1/MongoDB.Bson.dll": { - "related": ".xml" - } - } - }, - "System.Memory/4.5.5": { + "FluentValidation/11.9.0": { "type": "package", "compile": { - "ref/netcoreapp2.1/_._": {} - }, - "runtime": { - "lib/netcoreapp2.1/_._": {} - } - }, - "System.Runtime.CompilerServices.Unsafe/5.0.0": { - "type": "package", - "compile": { - "ref/netstandard2.1/System.Runtime.CompilerServices.Unsafe.dll": { + "lib/net8.0/FluentValidation.dll": { "related": ".xml" } }, "runtime": { - "lib/netcoreapp2.0/System.Runtime.CompilerServices.Unsafe.dll": { + "lib/net8.0/FluentValidation.dll": { "related": ".xml" } } - }, - "Core/1.0.0": { - "type": "project", - "framework": ".NETCoreApp,Version=v8.0", - "dependencies": { - "MongoDB.Bson": "2.24.0" - }, - "compile": { - "bin/placeholder/Core.dll": {} - }, - "runtime": { - "bin/placeholder/Core.dll": {} - } } } }, "libraries": { - "MongoDB.Bson/2.24.0": { - "sha512": "n8CWaA4iTuoEQYv0+FSKNTX/hJozFQa5EgSILVNPhTGHcrbABHhpVrT1NwRRAAS6sUb8ZyhHmLPBa88LJemptA==", + "FluentValidation/11.9.0": { + "sha512": "VneVlTvwYDkfHV5av3QrQ0amALgrLX6LV94wlYyEsh0B/klJBW7C8y2eAtj5tOZ3jH6CAVpr4s1ZGgew/QWyig==", "type": "package", - "path": "mongodb.bson/2.24.0", + "path": "fluentvalidation/11.9.0", "files": [ ".nupkg.metadata", ".signature.p7s", - "LICENSE.md", - "lib/net472/MongoDB.Bson.dll", - "lib/net472/MongoDB.Bson.xml", - "lib/netstandard2.0/MongoDB.Bson.dll", - "lib/netstandard2.0/MongoDB.Bson.xml", - "lib/netstandard2.1/MongoDB.Bson.dll", - "lib/netstandard2.1/MongoDB.Bson.xml", - "mongodb.bson.2.24.0.nupkg.sha512", - "mongodb.bson.nuspec", - "packageIcon.png" + "README.md", + "fluent-validation-icon.png", + "fluentvalidation.11.9.0.nupkg.sha512", + "fluentvalidation.nuspec", + "lib/net5.0/FluentValidation.dll", + "lib/net5.0/FluentValidation.xml", + "lib/net6.0/FluentValidation.dll", + "lib/net6.0/FluentValidation.xml", + "lib/net7.0/FluentValidation.dll", + "lib/net7.0/FluentValidation.xml", + "lib/net8.0/FluentValidation.dll", + "lib/net8.0/FluentValidation.xml", + "lib/netstandard2.0/FluentValidation.dll", + "lib/netstandard2.0/FluentValidation.xml", + "lib/netstandard2.1/FluentValidation.dll", + "lib/netstandard2.1/FluentValidation.xml" ] - }, - "System.Memory/4.5.5": { - "sha512": "XIWiDvKPXaTveaB7HVganDlOCRoj03l+jrwNvcge/t8vhGYKvqV+dMv6G4SAX2NoNmN0wZfVPTAlFwZcZvVOUw==", - "type": "package", - "path": "system.memory/4.5.5", - "files": [ - ".nupkg.metadata", - ".signature.p7s", - "LICENSE.TXT", - "THIRD-PARTY-NOTICES.TXT", - "lib/net461/System.Memory.dll", - "lib/net461/System.Memory.xml", - "lib/netcoreapp2.1/_._", - "lib/netstandard1.1/System.Memory.dll", - "lib/netstandard1.1/System.Memory.xml", - "lib/netstandard2.0/System.Memory.dll", - "lib/netstandard2.0/System.Memory.xml", - "ref/netcoreapp2.1/_._", - "system.memory.4.5.5.nupkg.sha512", - "system.memory.nuspec", - "useSharedDesignerContext.txt", - "version.txt" - ] - }, - "System.Runtime.CompilerServices.Unsafe/5.0.0": { - "sha512": "ZD9TMpsmYJLrxbbmdvhwt9YEgG5WntEnZ/d1eH8JBX9LBp+Ju8BSBhUGbZMNVHHomWo2KVImJhTDl2hIgw/6MA==", - "type": "package", - "path": "system.runtime.compilerservices.unsafe/5.0.0", - "files": [ - ".nupkg.metadata", - ".signature.p7s", - "Icon.png", - "LICENSE.TXT", - "THIRD-PARTY-NOTICES.TXT", - "lib/net45/System.Runtime.CompilerServices.Unsafe.dll", - "lib/net45/System.Runtime.CompilerServices.Unsafe.xml", - "lib/netcoreapp2.0/System.Runtime.CompilerServices.Unsafe.dll", - "lib/netcoreapp2.0/System.Runtime.CompilerServices.Unsafe.xml", - "lib/netstandard1.0/System.Runtime.CompilerServices.Unsafe.dll", - "lib/netstandard1.0/System.Runtime.CompilerServices.Unsafe.xml", - "lib/netstandard2.0/System.Runtime.CompilerServices.Unsafe.dll", - "lib/netstandard2.0/System.Runtime.CompilerServices.Unsafe.xml", - "ref/net461/System.Runtime.CompilerServices.Unsafe.dll", - "ref/net461/System.Runtime.CompilerServices.Unsafe.xml", - "ref/netstandard1.0/System.Runtime.CompilerServices.Unsafe.dll", - "ref/netstandard1.0/System.Runtime.CompilerServices.Unsafe.xml", - "ref/netstandard2.0/System.Runtime.CompilerServices.Unsafe.dll", - "ref/netstandard2.0/System.Runtime.CompilerServices.Unsafe.xml", - "ref/netstandard2.1/System.Runtime.CompilerServices.Unsafe.dll", - "ref/netstandard2.1/System.Runtime.CompilerServices.Unsafe.xml", - "system.runtime.compilerservices.unsafe.5.0.0.nupkg.sha512", - "system.runtime.compilerservices.unsafe.nuspec", - "useSharedDesignerContext.txt", - "version.txt" - ] - }, - "Core/1.0.0": { - "type": "project", - "path": "../Core/Core.csproj", - "msbuildProject": "../Core/Core.csproj" } }, "projectFileDependencyGroups": { "net8.0": [ - "Core >= 1.0.0" + "FluentValidation >= 11.9.0" ] }, "packageFolders": { @@ -168,11 +75,7 @@ "frameworks": { "net8.0": { "targetAlias": "net8.0", - "projectReferences": { - "C:\\Users\\Andrei Cerbu\\Documents\\FACULTATE\\CC-FinalProj\\backend\\Core\\Core.csproj": { - "projectPath": "C:\\Users\\Andrei Cerbu\\Documents\\FACULTATE\\CC-FinalProj\\backend\\Core\\Core.csproj" - } - } + "projectReferences": {} } }, "warningProperties": { @@ -189,6 +92,12 @@ "frameworks": { "net8.0": { "targetAlias": "net8.0", + "dependencies": { + "FluentValidation": { + "target": "Package", + "version": "[11.9.0, )" + } + }, "imports": [ "net461", "net462", diff --git a/backend/Application/obj/project.nuget.cache b/backend/Application/obj/project.nuget.cache index da2a3ee..15e40db 100644 --- a/backend/Application/obj/project.nuget.cache +++ b/backend/Application/obj/project.nuget.cache @@ -1,12 +1,10 @@ { "version": 2, - "dgSpecHash": "/Nvfi+nbQtMHVdhP73amZPlhgGbKCShznaf20Qy8tcaEaX5iC3bWAxzDzWwQr6A7MjYisEXLzsQl9SC0GV5JcA==", + "dgSpecHash": "kDc083K6qMrDLCVeOJ9DuILYrf/AP3owIBIRxiyDRQz9yRIDKVbxrCbVBAIi79Pb4cXkOYdSYtBCvpHN76uuPw==", "success": true, "projectFilePath": "C:\\Users\\Andrei Cerbu\\Documents\\FACULTATE\\CC-FinalProj\\backend\\Application\\Application.csproj", "expectedPackageFiles": [ - "C:\\Users\\Andrei Cerbu\\.nuget\\packages\\mongodb.bson\\2.24.0\\mongodb.bson.2.24.0.nupkg.sha512", - "C:\\Users\\Andrei Cerbu\\.nuget\\packages\\system.memory\\4.5.5\\system.memory.4.5.5.nupkg.sha512", - "C:\\Users\\Andrei Cerbu\\.nuget\\packages\\system.runtime.compilerservices.unsafe\\5.0.0\\system.runtime.compilerservices.unsafe.5.0.0.nupkg.sha512" + "C:\\Users\\Andrei Cerbu\\.nuget\\packages\\fluentvalidation\\11.9.0\\fluentvalidation.11.9.0.nupkg.sha512" ], "logs": [] } \ No newline at end of file diff --git a/backend/Core/obj/Debug/net8.0/Core.AssemblyInfo.cs b/backend/Core/obj/Debug/net8.0/Core.AssemblyInfo.cs index fe3743a..d0dbe76 100644 --- a/backend/Core/obj/Debug/net8.0/Core.AssemblyInfo.cs +++ b/backend/Core/obj/Debug/net8.0/Core.AssemblyInfo.cs @@ -14,7 +14,7 @@ using System.Reflection; [assembly: System.Reflection.AssemblyCompanyAttribute("Core")] [assembly: System.Reflection.AssemblyConfigurationAttribute("Debug")] [assembly: System.Reflection.AssemblyFileVersionAttribute("1.0.0.0")] -[assembly: System.Reflection.AssemblyInformationalVersionAttribute("1.0.0+041abb59007874167884872bc1a73e753930824b")] +[assembly: System.Reflection.AssemblyInformationalVersionAttribute("1.0.0+22f171b5600c0f2fcef2f7c927f96f78a59a27a4")] [assembly: System.Reflection.AssemblyProductAttribute("Core")] [assembly: System.Reflection.AssemblyTitleAttribute("Core")] [assembly: System.Reflection.AssemblyVersionAttribute("1.0.0.0")] diff --git a/backend/Core/obj/Debug/net8.0/Core.AssemblyInfoInputs.cache b/backend/Core/obj/Debug/net8.0/Core.AssemblyInfoInputs.cache index 2309d30..e5a333c 100644 --- a/backend/Core/obj/Debug/net8.0/Core.AssemblyInfoInputs.cache +++ b/backend/Core/obj/Debug/net8.0/Core.AssemblyInfoInputs.cache @@ -1 +1 @@ -ed739afb4fb061e7094413d9318e55a13cfff1971df23fcf0d5192574ebdf696 +bac2bb723945b9a9bff516a7fd3101b8cfe056dc4b552ab165770ec7b207a266 diff --git a/backend/HealthcareManagerAPI.sln b/backend/HealthcareManagerAPI.sln index 2149ede..65b1fa4 100644 --- a/backend/HealthcareManagerAPI.sln +++ b/backend/HealthcareManagerAPI.sln @@ -7,17 +7,17 @@ Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "HealthcareManager.API", "He EndProject Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "API", "API\API.csproj", "{AE742B5B-E541-4355-AD47-F36DDFF5C42E}" EndProject -Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "HealthcareManager.Application", "HealthcareManager.Application", "{21111658-C785-4C6F-8DD6-079763FDA775}" -EndProject Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "HealthcareManager.Core", "HealthcareManager.Core", "{0FDD5484-B105-4B18-8C8B-A79B5D3A0228}" EndProject Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "HealthcareManager.Infrastructure", "HealthcareManager.Infrastructure", "{2E30D87F-DC3C-4853-A755-7E3FBA2164E0}" EndProject -Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Core", "Core\Core.csproj", "{1158DC66-C8F1-4962-B294-1C4C86EE8A82}" +Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "Core", "Core\Core.csproj", "{1158DC66-C8F1-4962-B294-1C4C86EE8A82}" EndProject -Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Application", "Application\Application.csproj", "{513F652A-C01A-4075-80A7-FBFE1EF87C7C}" +Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "Infrastructure", "Infrastructure\Infrastructure.csproj", "{5E75761E-5C8B-488C-9C39-5D0E663258C5}" EndProject -Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Infrastructure", "Infrastructure\Infrastructure.csproj", "{5E75761E-5C8B-488C-9C39-5D0E663258C5}" +Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "HealthcareManager.Application", "HealthcareManager.Application", "{7FF28CA1-48C0-4A95-8056-977F3469577C}" +EndProject +Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Application", "Application\Application.csproj", "{726E8EFD-FC6A-4104-B8FB-2D9049C748C6}" EndProject Global GlobalSection(SolutionConfigurationPlatforms) = preSolution @@ -33,14 +33,14 @@ Global {1158DC66-C8F1-4962-B294-1C4C86EE8A82}.Debug|Any CPU.Build.0 = Debug|Any CPU {1158DC66-C8F1-4962-B294-1C4C86EE8A82}.Release|Any CPU.ActiveCfg = Release|Any CPU {1158DC66-C8F1-4962-B294-1C4C86EE8A82}.Release|Any CPU.Build.0 = Release|Any CPU - {513F652A-C01A-4075-80A7-FBFE1EF87C7C}.Debug|Any CPU.ActiveCfg = Debug|Any CPU - {513F652A-C01A-4075-80A7-FBFE1EF87C7C}.Debug|Any CPU.Build.0 = Debug|Any CPU - {513F652A-C01A-4075-80A7-FBFE1EF87C7C}.Release|Any CPU.ActiveCfg = Release|Any CPU - {513F652A-C01A-4075-80A7-FBFE1EF87C7C}.Release|Any CPU.Build.0 = Release|Any CPU {5E75761E-5C8B-488C-9C39-5D0E663258C5}.Debug|Any CPU.ActiveCfg = Debug|Any CPU {5E75761E-5C8B-488C-9C39-5D0E663258C5}.Debug|Any CPU.Build.0 = Debug|Any CPU {5E75761E-5C8B-488C-9C39-5D0E663258C5}.Release|Any CPU.ActiveCfg = Release|Any CPU {5E75761E-5C8B-488C-9C39-5D0E663258C5}.Release|Any CPU.Build.0 = Release|Any CPU + {726E8EFD-FC6A-4104-B8FB-2D9049C748C6}.Debug|Any CPU.ActiveCfg = Debug|Any CPU + {726E8EFD-FC6A-4104-B8FB-2D9049C748C6}.Debug|Any CPU.Build.0 = Debug|Any CPU + {726E8EFD-FC6A-4104-B8FB-2D9049C748C6}.Release|Any CPU.ActiveCfg = Release|Any CPU + {726E8EFD-FC6A-4104-B8FB-2D9049C748C6}.Release|Any CPU.Build.0 = Release|Any CPU EndGlobalSection GlobalSection(SolutionProperties) = preSolution HideSolutionNode = FALSE @@ -48,8 +48,8 @@ Global GlobalSection(NestedProjects) = preSolution {AE742B5B-E541-4355-AD47-F36DDFF5C42E} = {F1846AEC-7080-447F-BC7E-4DB4CFDD0B9D} {1158DC66-C8F1-4962-B294-1C4C86EE8A82} = {0FDD5484-B105-4B18-8C8B-A79B5D3A0228} - {513F652A-C01A-4075-80A7-FBFE1EF87C7C} = {21111658-C785-4C6F-8DD6-079763FDA775} {5E75761E-5C8B-488C-9C39-5D0E663258C5} = {2E30D87F-DC3C-4853-A755-7E3FBA2164E0} + {726E8EFD-FC6A-4104-B8FB-2D9049C748C6} = {7FF28CA1-48C0-4A95-8056-977F3469577C} EndGlobalSection GlobalSection(ExtensibilityGlobals) = postSolution SolutionGuid = {B4EDD4C4-C138-4A7C-9D15-283AC586050F} diff --git a/backend/Infrastructure/DesignTimeDbContextFactory.cs b/backend/Infrastructure/DesignTimeDbContextFactory.cs index e399849..ef86c21 100644 --- a/backend/Infrastructure/DesignTimeDbContextFactory.cs +++ b/backend/Infrastructure/DesignTimeDbContextFactory.cs @@ -5,9 +5,9 @@ using Microsoft.Extensions.Configuration; namespace Infrastructure.Data { - public class DesignTimeDbContextFactory : IDesignTimeDbContextFactory + public class DesignTimeDbContextFactory : IDesignTimeDbContextFactory { - public HealthcareManagerContext CreateDbContext(string[] args) + public HealthcareManagerDatabase CreateDbContext(string[] args) { // Adjust the path to point to the API project directory var basePath = Path.GetFullPath(Path.Combine(Directory.GetCurrentDirectory(), @"..\API")); @@ -17,12 +17,12 @@ namespace Infrastructure.Data .AddJsonFile("appsettings.json") .Build(); - var builder = new DbContextOptionsBuilder(); + var builder = new DbContextOptionsBuilder(); var connectionString = configuration.GetConnectionString("HealthcareManagerDatabase"); builder.UseNpgsql(connectionString); // Make sure this matches your database provider - return new HealthcareManagerContext(builder.Options); + return new HealthcareManagerDatabase(builder.Options); } } } diff --git a/backend/Infrastructure/HealthcareManagerContext.cs b/backend/Infrastructure/HealthcareManagerDatabase.cs similarity index 71% rename from backend/Infrastructure/HealthcareManagerContext.cs rename to backend/Infrastructure/HealthcareManagerDatabase.cs index a1b5f5b..7598577 100644 --- a/backend/Infrastructure/HealthcareManagerContext.cs +++ b/backend/Infrastructure/HealthcareManagerDatabase.cs @@ -3,9 +3,9 @@ using Microsoft.EntityFrameworkCore; namespace Infrastructure.Data { - public class HealthcareManagerContext : DbContext + public class HealthcareManagerDatabase : DbContext { - public HealthcareManagerContext(DbContextOptions options) : base(options) { } + public HealthcareManagerDatabase(DbContextOptions options) : base(options) { } public DbSet Pacients { get; set; } public DbSet MedicalHistories { get; set; } diff --git a/backend/Infrastructure/InfrastructureDI.cs b/backend/Infrastructure/InfrastructureDI.cs index 025cc9d..031e915 100644 --- a/backend/Infrastructure/InfrastructureDI.cs +++ b/backend/Infrastructure/InfrastructureDI.cs @@ -3,9 +3,9 @@ using Microsoft.Extensions.Configuration; using Microsoft.Extensions.DependencyInjection; using Infrastructure.Data; -using Infrastructure.Services.PostgreSQL; -using Application.Contracts.Database; using Infrastructure.Services.MongoDB; +using Application.Services.Database; +using Infrastructure.Services.PostgreSQL; namespace Infrastructure { @@ -13,7 +13,7 @@ namespace Infrastructure { public static IServiceCollection AddInfrastructureServices(this IServiceCollection services, IConfiguration configuration) { - services.AddDbContext(options => + services.AddDbContext(options => options.UseNpgsql(configuration.GetConnectionString("HealthcareManagerDatabase"))); diff --git a/backend/Infrastructure/Migrations/20240404131625_InitialCreate.Designer.cs b/backend/Infrastructure/Migrations/20240404131625_InitialCreate.Designer.cs index 881f2ff..20176fc 100644 --- a/backend/Infrastructure/Migrations/20240404131625_InitialCreate.Designer.cs +++ b/backend/Infrastructure/Migrations/20240404131625_InitialCreate.Designer.cs @@ -11,7 +11,7 @@ using Npgsql.EntityFrameworkCore.PostgreSQL.Metadata; namespace Infrastructure.Migrations { - [DbContext(typeof(HealthcareManagerContext))] + [DbContext(typeof(HealthcareManagerDatabase))] [Migration("20240404131625_InitialCreate")] partial class InitialCreate { diff --git a/backend/Infrastructure/Migrations/HealthcareManagerContextModelSnapshot.cs b/backend/Infrastructure/Migrations/HealthcareManagerContextModelSnapshot.cs index c8868c5..66825ca 100644 --- a/backend/Infrastructure/Migrations/HealthcareManagerContextModelSnapshot.cs +++ b/backend/Infrastructure/Migrations/HealthcareManagerContextModelSnapshot.cs @@ -10,7 +10,7 @@ using Npgsql.EntityFrameworkCore.PostgreSQL.Metadata; namespace Infrastructure.Migrations { - [DbContext(typeof(HealthcareManagerContext))] + [DbContext(typeof(HealthcareManagerDatabase))] partial class HealthcareManagerContextModelSnapshot : ModelSnapshot { protected override void BuildModel(ModelBuilder modelBuilder) diff --git a/backend/Infrastructure/Services/PostgreSQL/BasePostgreSQLRepository.cs b/backend/Infrastructure/Services/PostgreSQL/BasePostgreSQLRepository.cs index ef770c4..e80c2a3 100644 --- a/backend/Infrastructure/Services/PostgreSQL/BasePostgreSQLRepository.cs +++ b/backend/Infrastructure/Services/PostgreSQL/BasePostgreSQLRepository.cs @@ -5,9 +5,9 @@ namespace Infrastructure.Services.PostgreSQL { public class BasePostgreSQLRepository where T : class { - protected readonly HealthcareManagerContext _context; + protected readonly HealthcareManagerDatabase _context; - public BasePostgreSQLRepository(HealthcareManagerContext context) + public BasePostgreSQLRepository(HealthcareManagerDatabase context) { _context = context; } diff --git a/backend/Infrastructure/Services/PostgreSQL/DoctorRepository.cs b/backend/Infrastructure/Services/PostgreSQL/DoctorRepository.cs index 0f5bc35..dbf8451 100644 --- a/backend/Infrastructure/Services/PostgreSQL/DoctorRepository.cs +++ b/backend/Infrastructure/Services/PostgreSQL/DoctorRepository.cs @@ -1,14 +1,20 @@ -using Application.Contracts.Database; +using Application.Services.Database; using Core.Entities; using Infrastructure.Data; +using Microsoft.EntityFrameworkCore; namespace Infrastructure.Services.PostgreSQL { public class DoctorRepository : BasePostgreSQLRepository, IDoctorRepository { - public DoctorRepository(HealthcareManagerContext context) : base(context) + public DoctorRepository(HealthcareManagerDatabase context) : base(context) { } + public async Task IsDoctorExisting(string email) + { + return await _context.Doctors.AnyAsync(d => d.Email == email); + } + } } diff --git a/backend/Infrastructure/Services/PostgreSQL/MedicalHistoryRepository.cs b/backend/Infrastructure/Services/PostgreSQL/MedicalHistoryRepository.cs index dfad932..891915a 100644 --- a/backend/Infrastructure/Services/PostgreSQL/MedicalHistoryRepository.cs +++ b/backend/Infrastructure/Services/PostgreSQL/MedicalHistoryRepository.cs @@ -1,4 +1,4 @@ -using Application.Contracts.Database; +using Application.Services.Database; using Core.Entities; using Infrastructure.Data; @@ -6,7 +6,7 @@ namespace Infrastructure.Services.PostgreSQL { public class MedicalHistoryRepository : BasePostgreSQLRepository, IMedicalHistoryRepository { - public MedicalHistoryRepository(HealthcareManagerContext context) : base(context) + public MedicalHistoryRepository(HealthcareManagerDatabase context) : base(context) { } diff --git a/backend/Infrastructure/Services/PostgreSQL/PacientRepository.cs b/backend/Infrastructure/Services/PostgreSQL/PacientRepository.cs index 6880e3c..b70915c 100644 --- a/backend/Infrastructure/Services/PostgreSQL/PacientRepository.cs +++ b/backend/Infrastructure/Services/PostgreSQL/PacientRepository.cs @@ -1,4 +1,4 @@ -using Application.Contracts.Database; +using Application.Services.Database; using Core.Entities; using Infrastructure.Data; @@ -6,7 +6,7 @@ namespace Infrastructure.Services.PostgreSQL { public class PacientRepository : BasePostgreSQLRepository, IPacientRepository { - public PacientRepository(HealthcareManagerContext context) : base(context) + public PacientRepository(HealthcareManagerDatabase context) : base(context) { } diff --git a/backend/Infrastructure/bin/Debug/net8.0/Application.dll b/backend/Infrastructure/bin/Debug/net8.0/Application.dll index ea9740d..0ea3179 100644 Binary files a/backend/Infrastructure/bin/Debug/net8.0/Application.dll and b/backend/Infrastructure/bin/Debug/net8.0/Application.dll differ diff --git a/backend/Infrastructure/bin/Debug/net8.0/Application.pdb b/backend/Infrastructure/bin/Debug/net8.0/Application.pdb index bd11b4f..3ede03b 100644 Binary files a/backend/Infrastructure/bin/Debug/net8.0/Application.pdb and b/backend/Infrastructure/bin/Debug/net8.0/Application.pdb differ diff --git a/backend/Infrastructure/bin/Debug/net8.0/Infrastructure.deps.json b/backend/Infrastructure/bin/Debug/net8.0/Infrastructure.deps.json index bf813a8..3d25267 100644 --- a/backend/Infrastructure/bin/Debug/net8.0/Infrastructure.deps.json +++ b/backend/Infrastructure/bin/Debug/net8.0/Infrastructure.deps.json @@ -52,6 +52,14 @@ } } }, + "FluentValidation/11.9.0": { + "runtime": { + "lib/net8.0/FluentValidation.dll": { + "assemblyVersion": "11.0.0.0", + "fileVersion": "11.9.0.0" + } + } + }, "Humanizer.Core/2.14.1": { "runtime": { "lib/net6.0/Humanizer.dll": { @@ -798,7 +806,7 @@ }, "Application/1.0.0": { "dependencies": { - "Core": "1.0.0" + "FluentValidation": "11.9.0" }, "runtime": { "Application.dll": {} @@ -841,6 +849,13 @@ "path": "dnsclient/1.6.1", "hashPath": "dnsclient.1.6.1.nupkg.sha512" }, + "FluentValidation/11.9.0": { + "type": "package", + "serviceable": true, + "sha512": "sha512-VneVlTvwYDkfHV5av3QrQ0amALgrLX6LV94wlYyEsh0B/klJBW7C8y2eAtj5tOZ3jH6CAVpr4s1ZGgew/QWyig==", + "path": "fluentvalidation/11.9.0", + "hashPath": "fluentvalidation.11.9.0.nupkg.sha512" + }, "Humanizer.Core/2.14.1": { "type": "package", "serviceable": true, diff --git a/backend/Infrastructure/bin/Debug/net8.0/Infrastructure.dll b/backend/Infrastructure/bin/Debug/net8.0/Infrastructure.dll index 8c9931e..6fd58b0 100644 Binary files a/backend/Infrastructure/bin/Debug/net8.0/Infrastructure.dll and b/backend/Infrastructure/bin/Debug/net8.0/Infrastructure.dll differ diff --git a/backend/Infrastructure/bin/Debug/net8.0/Infrastructure.pdb b/backend/Infrastructure/bin/Debug/net8.0/Infrastructure.pdb index b6eb601..340cf44 100644 Binary files a/backend/Infrastructure/bin/Debug/net8.0/Infrastructure.pdb and b/backend/Infrastructure/bin/Debug/net8.0/Infrastructure.pdb differ diff --git a/backend/Infrastructure/obj/Debug/net8.0/Infrastructure.AssemblyInfo.cs b/backend/Infrastructure/obj/Debug/net8.0/Infrastructure.AssemblyInfo.cs index 503dfe4..6ec6b5a 100644 --- a/backend/Infrastructure/obj/Debug/net8.0/Infrastructure.AssemblyInfo.cs +++ b/backend/Infrastructure/obj/Debug/net8.0/Infrastructure.AssemblyInfo.cs @@ -14,7 +14,7 @@ using System.Reflection; [assembly: System.Reflection.AssemblyCompanyAttribute("Infrastructure")] [assembly: System.Reflection.AssemblyConfigurationAttribute("Debug")] [assembly: System.Reflection.AssemblyFileVersionAttribute("1.0.0.0")] -[assembly: System.Reflection.AssemblyInformationalVersionAttribute("1.0.0+041abb59007874167884872bc1a73e753930824b")] +[assembly: System.Reflection.AssemblyInformationalVersionAttribute("1.0.0+22f171b5600c0f2fcef2f7c927f96f78a59a27a4")] [assembly: System.Reflection.AssemblyProductAttribute("Infrastructure")] [assembly: System.Reflection.AssemblyTitleAttribute("Infrastructure")] [assembly: System.Reflection.AssemblyVersionAttribute("1.0.0.0")] diff --git a/backend/Infrastructure/obj/Debug/net8.0/Infrastructure.AssemblyInfoInputs.cache b/backend/Infrastructure/obj/Debug/net8.0/Infrastructure.AssemblyInfoInputs.cache index 5ad2c4d..b31c988 100644 --- a/backend/Infrastructure/obj/Debug/net8.0/Infrastructure.AssemblyInfoInputs.cache +++ b/backend/Infrastructure/obj/Debug/net8.0/Infrastructure.AssemblyInfoInputs.cache @@ -1 +1 @@ -37739c6936214b736dcafc37ee13becfa8bde1272044e95b35ade37b523d35cc +651445d22d5dfd399b035786f423f78d7f7aa483122ec0a10adf8c7f58d39dab diff --git a/backend/Infrastructure/obj/Debug/net8.0/Infrastructure.assets.cache b/backend/Infrastructure/obj/Debug/net8.0/Infrastructure.assets.cache index d8d0fd0..d70a05e 100644 Binary files a/backend/Infrastructure/obj/Debug/net8.0/Infrastructure.assets.cache and b/backend/Infrastructure/obj/Debug/net8.0/Infrastructure.assets.cache differ diff --git a/backend/Infrastructure/obj/Debug/net8.0/Infrastructure.csproj.AssemblyReference.cache b/backend/Infrastructure/obj/Debug/net8.0/Infrastructure.csproj.AssemblyReference.cache index 002a3f8..d6bacdc 100644 Binary files a/backend/Infrastructure/obj/Debug/net8.0/Infrastructure.csproj.AssemblyReference.cache and b/backend/Infrastructure/obj/Debug/net8.0/Infrastructure.csproj.AssemblyReference.cache differ diff --git a/backend/Infrastructure/obj/Debug/net8.0/Infrastructure.csproj.CoreCompileInputs.cache b/backend/Infrastructure/obj/Debug/net8.0/Infrastructure.csproj.CoreCompileInputs.cache index c2e2a12..45bfe53 100644 --- a/backend/Infrastructure/obj/Debug/net8.0/Infrastructure.csproj.CoreCompileInputs.cache +++ b/backend/Infrastructure/obj/Debug/net8.0/Infrastructure.csproj.CoreCompileInputs.cache @@ -1 +1 @@ -b94971108e5833d190f01f7875841746fa0330a6936eacb7b03bc117a503998d +5afb3ed7d16a2df0400eb200d8278f7eab743b937793203fe737f90a0ba6f42f diff --git a/backend/Infrastructure/obj/Debug/net8.0/Infrastructure.csproj.FileListAbsolute.txt b/backend/Infrastructure/obj/Debug/net8.0/Infrastructure.csproj.FileListAbsolute.txt index 24c1bec..e3a92fb 100644 --- a/backend/Infrastructure/obj/Debug/net8.0/Infrastructure.csproj.FileListAbsolute.txt +++ b/backend/Infrastructure/obj/Debug/net8.0/Infrastructure.csproj.FileListAbsolute.txt @@ -2,9 +2,7 @@ C:\Users\Andrei Cerbu\Documents\FACULTATE\CC-FinalProj\backend\Infrastructure\bi C:\Users\Andrei Cerbu\Documents\FACULTATE\CC-FinalProj\backend\Infrastructure\bin\Debug\net8.0\Infrastructure.runtimeconfig.json C:\Users\Andrei Cerbu\Documents\FACULTATE\CC-FinalProj\backend\Infrastructure\bin\Debug\net8.0\Infrastructure.dll C:\Users\Andrei Cerbu\Documents\FACULTATE\CC-FinalProj\backend\Infrastructure\bin\Debug\net8.0\Infrastructure.pdb -C:\Users\Andrei Cerbu\Documents\FACULTATE\CC-FinalProj\backend\Infrastructure\bin\Debug\net8.0\Application.dll C:\Users\Andrei Cerbu\Documents\FACULTATE\CC-FinalProj\backend\Infrastructure\bin\Debug\net8.0\Core.dll -C:\Users\Andrei Cerbu\Documents\FACULTATE\CC-FinalProj\backend\Infrastructure\bin\Debug\net8.0\Application.pdb C:\Users\Andrei Cerbu\Documents\FACULTATE\CC-FinalProj\backend\Infrastructure\bin\Debug\net8.0\Core.pdb C:\Users\Andrei Cerbu\Documents\FACULTATE\CC-FinalProj\backend\Infrastructure\obj\Debug\net8.0\Infrastructure.csproj.AssemblyReference.cache C:\Users\Andrei Cerbu\Documents\FACULTATE\CC-FinalProj\backend\Infrastructure\obj\Debug\net8.0\Infrastructure.GeneratedMSBuildEditorConfig.editorconfig @@ -18,3 +16,5 @@ C:\Users\Andrei Cerbu\Documents\FACULTATE\CC-FinalProj\backend\Infrastructure\ob C:\Users\Andrei Cerbu\Documents\FACULTATE\CC-FinalProj\backend\Infrastructure\obj\Debug\net8.0\Infrastructure.pdb C:\Users\Andrei Cerbu\Documents\FACULTATE\CC-FinalProj\backend\Infrastructure\obj\Debug\net8.0\Infrastructure.genruntimeconfig.cache C:\Users\Andrei Cerbu\Documents\FACULTATE\CC-FinalProj\backend\Infrastructure\obj\Debug\net8.0\ref\Infrastructure.dll +C:\Users\Andrei Cerbu\Documents\FACULTATE\CC-FinalProj\backend\Infrastructure\bin\Debug\net8.0\Application.dll +C:\Users\Andrei Cerbu\Documents\FACULTATE\CC-FinalProj\backend\Infrastructure\bin\Debug\net8.0\Application.pdb diff --git a/backend/Infrastructure/obj/Debug/net8.0/Infrastructure.dll b/backend/Infrastructure/obj/Debug/net8.0/Infrastructure.dll index 8c9931e..6fd58b0 100644 Binary files a/backend/Infrastructure/obj/Debug/net8.0/Infrastructure.dll and b/backend/Infrastructure/obj/Debug/net8.0/Infrastructure.dll differ diff --git a/backend/Infrastructure/obj/Debug/net8.0/Infrastructure.pdb b/backend/Infrastructure/obj/Debug/net8.0/Infrastructure.pdb index b6eb601..340cf44 100644 Binary files a/backend/Infrastructure/obj/Debug/net8.0/Infrastructure.pdb and b/backend/Infrastructure/obj/Debug/net8.0/Infrastructure.pdb differ diff --git a/backend/Infrastructure/obj/Debug/net8.0/Infrastructure.sourcelink.json b/backend/Infrastructure/obj/Debug/net8.0/Infrastructure.sourcelink.json index 85aea0d..755df65 100644 --- a/backend/Infrastructure/obj/Debug/net8.0/Infrastructure.sourcelink.json +++ b/backend/Infrastructure/obj/Debug/net8.0/Infrastructure.sourcelink.json @@ -1 +1 @@ -{"documents":{"C:\\Users\\Andrei Cerbu\\Documents\\FACULTATE\\CC-FinalProj\\*":"https://raw.githubusercontent.com/andrei-mihnea-cerbu/CC-FinalProj/041abb59007874167884872bc1a73e753930824b/*"}} \ No newline at end of file +{"documents":{"C:\\Users\\Andrei Cerbu\\Documents\\FACULTATE\\CC-FinalProj\\*":"https://raw.githubusercontent.com/andrei-mihnea-cerbu/CC-FinalProj/22f171b5600c0f2fcef2f7c927f96f78a59a27a4/*"}} \ No newline at end of file diff --git a/backend/Infrastructure/obj/Debug/net8.0/ref/Infrastructure.dll b/backend/Infrastructure/obj/Debug/net8.0/ref/Infrastructure.dll index b6ad61e..9d5a696 100644 Binary files a/backend/Infrastructure/obj/Debug/net8.0/ref/Infrastructure.dll and b/backend/Infrastructure/obj/Debug/net8.0/ref/Infrastructure.dll differ diff --git a/backend/Infrastructure/obj/Debug/net8.0/refint/Infrastructure.dll b/backend/Infrastructure/obj/Debug/net8.0/refint/Infrastructure.dll index b6ad61e..9d5a696 100644 Binary files a/backend/Infrastructure/obj/Debug/net8.0/refint/Infrastructure.dll and b/backend/Infrastructure/obj/Debug/net8.0/refint/Infrastructure.dll differ diff --git a/backend/Infrastructure/obj/Infrastructure.csproj.nuget.dgspec.json b/backend/Infrastructure/obj/Infrastructure.csproj.nuget.dgspec.json index 5e9e5b1..939e6bd 100644 --- a/backend/Infrastructure/obj/Infrastructure.csproj.nuget.dgspec.json +++ b/backend/Infrastructure/obj/Infrastructure.csproj.nuget.dgspec.json @@ -27,11 +27,7 @@ "frameworks": { "net8.0": { "targetAlias": "net8.0", - "projectReferences": { - "C:\\Users\\Andrei Cerbu\\Documents\\FACULTATE\\CC-FinalProj\\backend\\Core\\Core.csproj": { - "projectPath": "C:\\Users\\Andrei Cerbu\\Documents\\FACULTATE\\CC-FinalProj\\backend\\Core\\Core.csproj" - } - } + "projectReferences": {} } }, "warningProperties": { @@ -48,6 +44,12 @@ "frameworks": { "net8.0": { "targetAlias": "net8.0", + "dependencies": { + "FluentValidation": { + "target": "Package", + "version": "[11.9.0, )" + } + }, "imports": [ "net461", "net462", diff --git a/backend/Infrastructure/obj/project.assets.json b/backend/Infrastructure/obj/project.assets.json index 44afb87..2c485bc 100644 --- a/backend/Infrastructure/obj/project.assets.json +++ b/backend/Infrastructure/obj/project.assets.json @@ -47,6 +47,19 @@ } } }, + "FluentValidation/11.9.0": { + "type": "package", + "compile": { + "lib/net8.0/FluentValidation.dll": { + "related": ".xml" + } + }, + "runtime": { + "lib/net8.0/FluentValidation.dll": { + "related": ".xml" + } + } + }, "Humanizer.Core/2.14.1": { "type": "package", "compile": { @@ -1297,7 +1310,7 @@ "type": "project", "framework": ".NETCoreApp,Version=v8.0", "dependencies": { - "Core": "1.0.0" + "FluentValidation": "11.9.0" }, "compile": { "bin/placeholder/Application.dll": {} @@ -1398,6 +1411,31 @@ "lib/netstandard2.1/DnsClient.xml" ] }, + "FluentValidation/11.9.0": { + "sha512": "VneVlTvwYDkfHV5av3QrQ0amALgrLX6LV94wlYyEsh0B/klJBW7C8y2eAtj5tOZ3jH6CAVpr4s1ZGgew/QWyig==", + "type": "package", + "path": "fluentvalidation/11.9.0", + "files": [ + ".nupkg.metadata", + ".signature.p7s", + "README.md", + "fluent-validation-icon.png", + "fluentvalidation.11.9.0.nupkg.sha512", + "fluentvalidation.nuspec", + "lib/net5.0/FluentValidation.dll", + "lib/net5.0/FluentValidation.xml", + "lib/net6.0/FluentValidation.dll", + "lib/net6.0/FluentValidation.xml", + "lib/net7.0/FluentValidation.dll", + "lib/net7.0/FluentValidation.xml", + "lib/net8.0/FluentValidation.dll", + "lib/net8.0/FluentValidation.xml", + "lib/netstandard2.0/FluentValidation.dll", + "lib/netstandard2.0/FluentValidation.xml", + "lib/netstandard2.1/FluentValidation.dll", + "lib/netstandard2.1/FluentValidation.xml" + ] + }, "Humanizer.Core/2.14.1": { "sha512": "lQKvtaTDOXnoVJ20ibTuSIOf2i0uO0MPbDhd1jm238I+U/2ZnRENj0cktKZhtchBMtCUSRQ5v4xBCUbKNmyVMw==", "type": "package", diff --git a/backend/Infrastructure/obj/project.nuget.cache b/backend/Infrastructure/obj/project.nuget.cache index 5d0c274..fab3c83 100644 --- a/backend/Infrastructure/obj/project.nuget.cache +++ b/backend/Infrastructure/obj/project.nuget.cache @@ -1,12 +1,13 @@ { "version": 2, - "dgSpecHash": "QxcMSFdqhCge7YSJWNthupvu6Gj9ImaJiDgkN1zdgqCDv4a6v6pyKWwXHRUJwk3fYV/zyMMFm6HdLSRq7agAQg==", + "dgSpecHash": "cIp74UZoopWKpKZUGSD2r4TkckxyBCJujlinYrCyKBuiYdsS5e55yFPuSA+UaPQHdS11DdXiDsJZw/IZ/GGz3Q==", "success": true, "projectFilePath": "C:\\Users\\Andrei Cerbu\\Documents\\FACULTATE\\CC-FinalProj\\backend\\Infrastructure\\Infrastructure.csproj", "expectedPackageFiles": [ "C:\\Users\\Andrei Cerbu\\.nuget\\packages\\awssdk.core\\3.7.100.14\\awssdk.core.3.7.100.14.nupkg.sha512", "C:\\Users\\Andrei Cerbu\\.nuget\\packages\\awssdk.securitytoken\\3.7.100.14\\awssdk.securitytoken.3.7.100.14.nupkg.sha512", "C:\\Users\\Andrei Cerbu\\.nuget\\packages\\dnsclient\\1.6.1\\dnsclient.1.6.1.nupkg.sha512", + "C:\\Users\\Andrei Cerbu\\.nuget\\packages\\fluentvalidation\\11.9.0\\fluentvalidation.11.9.0.nupkg.sha512", "C:\\Users\\Andrei Cerbu\\.nuget\\packages\\humanizer.core\\2.14.1\\humanizer.core.2.14.1.nupkg.sha512", "C:\\Users\\Andrei Cerbu\\.nuget\\packages\\microsoft.bcl.asyncinterfaces\\6.0.0\\microsoft.bcl.asyncinterfaces.6.0.0.nupkg.sha512", "C:\\Users\\Andrei Cerbu\\.nuget\\packages\\microsoft.codeanalysis.analyzers\\3.3.3\\microsoft.codeanalysis.analyzers.3.3.3.nupkg.sha512",