API Traieste

This commit is contained in:
andrei-mihnea-cerbu
2024-04-04 19:21:03 +03:00
parent 22f171b560
commit 1206db9321
104 changed files with 359 additions and 366 deletions
Binary file not shown.
Binary file not shown.
@@ -3,12 +3,8 @@
"WorkspaceRootPath": "C:\\Users\\Andrei Cerbu\\Documents\\FACULTATE\\CC-FinalProj\\backend\\", "WorkspaceRootPath": "C:\\Users\\Andrei Cerbu\\Documents\\FACULTATE\\CC-FinalProj\\backend\\",
"Documents": [ "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}", "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:{AE742B5B-E541-4355-AD47-F36DDFF5C42E}|API\\API.csproj|solutionrelative:api\\controllers\\doctorscontroller.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}"
},
{
"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}"
} }
], ],
"DocumentGroupContainers": [ "DocumentGroupContainers": [
@@ -18,36 +14,23 @@
"DocumentGroups": [ "DocumentGroups": [
{ {
"DockedWidth": 200, "DockedWidth": 200,
"SelectedChildIndex": 2, "SelectedChildIndex": 1,
"Children": [ "Children": [
{ {
"$type": "Bookmark", "$type": "Bookmark",
"Name": "ST:0:0:{1c4feeaa-4718-4aa9-859d-94ce25d182ba}" "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", "$type": "Document",
"DocumentIndex": 0, "DocumentIndex": 0,
"Title": "DoctorsController.cs", "Title": "DoctorLoginValidation.cs",
"DocumentMoniker": "C:\\Users\\Andrei Cerbu\\Documents\\FACULTATE\\CC-FinalProj\\backend\\API\\Controllers\\DoctorsController.cs", "DocumentMoniker": "C:\\Users\\Andrei Cerbu\\Documents\\FACULTATE\\CC-FinalProj\\backend\\Application\\Endpoints\\Doctors\\Login\\DoctorLoginValidation.cs",
"RelativeDocumentMoniker": "API\\Controllers\\DoctorsController.cs", "RelativeDocumentMoniker": "Application\\Endpoints\\Doctors\\Login\\DoctorLoginValidation.cs",
"ToolTip": "C:\\Users\\Andrei Cerbu\\Documents\\FACULTATE\\CC-FinalProj\\backend\\API\\Controllers\\DoctorsController.cs", "ToolTip": "C:\\Users\\Andrei Cerbu\\Documents\\FACULTATE\\CC-FinalProj\\backend\\Application\\Endpoints\\Doctors\\Login\\DoctorLoginValidation.cs",
"RelativeToolTip": "API\\Controllers\\DoctorsController.cs", "RelativeToolTip": "Application\\Endpoints\\Doctors\\Login\\DoctorLoginValidation.cs",
"ViewState": "AQIAAA4AAAAAAAAAAAAAwCIAAAAJAAAA", "ViewState": "AQIAAAAAAAAAAAAAAAAAAAIAAAAdAAAA",
"Icon": "ae27a6b0-e345-4288-96df-5eaf394ee369.000738|", "Icon": "ae27a6b0-e345-4288-96df-5eaf394ee369.000738|",
"WhenOpened": "2024-04-04T14:45:23.612Z", "WhenOpened": "2024-04-04T16:14:25.923Z",
"EditorCaption": "" "EditorCaption": ""
} }
] ]
+16 -10
View File
@@ -1,9 +1,7 @@
using System; using Microsoft.AspNetCore.Mvc;
using System.Threading.Tasks;
using Microsoft.AspNetCore.Mvc;
using Microsoft.EntityFrameworkCore;
using Infrastructure.Data;
using Core.Entities; using Core.Entities;
using Application.Endpoints.Doctors.Login;
using Application.Services.Database;
namespace HealthcareManager.API.Controllers namespace HealthcareManager.API.Controllers
{ {
@@ -11,11 +9,11 @@ namespace HealthcareManager.API.Controllers
[Route("api/[controller]")] [Route("api/[controller]")]
public class DoctorsController : ControllerBase 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}")] [HttpGet("{id}")]
@@ -25,9 +23,17 @@ namespace HealthcareManager.API.Controllers
} }
[HttpPost] [HttpPost]
public async Task<ActionResult<Doctor>> PostDoctor(Doctor doctor) public async Task<ActionResult<Doctor>> 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}")] [HttpPut("{id}")]
+2 -2
View File
@@ -28,13 +28,13 @@ app.MapControllers();
using (var scope = app.Services.CreateScope()) using (var scope = app.Services.CreateScope())
{ {
var services = scope.ServiceProvider; var services = scope.ServiceProvider;
var dbContext = services.GetRequiredService<HealthcareManagerContext>(); // Directly resolving your DbContext var dbContext = services.GetRequiredService<HealthcareManagerDatabase>(); // Directly resolving your DbContext
EnsureDatabaseCreated(dbContext); EnsureDatabaseCreated(dbContext);
} }
app.Run(); app.Run();
static void EnsureDatabaseCreated(HealthcareManagerContext dbContext) static void EnsureDatabaseCreated(HealthcareManagerDatabase dbContext)
{ {
// Checking for pending migrations is more efficient than applying migrations unconditionally // Checking for pending migrations is more efficient than applying migrations unconditionally
if (dbContext.Database.GetPendingMigrations().Any()) if (dbContext.Database.GetPendingMigrations().Any())
+16 -1
View File
@@ -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": { "Microsoft.EntityFrameworkCore/8.0.3": {
"dependencies": { "dependencies": {
"Microsoft.EntityFrameworkCore.Abstractions": "8.0.3", "Microsoft.EntityFrameworkCore.Abstractions": "8.0.3",
@@ -367,7 +375,7 @@
}, },
"Application/1.0.0": { "Application/1.0.0": {
"dependencies": { "dependencies": {
"Core": "1.0.0" "FluentValidation": "11.9.0"
}, },
"runtime": { "runtime": {
"Application.dll": {} "Application.dll": {}
@@ -425,6 +433,13 @@
"path": "dnsclient/1.6.1", "path": "dnsclient/1.6.1",
"hashPath": "dnsclient.1.6.1.nupkg.sha512" "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": { "Microsoft.EntityFrameworkCore/8.0.3": {
"type": "package", "type": "package",
"serviceable": true, "serviceable": true,
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
+7 -5
View File
@@ -103,11 +103,7 @@
"frameworks": { "frameworks": {
"net8.0": { "net8.0": {
"targetAlias": "net8.0", "targetAlias": "net8.0",
"projectReferences": { "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": { "warningProperties": {
@@ -124,6 +120,12 @@
"frameworks": { "frameworks": {
"net8.0": { "net8.0": {
"targetAlias": "net8.0", "targetAlias": "net8.0",
"dependencies": {
"FluentValidation": {
"target": "Package",
"version": "[11.9.0, )"
}
},
"imports": [ "imports": [
"net461", "net461",
"net462", "net462",
@@ -14,7 +14,7 @@ using System.Reflection;
[assembly: System.Reflection.AssemblyCompanyAttribute("API")] [assembly: System.Reflection.AssemblyCompanyAttribute("API")]
[assembly: System.Reflection.AssemblyConfigurationAttribute("Debug")] [assembly: System.Reflection.AssemblyConfigurationAttribute("Debug")]
[assembly: System.Reflection.AssemblyFileVersionAttribute("1.0.0.0")] [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.AssemblyProductAttribute("API")]
[assembly: System.Reflection.AssemblyTitleAttribute("API")] [assembly: System.Reflection.AssemblyTitleAttribute("API")]
[assembly: System.Reflection.AssemblyVersionAttribute("1.0.0.0")] [assembly: System.Reflection.AssemblyVersionAttribute("1.0.0.0")]
@@ -1 +1 @@
c1b3efba5e30e064f696242b7a7b9581636fa9df6b695c893c47a18e71a82313 3fb6d13e7b959d2a75e5b49727917d1360eaac6268eb218b39eaf9332a168329
Binary file not shown.
@@ -1 +1 @@
207814169de56165806bf70065da089115ed45a84b56b1987cb76592e92957c0 86f413f204b6bbdb2571f35c8208d17a18ef4d7252c53266660048227508f093
@@ -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.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.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\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\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\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\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\bin\Debug\net8.0\Core.pdb
C:\Users\Andrei Cerbu\Documents\FACULTATE\CC-FinalProj\backend\API\obj\Debug\net8.0\API.csproj.AssemblyReference.cache 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\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\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\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
Binary file not shown.
Binary file not shown.
@@ -1 +1 @@
{"documents":{"C:\\Users\\Andrei Cerbu\\Documents\\FACULTATE\\CC-FinalProj\\*":"https://raw.githubusercontent.com/andrei-mihnea-cerbu/CC-FinalProj/041abb59007874167884872bc1a73e753930824b/*"}} {"documents":{"C:\\Users\\Andrei Cerbu\\Documents\\FACULTATE\\CC-FinalProj\\*":"https://raw.githubusercontent.com/andrei-mihnea-cerbu/CC-FinalProj/22f171b5600c0f2fcef2f7c927f96f78a59a27a4/*"}}
Binary file not shown.
Binary file not shown.
Binary file not shown.
+39 -1
View File
@@ -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": { "Microsoft.EntityFrameworkCore/8.0.3": {
"type": "package", "type": "package",
"dependencies": { "dependencies": {
@@ -844,7 +857,7 @@
"type": "project", "type": "project",
"framework": ".NETCoreApp,Version=v8.0", "framework": ".NETCoreApp,Version=v8.0",
"dependencies": { "dependencies": {
"Core": "1.0.0" "FluentValidation": "11.9.0"
}, },
"compile": { "compile": {
"bin/placeholder/Application.dll": {} "bin/placeholder/Application.dll": {}
@@ -965,6 +978,31 @@
"lib/netstandard2.1/DnsClient.xml" "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": { "Microsoft.EntityFrameworkCore/8.0.3": {
"sha512": "QUPQbeq4yCjgIL/6PzkhfwhljXmai3CNOsErWFJ/WJ1Z41V8+At0Bi4PT8/2pX25kPgf83g0CUKIZd0QbeKT4A==", "sha512": "QUPQbeq4yCjgIL/6PzkhfwhljXmai3CNOsErWFJ/WJ1Z41V8+At0Bi4PT8/2pX25kPgf83g0CUKIZd0QbeKT4A==",
"type": "package", "type": "package",
+2 -1
View File
@@ -1,12 +1,13 @@
{ {
"version": 2, "version": 2,
"dgSpecHash": "+Eo3ZlVadsh0g5psDAeY3ENyxpEyjMxHkip+uq7b97ZgVc5Me7Ppg9PPAgVp4tu3qiHCCwLc+HCJkXjapcyV1w==", "dgSpecHash": "dVAkg1LDfFAQCVAzH3Iq8cH7RsYPVxlIIVBGC3uX42Jb0TpaBL8XV3mfJaWQObtkI2P97JwR5Lqi19zLWR0gTw==",
"success": true, "success": true,
"projectFilePath": "C:\\Users\\Andrei Cerbu\\Documents\\FACULTATE\\CC-FinalProj\\backend\\API\\API.csproj", "projectFilePath": "C:\\Users\\Andrei Cerbu\\Documents\\FACULTATE\\CC-FinalProj\\backend\\API\\API.csproj",
"expectedPackageFiles": [ "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.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\\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\\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\\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.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", "C:\\Users\\Andrei Cerbu\\.nuget\\packages\\microsoft.entityframeworkcore.analyzers\\8.0.3\\microsoft.entityframeworkcore.analyzers.8.0.3.nupkg.sha512",
+1 -8
View File
@@ -7,14 +7,7 @@
</PropertyGroup> </PropertyGroup>
<ItemGroup> <ItemGroup>
<Folder Include="Endpoints\Chat\" /> <PackageReference Include="FluentValidation" Version="11.9.0" />
<Folder Include="Endpoints\MedicalHistory\" />
<Folder Include="Endpoints\Doctors\" />
<Folder Include="Endpoints\Pacients\" />
</ItemGroup>
<ItemGroup>
<ProjectReference Include="..\Core\Core.csproj" />
</ItemGroup> </ItemGroup>
</Project> </Project>
@@ -1,8 +0,0 @@
using Core.Entities;
namespace Application.Contracts.Database
{
public interface IConversationRepository
{
}
}
@@ -1,6 +0,0 @@
namespace Application.Contracts.Database
{
public interface IDoctorRepository
{
}
}
@@ -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; }
}
}
@@ -0,0 +1,8 @@
namespace Application.Endpoints.Doctors.Login
{
public class DoctorLoginDTO
{
public string? Email { get; set; }
public string? Password { get; set; }
}
}
@@ -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<BaseResponse> 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
};
}
}
}
@@ -0,0 +1,30 @@
using Application.Services.Database;
using FluentValidation;
using System.Threading.Tasks;
namespace Application.Endpoints.Doctors.Login
{
public class DoctorLoginValidation : AbstractValidator<DoctorLoginDTO>
{
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<bool> BeExistingDoctor(string email, System.Threading.CancellationToken cancellationToken)
{
return await _doctorRepository.IsDoctorExisting(email);
}
}
}
@@ -0,0 +1,6 @@
namespace Application.Services.Database
{
public interface IConversationRepository
{
}
}
@@ -0,0 +1,7 @@
namespace Application.Services.Database
{
public interface IDoctorRepository
{
Task<bool> IsDoctorExisting(string email);
}
}
@@ -1,4 +1,4 @@
namespace Application.Contracts.Database namespace Application.Services.Database
{ {
public interface IMedicalHistoryRepository public interface IMedicalHistoryRepository
{ {
@@ -1,4 +1,4 @@
namespace Application.Contracts.Database namespace Application.Services.Database
{ {
public interface IPacientRepository public interface IPacientRepository
{ {
@@ -8,33 +8,19 @@
".NETCoreApp,Version=v8.0": { ".NETCoreApp,Version=v8.0": {
"Application/1.0.0": { "Application/1.0.0": {
"dependencies": { "dependencies": {
"Core": "1.0.0" "FluentValidation": "11.9.0"
}, },
"runtime": { "runtime": {
"Application.dll": {} "Application.dll": {}
} }
}, },
"MongoDB.Bson/2.24.0": { "FluentValidation/11.9.0": {
"dependencies": {
"System.Memory": "4.5.5",
"System.Runtime.CompilerServices.Unsafe": "5.0.0"
},
"runtime": { "runtime": {
"lib/netstandard2.1/MongoDB.Bson.dll": { "lib/net8.0/FluentValidation.dll": {
"assemblyVersion": "2.24.0.0", "assemblyVersion": "11.0.0.0",
"fileVersion": "2.24.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, "serviceable": false,
"sha512": "" "sha512": ""
}, },
"MongoDB.Bson/2.24.0": { "FluentValidation/11.9.0": {
"type": "package", "type": "package",
"serviceable": true, "serviceable": true,
"sha512": "sha512-n8CWaA4iTuoEQYv0+FSKNTX/hJozFQa5EgSILVNPhTGHcrbABHhpVrT1NwRRAAS6sUb8ZyhHmLPBa88LJemptA==", "sha512": "sha512-VneVlTvwYDkfHV5av3QrQ0amALgrLX6LV94wlYyEsh0B/klJBW7C8y2eAtj5tOZ3jH6CAVpr4s1ZGgew/QWyig==",
"path": "mongodb.bson/2.24.0", "path": "fluentvalidation/11.9.0",
"hashPath": "mongodb.bson.2.24.0.nupkg.sha512" "hashPath": "fluentvalidation.11.9.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": ""
} }
} }
} }
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
@@ -24,70 +24,6 @@
"C:\\Program Files (x86)\\Microsoft SDKs\\NuGetPackages\\": {}, "C:\\Program Files (x86)\\Microsoft SDKs\\NuGetPackages\\": {},
"https://api.nuget.org/v3/index.json": {} "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": { "frameworks": {
"net8.0": { "net8.0": {
"targetAlias": "net8.0", "targetAlias": "net8.0",
@@ -109,9 +45,9 @@
"net8.0": { "net8.0": {
"targetAlias": "net8.0", "targetAlias": "net8.0",
"dependencies": { "dependencies": {
"MongoDB.Bson": { "FluentValidation": {
"target": "Package", "target": "Package",
"version": "[2.24.0, )" "version": "[11.9.0, )"
} }
}, },
"imports": [ "imports": [
@@ -14,7 +14,7 @@ using System.Reflection;
[assembly: System.Reflection.AssemblyCompanyAttribute("Application")] [assembly: System.Reflection.AssemblyCompanyAttribute("Application")]
[assembly: System.Reflection.AssemblyConfigurationAttribute("Debug")] [assembly: System.Reflection.AssemblyConfigurationAttribute("Debug")]
[assembly: System.Reflection.AssemblyFileVersionAttribute("1.0.0.0")] [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.AssemblyProductAttribute("Application")]
[assembly: System.Reflection.AssemblyTitleAttribute("Application")] [assembly: System.Reflection.AssemblyTitleAttribute("Application")]
[assembly: System.Reflection.AssemblyVersionAttribute("1.0.0.0")] [assembly: System.Reflection.AssemblyVersionAttribute("1.0.0.0")]
@@ -1 +1 @@
46998ebb81250ee993485416df0909c7143f7792f50aff695b3f5ff97784825e ef3adc4b3323bf29b92f7848e712ac6c253cbb3465d61f97b1a82fd097090057
@@ -1 +1 @@
0baff5b0c00698cb3bddd23ea11ac67e94bd893e783b855ba6975a15613aa20b e62e961dcbbbdb298dbb177e9f1605ac5651cf25ce346fbf2dad3942dc43b387
@@ -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.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.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.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.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\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\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\refint\Application.dll
C:\Users\Andrei Cerbu\Documents\FACULTATE\CC-FinalProj\backend\Application\obj\Debug\net8.0\Application.pdb C:\Users\Andrei Cerbu\Documents\FACULTATE\CC-FinalProj\backend\Application\obj\Debug\net8.0\Application.pdb
Binary file not shown.
Binary file not shown.
@@ -1 +1 @@
{"documents":{"C:\\Users\\Andrei Cerbu\\Documents\\FACULTATE\\CC-FinalProj\\*":"https://raw.githubusercontent.com/andrei-mihnea-cerbu/CC-FinalProj/041abb59007874167884872bc1a73e753930824b/*"}} {"documents":{"C:\\Users\\Andrei Cerbu\\Documents\\FACULTATE\\CC-FinalProj\\*":"https://raw.githubusercontent.com/andrei-mihnea-cerbu/CC-FinalProj/22f171b5600c0f2fcef2f7c927f96f78a59a27a4/*"}}
+30 -121
View File
@@ -2,144 +2,51 @@
"version": 3, "version": 3,
"targets": { "targets": {
"net8.0": { "net8.0": {
"MongoDB.Bson/2.24.0": { "FluentValidation/11.9.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": {
"type": "package", "type": "package",
"compile": { "compile": {
"ref/netcoreapp2.1/_._": {} "lib/net8.0/FluentValidation.dll": {
},
"runtime": {
"lib/netcoreapp2.1/_._": {}
}
},
"System.Runtime.CompilerServices.Unsafe/5.0.0": {
"type": "package",
"compile": {
"ref/netstandard2.1/System.Runtime.CompilerServices.Unsafe.dll": {
"related": ".xml" "related": ".xml"
} }
}, },
"runtime": { "runtime": {
"lib/netcoreapp2.0/System.Runtime.CompilerServices.Unsafe.dll": { "lib/net8.0/FluentValidation.dll": {
"related": ".xml" "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": { "libraries": {
"MongoDB.Bson/2.24.0": { "FluentValidation/11.9.0": {
"sha512": "n8CWaA4iTuoEQYv0+FSKNTX/hJozFQa5EgSILVNPhTGHcrbABHhpVrT1NwRRAAS6sUb8ZyhHmLPBa88LJemptA==", "sha512": "VneVlTvwYDkfHV5av3QrQ0amALgrLX6LV94wlYyEsh0B/klJBW7C8y2eAtj5tOZ3jH6CAVpr4s1ZGgew/QWyig==",
"type": "package", "type": "package",
"path": "mongodb.bson/2.24.0", "path": "fluentvalidation/11.9.0",
"files": [ "files": [
".nupkg.metadata", ".nupkg.metadata",
".signature.p7s", ".signature.p7s",
"LICENSE.md", "README.md",
"lib/net472/MongoDB.Bson.dll", "fluent-validation-icon.png",
"lib/net472/MongoDB.Bson.xml", "fluentvalidation.11.9.0.nupkg.sha512",
"lib/netstandard2.0/MongoDB.Bson.dll", "fluentvalidation.nuspec",
"lib/netstandard2.0/MongoDB.Bson.xml", "lib/net5.0/FluentValidation.dll",
"lib/netstandard2.1/MongoDB.Bson.dll", "lib/net5.0/FluentValidation.xml",
"lib/netstandard2.1/MongoDB.Bson.xml", "lib/net6.0/FluentValidation.dll",
"mongodb.bson.2.24.0.nupkg.sha512", "lib/net6.0/FluentValidation.xml",
"mongodb.bson.nuspec", "lib/net7.0/FluentValidation.dll",
"packageIcon.png" "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": { "projectFileDependencyGroups": {
"net8.0": [ "net8.0": [
"Core >= 1.0.0" "FluentValidation >= 11.9.0"
] ]
}, },
"packageFolders": { "packageFolders": {
@@ -168,11 +75,7 @@
"frameworks": { "frameworks": {
"net8.0": { "net8.0": {
"targetAlias": "net8.0", "targetAlias": "net8.0",
"projectReferences": { "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": { "warningProperties": {
@@ -189,6 +92,12 @@
"frameworks": { "frameworks": {
"net8.0": { "net8.0": {
"targetAlias": "net8.0", "targetAlias": "net8.0",
"dependencies": {
"FluentValidation": {
"target": "Package",
"version": "[11.9.0, )"
}
},
"imports": [ "imports": [
"net461", "net461",
"net462", "net462",
+2 -4
View File
@@ -1,12 +1,10 @@
{ {
"version": 2, "version": 2,
"dgSpecHash": "/Nvfi+nbQtMHVdhP73amZPlhgGbKCShznaf20Qy8tcaEaX5iC3bWAxzDzWwQr6A7MjYisEXLzsQl9SC0GV5JcA==", "dgSpecHash": "kDc083K6qMrDLCVeOJ9DuILYrf/AP3owIBIRxiyDRQz9yRIDKVbxrCbVBAIi79Pb4cXkOYdSYtBCvpHN76uuPw==",
"success": true, "success": true,
"projectFilePath": "C:\\Users\\Andrei Cerbu\\Documents\\FACULTATE\\CC-FinalProj\\backend\\Application\\Application.csproj", "projectFilePath": "C:\\Users\\Andrei Cerbu\\Documents\\FACULTATE\\CC-FinalProj\\backend\\Application\\Application.csproj",
"expectedPackageFiles": [ "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\\fluentvalidation\\11.9.0\\fluentvalidation.11.9.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"
], ],
"logs": [] "logs": []
} }
@@ -14,7 +14,7 @@ using System.Reflection;
[assembly: System.Reflection.AssemblyCompanyAttribute("Core")] [assembly: System.Reflection.AssemblyCompanyAttribute("Core")]
[assembly: System.Reflection.AssemblyConfigurationAttribute("Debug")] [assembly: System.Reflection.AssemblyConfigurationAttribute("Debug")]
[assembly: System.Reflection.AssemblyFileVersionAttribute("1.0.0.0")] [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.AssemblyProductAttribute("Core")]
[assembly: System.Reflection.AssemblyTitleAttribute("Core")] [assembly: System.Reflection.AssemblyTitleAttribute("Core")]
[assembly: System.Reflection.AssemblyVersionAttribute("1.0.0.0")] [assembly: System.Reflection.AssemblyVersionAttribute("1.0.0.0")]
@@ -1 +1 @@
ed739afb4fb061e7094413d9318e55a13cfff1971df23fcf0d5192574ebdf696 bac2bb723945b9a9bff516a7fd3101b8cfe056dc4b552ab165770ec7b207a266
+10 -10
View File
@@ -7,17 +7,17 @@ Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "HealthcareManager.API", "He
EndProject EndProject
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "API", "API\API.csproj", "{AE742B5B-E541-4355-AD47-F36DDFF5C42E}" Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "API", "API\API.csproj", "{AE742B5B-E541-4355-AD47-F36DDFF5C42E}"
EndProject 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}" Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "HealthcareManager.Core", "HealthcareManager.Core", "{0FDD5484-B105-4B18-8C8B-A79B5D3A0228}"
EndProject EndProject
Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "HealthcareManager.Infrastructure", "HealthcareManager.Infrastructure", "{2E30D87F-DC3C-4853-A755-7E3FBA2164E0}" Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "HealthcareManager.Infrastructure", "HealthcareManager.Infrastructure", "{2E30D87F-DC3C-4853-A755-7E3FBA2164E0}"
EndProject 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 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 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 EndProject
Global Global
GlobalSection(SolutionConfigurationPlatforms) = preSolution 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}.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.ActiveCfg = Release|Any CPU
{1158DC66-C8F1-4962-B294-1C4C86EE8A82}.Release|Any CPU.Build.0 = 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.ActiveCfg = Debug|Any CPU
{5E75761E-5C8B-488C-9C39-5D0E663258C5}.Debug|Any CPU.Build.0 = 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.ActiveCfg = Release|Any CPU
{5E75761E-5C8B-488C-9C39-5D0E663258C5}.Release|Any CPU.Build.0 = 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 EndGlobalSection
GlobalSection(SolutionProperties) = preSolution GlobalSection(SolutionProperties) = preSolution
HideSolutionNode = FALSE HideSolutionNode = FALSE
@@ -48,8 +48,8 @@ Global
GlobalSection(NestedProjects) = preSolution GlobalSection(NestedProjects) = preSolution
{AE742B5B-E541-4355-AD47-F36DDFF5C42E} = {F1846AEC-7080-447F-BC7E-4DB4CFDD0B9D} {AE742B5B-E541-4355-AD47-F36DDFF5C42E} = {F1846AEC-7080-447F-BC7E-4DB4CFDD0B9D}
{1158DC66-C8F1-4962-B294-1C4C86EE8A82} = {0FDD5484-B105-4B18-8C8B-A79B5D3A0228} {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} {5E75761E-5C8B-488C-9C39-5D0E663258C5} = {2E30D87F-DC3C-4853-A755-7E3FBA2164E0}
{726E8EFD-FC6A-4104-B8FB-2D9049C748C6} = {7FF28CA1-48C0-4A95-8056-977F3469577C}
EndGlobalSection EndGlobalSection
GlobalSection(ExtensibilityGlobals) = postSolution GlobalSection(ExtensibilityGlobals) = postSolution
SolutionGuid = {B4EDD4C4-C138-4A7C-9D15-283AC586050F} SolutionGuid = {B4EDD4C4-C138-4A7C-9D15-283AC586050F}
@@ -5,9 +5,9 @@ using Microsoft.Extensions.Configuration;
namespace Infrastructure.Data namespace Infrastructure.Data
{ {
public class DesignTimeDbContextFactory : IDesignTimeDbContextFactory<HealthcareManagerContext> public class DesignTimeDbContextFactory : IDesignTimeDbContextFactory<HealthcareManagerDatabase>
{ {
public HealthcareManagerContext CreateDbContext(string[] args) public HealthcareManagerDatabase CreateDbContext(string[] args)
{ {
// Adjust the path to point to the API project directory // Adjust the path to point to the API project directory
var basePath = Path.GetFullPath(Path.Combine(Directory.GetCurrentDirectory(), @"..\API")); var basePath = Path.GetFullPath(Path.Combine(Directory.GetCurrentDirectory(), @"..\API"));
@@ -17,12 +17,12 @@ namespace Infrastructure.Data
.AddJsonFile("appsettings.json") .AddJsonFile("appsettings.json")
.Build(); .Build();
var builder = new DbContextOptionsBuilder<HealthcareManagerContext>(); var builder = new DbContextOptionsBuilder<HealthcareManagerDatabase>();
var connectionString = configuration.GetConnectionString("HealthcareManagerDatabase"); var connectionString = configuration.GetConnectionString("HealthcareManagerDatabase");
builder.UseNpgsql(connectionString); // Make sure this matches your database provider builder.UseNpgsql(connectionString); // Make sure this matches your database provider
return new HealthcareManagerContext(builder.Options); return new HealthcareManagerDatabase(builder.Options);
} }
} }
} }
@@ -3,9 +3,9 @@ using Microsoft.EntityFrameworkCore;
namespace Infrastructure.Data namespace Infrastructure.Data
{ {
public class HealthcareManagerContext : DbContext public class HealthcareManagerDatabase : DbContext
{ {
public HealthcareManagerContext(DbContextOptions<HealthcareManagerContext> options) : base(options) { } public HealthcareManagerDatabase(DbContextOptions<HealthcareManagerDatabase> options) : base(options) { }
public DbSet<Pacient> Pacients { get; set; } public DbSet<Pacient> Pacients { get; set; }
public DbSet<MedicalHistory> MedicalHistories { get; set; } public DbSet<MedicalHistory> MedicalHistories { get; set; }
+3 -3
View File
@@ -3,9 +3,9 @@ using Microsoft.Extensions.Configuration;
using Microsoft.Extensions.DependencyInjection; using Microsoft.Extensions.DependencyInjection;
using Infrastructure.Data; using Infrastructure.Data;
using Infrastructure.Services.PostgreSQL;
using Application.Contracts.Database;
using Infrastructure.Services.MongoDB; using Infrastructure.Services.MongoDB;
using Application.Services.Database;
using Infrastructure.Services.PostgreSQL;
namespace Infrastructure namespace Infrastructure
{ {
@@ -13,7 +13,7 @@ namespace Infrastructure
{ {
public static IServiceCollection AddInfrastructureServices(this IServiceCollection services, IConfiguration configuration) public static IServiceCollection AddInfrastructureServices(this IServiceCollection services, IConfiguration configuration)
{ {
services.AddDbContext<HealthcareManagerContext>(options => services.AddDbContext<HealthcareManagerDatabase>(options =>
options.UseNpgsql(configuration.GetConnectionString("HealthcareManagerDatabase"))); options.UseNpgsql(configuration.GetConnectionString("HealthcareManagerDatabase")));
@@ -11,7 +11,7 @@ using Npgsql.EntityFrameworkCore.PostgreSQL.Metadata;
namespace Infrastructure.Migrations namespace Infrastructure.Migrations
{ {
[DbContext(typeof(HealthcareManagerContext))] [DbContext(typeof(HealthcareManagerDatabase))]
[Migration("20240404131625_InitialCreate")] [Migration("20240404131625_InitialCreate")]
partial class InitialCreate partial class InitialCreate
{ {
@@ -10,7 +10,7 @@ using Npgsql.EntityFrameworkCore.PostgreSQL.Metadata;
namespace Infrastructure.Migrations namespace Infrastructure.Migrations
{ {
[DbContext(typeof(HealthcareManagerContext))] [DbContext(typeof(HealthcareManagerDatabase))]
partial class HealthcareManagerContextModelSnapshot : ModelSnapshot partial class HealthcareManagerContextModelSnapshot : ModelSnapshot
{ {
protected override void BuildModel(ModelBuilder modelBuilder) protected override void BuildModel(ModelBuilder modelBuilder)
@@ -5,9 +5,9 @@ namespace Infrastructure.Services.PostgreSQL
{ {
public class BasePostgreSQLRepository<T> where T : class public class BasePostgreSQLRepository<T> where T : class
{ {
protected readonly HealthcareManagerContext _context; protected readonly HealthcareManagerDatabase _context;
public BasePostgreSQLRepository(HealthcareManagerContext context) public BasePostgreSQLRepository(HealthcareManagerDatabase context)
{ {
_context = context; _context = context;
} }
@@ -1,14 +1,20 @@
using Application.Contracts.Database; using Application.Services.Database;
using Core.Entities; using Core.Entities;
using Infrastructure.Data; using Infrastructure.Data;
using Microsoft.EntityFrameworkCore;
namespace Infrastructure.Services.PostgreSQL namespace Infrastructure.Services.PostgreSQL
{ {
public class DoctorRepository : BasePostgreSQLRepository<Doctor>, IDoctorRepository public class DoctorRepository : BasePostgreSQLRepository<Doctor>, IDoctorRepository
{ {
public DoctorRepository(HealthcareManagerContext context) : base(context) public DoctorRepository(HealthcareManagerDatabase context) : base(context)
{ {
} }
public async Task<bool> IsDoctorExisting(string email)
{
return await _context.Doctors.AnyAsync(d => d.Email == email);
}
} }
} }
@@ -1,4 +1,4 @@
using Application.Contracts.Database; using Application.Services.Database;
using Core.Entities; using Core.Entities;
using Infrastructure.Data; using Infrastructure.Data;
@@ -6,7 +6,7 @@ namespace Infrastructure.Services.PostgreSQL
{ {
public class MedicalHistoryRepository : BasePostgreSQLRepository<MedicalHistory>, IMedicalHistoryRepository public class MedicalHistoryRepository : BasePostgreSQLRepository<MedicalHistory>, IMedicalHistoryRepository
{ {
public MedicalHistoryRepository(HealthcareManagerContext context) : base(context) public MedicalHistoryRepository(HealthcareManagerDatabase context) : base(context)
{ {
} }
@@ -1,4 +1,4 @@
using Application.Contracts.Database; using Application.Services.Database;
using Core.Entities; using Core.Entities;
using Infrastructure.Data; using Infrastructure.Data;
@@ -6,7 +6,7 @@ namespace Infrastructure.Services.PostgreSQL
{ {
public class PacientRepository : BasePostgreSQLRepository<Pacient>, IPacientRepository public class PacientRepository : BasePostgreSQLRepository<Pacient>, IPacientRepository
{ {
public PacientRepository(HealthcareManagerContext context) : base(context) public PacientRepository(HealthcareManagerDatabase context) : base(context)
{ {
} }
@@ -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": { "Humanizer.Core/2.14.1": {
"runtime": { "runtime": {
"lib/net6.0/Humanizer.dll": { "lib/net6.0/Humanizer.dll": {
@@ -798,7 +806,7 @@
}, },
"Application/1.0.0": { "Application/1.0.0": {
"dependencies": { "dependencies": {
"Core": "1.0.0" "FluentValidation": "11.9.0"
}, },
"runtime": { "runtime": {
"Application.dll": {} "Application.dll": {}
@@ -841,6 +849,13 @@
"path": "dnsclient/1.6.1", "path": "dnsclient/1.6.1",
"hashPath": "dnsclient.1.6.1.nupkg.sha512" "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": { "Humanizer.Core/2.14.1": {
"type": "package", "type": "package",
"serviceable": true, "serviceable": true,
@@ -14,7 +14,7 @@ using System.Reflection;
[assembly: System.Reflection.AssemblyCompanyAttribute("Infrastructure")] [assembly: System.Reflection.AssemblyCompanyAttribute("Infrastructure")]
[assembly: System.Reflection.AssemblyConfigurationAttribute("Debug")] [assembly: System.Reflection.AssemblyConfigurationAttribute("Debug")]
[assembly: System.Reflection.AssemblyFileVersionAttribute("1.0.0.0")] [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.AssemblyProductAttribute("Infrastructure")]
[assembly: System.Reflection.AssemblyTitleAttribute("Infrastructure")] [assembly: System.Reflection.AssemblyTitleAttribute("Infrastructure")]
[assembly: System.Reflection.AssemblyVersionAttribute("1.0.0.0")] [assembly: System.Reflection.AssemblyVersionAttribute("1.0.0.0")]
@@ -1 +1 @@
37739c6936214b736dcafc37ee13becfa8bde1272044e95b35ade37b523d35cc 651445d22d5dfd399b035786f423f78d7f7aa483122ec0a10adf8c7f58d39dab
@@ -1 +1 @@
b94971108e5833d190f01f7875841746fa0330a6936eacb7b03bc117a503998d 5afb3ed7d16a2df0400eb200d8278f7eab743b937793203fe737f90a0ba6f42f
@@ -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.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.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\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\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\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.csproj.AssemblyReference.cache
C:\Users\Andrei Cerbu\Documents\FACULTATE\CC-FinalProj\backend\Infrastructure\obj\Debug\net8.0\Infrastructure.GeneratedMSBuildEditorConfig.editorconfig 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.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\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\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
@@ -1 +1 @@
{"documents":{"C:\\Users\\Andrei Cerbu\\Documents\\FACULTATE\\CC-FinalProj\\*":"https://raw.githubusercontent.com/andrei-mihnea-cerbu/CC-FinalProj/041abb59007874167884872bc1a73e753930824b/*"}} {"documents":{"C:\\Users\\Andrei Cerbu\\Documents\\FACULTATE\\CC-FinalProj\\*":"https://raw.githubusercontent.com/andrei-mihnea-cerbu/CC-FinalProj/22f171b5600c0f2fcef2f7c927f96f78a59a27a4/*"}}

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