Commit bb976d30 authored by hasan khaddour's avatar hasan khaddour

update messi

parent 789086ab
...@@ -5,13 +5,13 @@ ...@@ -5,13 +5,13 @@
</PropertyGroup> </PropertyGroup>
<ItemGroup> <ItemGroup>
<PackageReference Include="AutoMapper.Extensions.Microsoft.DependencyInjection" Version="5.0.1" />
<PackageReference Include="Microsoft.AspNetCore.Identity.EntityFrameworkCore" Version="5.0.17" /> <PackageReference Include="Microsoft.AspNetCore.Identity.EntityFrameworkCore" Version="5.0.17" />
<PackageReference Include="Microsoft.EntityFrameworkCore.Design" Version="5.0.17"> <PackageReference Include="Microsoft.EntityFrameworkCore.Design" Version="5.0.17">
<PrivateAssets>all</PrivateAssets> <PrivateAssets>all</PrivateAssets>
<IncludeAssets>runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets> <IncludeAssets>runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets>
</PackageReference> </PackageReference>
<PackageReference Include="Microsoft.EntityFrameworkCore.SqlServer" Version="5.0.17" /> <PackageReference Include="Microsoft.EntityFrameworkCore.SqlServer" Version="5.0.17" />
<PackageReference Include="AutoMapper" Version="5.2.0" />
<PackageReference Include="Microsoft.EntityFrameworkCore.Tools" Version="5.0.17"> <PackageReference Include="Microsoft.EntityFrameworkCore.Tools" Version="5.0.17">
......
using ; using ApplicationCore.ViewModel;
using ApplicationDomain.Entities;
using AutoMapper;
namespace ApplicationCore.Mapper namespace ApplicationCore.Mapper
{ {
class MedicineMapper public class MedicineMapper :Profile
{ {
public MedicineMapper() {
CreateMap<Medicine, MedicineViewModel>(
);
}
} }
} }
...@@ -7,20 +7,27 @@ using System.Collections.Generic; ...@@ -7,20 +7,27 @@ using System.Collections.Generic;
using System.Linq; using System.Linq;
using System.Text; using System.Text;
using System.Threading.Tasks; using System.Threading.Tasks;
using ApplicationCore.Mapper;
using AutoMapper;
using ApplicationCore.ViewModel;
namespace ApplicationCore.Services namespace ApplicationCore.Services
{ {
public class MedicineService : IMedicineService public class MedicineService : IMedicineService
{ {
private readonly MedicineMapper _mapper;
private readonly IUnitOfWork<Medicine> _medicineUnitOfWork; private readonly IUnitOfWork<Medicine> _medicineUnitOfWork;
private MedicineIngredientSpecification _medicineIngredientSpecification; private MedicineIngredientSpecification _medicineIngredientSpecification;
public MedicineService(IUnitOfWork<Medicine> medicineUnitOfWork) public MedicineService(
IUnitOfWork<Medicine> medicineUnitOfWork,
MedicineMapper medicineMapper )
{ {
_mapper = medicineMapper;
_medicineUnitOfWork = medicineUnitOfWork; _medicineUnitOfWork = medicineUnitOfWork;
_medicineIngredientSpecification = new MedicineIngredientSpecification(); _medicineIngredientSpecification = new MedicineIngredientSpecification();
} }
public IEnumerable<Medicine> GetAllMedicines() { public IEnumerable<Medicine> GetAllMedicines() {
return _medicineUnitOfWork.Entity.GetAll( return _medicineUnitOfWork.Entity.GetAll(
_medicineIngredientSpecification _medicineIngredientSpecification
); );
} }
...@@ -48,7 +55,7 @@ namespace ApplicationCore.Services ...@@ -48,7 +55,7 @@ namespace ApplicationCore.Services
public Medicine GetMedicineDetails(int id) public Medicine GetMedicineDetails(int id)
{ {
return _medicineUnitOfWork.Entity.GetById(id ,_medicineIngredientSpecification ); return _medicineUnitOfWork.Entity.GetById(id, _medicineIngredientSpecification);
} }
public Medicine GetMedicineIngredentisDetails(int medicineId) { public Medicine GetMedicineIngredentisDetails(int medicineId) {
......
using ApplicationDomain.Entities;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace ApplicationCore.ViewModel
{
public class PatientMedicineViewModel
{
public IEnumerable<Patient> Patients { get; set; }
public IEnumerable<Medicine> Medicines { get; set; }
}
}
...@@ -44,6 +44,10 @@ ...@@ -44,6 +44,10 @@
"net5.0": { "net5.0": {
"targetAlias": "net5.0", "targetAlias": "net5.0",
"dependencies": { "dependencies": {
"AutoMapper.Extensions.Microsoft.DependencyInjection": {
"target": "Package",
"version": "[5.0.1, )"
},
"Microsoft.AspNetCore.Identity.EntityFrameworkCore": { "Microsoft.AspNetCore.Identity.EntityFrameworkCore": {
"target": "Package", "target": "Package",
"version": "[5.0.17, )" "version": "[5.0.17, )"
...@@ -120,6 +124,10 @@ ...@@ -120,6 +124,10 @@
"net5.0": { "net5.0": {
"targetAlias": "net5.0", "targetAlias": "net5.0",
"dependencies": { "dependencies": {
"AutoMapper.Extensions.Microsoft.DependencyInjection": {
"target": "Package",
"version": "[5.0.1, )"
},
"Microsoft.AspNetCore.Identity.EntityFrameworkCore": { "Microsoft.AspNetCore.Identity.EntityFrameworkCore": {
"target": "Package", "target": "Package",
"version": "[5.0.17, )" "version": "[5.0.17, )"
......
...@@ -2,6 +2,31 @@ ...@@ -2,6 +2,31 @@
"version": 3, "version": 3,
"targets": { "targets": {
"net5.0": { "net5.0": {
"AutoMapper/7.0.1": {
"type": "package",
"dependencies": {
"System.ValueTuple": "4.5.0"
},
"compile": {
"lib/netcoreapp2.0/AutoMapper.dll": {}
},
"runtime": {
"lib/netcoreapp2.0/AutoMapper.dll": {}
}
},
"AutoMapper.Extensions.Microsoft.DependencyInjection/5.0.1": {
"type": "package",
"dependencies": {
"AutoMapper": "7.0.1",
"Microsoft.Extensions.DependencyInjection.Abstractions": "2.0.0"
},
"compile": {
"lib/netstandard2.0/AutoMapper.Extensions.Microsoft.DependencyInjection.dll": {}
},
"runtime": {
"lib/netstandard2.0/AutoMapper.Extensions.Microsoft.DependencyInjection.dll": {}
}
},
"Humanizer.Core/2.8.26": { "Humanizer.Core/2.8.26": {
"type": "package", "type": "package",
"compile": { "compile": {
...@@ -1466,6 +1491,15 @@ ...@@ -1466,6 +1491,15 @@
"lib/netstandard1.0/System.Threading.Tasks.Extensions.dll": {} "lib/netstandard1.0/System.Threading.Tasks.Extensions.dll": {}
} }
}, },
"System.ValueTuple/4.5.0": {
"type": "package",
"compile": {
"ref/netcoreapp2.0/_._": {}
},
"runtime": {
"lib/netcoreapp2.0/_._": {}
}
},
"System.Windows.Extensions/4.7.0": { "System.Windows.Extensions/4.7.0": {
"type": "package", "type": "package",
"dependencies": { "dependencies": {
...@@ -1586,6 +1620,7 @@ ...@@ -1586,6 +1620,7 @@
"type": "project", "type": "project",
"framework": ".NETCoreApp,Version=v5.0", "framework": ".NETCoreApp,Version=v5.0",
"dependencies": { "dependencies": {
"AutoMapper.Extensions.Microsoft.DependencyInjection": "5.0.1",
"Microsoft.AspNetCore.Identity.EntityFrameworkCore": "5.0.17", "Microsoft.AspNetCore.Identity.EntityFrameworkCore": "5.0.17",
"Microsoft.EntityFrameworkCore.SqlServer": "5.0.17" "Microsoft.EntityFrameworkCore.SqlServer": "5.0.17"
}, },
...@@ -1599,6 +1634,42 @@ ...@@ -1599,6 +1634,42 @@
} }
}, },
"libraries": { "libraries": {
"AutoMapper/7.0.1": {
"sha512": "6xHbhsW09sWjjYuE1sqhYn25PQzB6UEUVPME5uhlaIz2NR2+L3+FGbVxvknJKug1BLp6VTLxDb5RcGXKMm0ieQ==",
"type": "package",
"path": "automapper/7.0.1",
"files": [
".nupkg.metadata",
".signature.p7s",
"automapper.7.0.1.nupkg.sha512",
"automapper.nuspec",
"lib/net45/AutoMapper.dll",
"lib/net45/AutoMapper.pdb",
"lib/net45/AutoMapper.xml",
"lib/netcoreapp2.0/AutoMapper.dll",
"lib/netcoreapp2.0/AutoMapper.pdb",
"lib/netcoreapp2.0/AutoMapper.xml",
"lib/netstandard1.3/AutoMapper.dll",
"lib/netstandard1.3/AutoMapper.pdb",
"lib/netstandard1.3/AutoMapper.xml",
"lib/netstandard2.0/AutoMapper.dll",
"lib/netstandard2.0/AutoMapper.pdb",
"lib/netstandard2.0/AutoMapper.xml"
]
},
"AutoMapper.Extensions.Microsoft.DependencyInjection/5.0.1": {
"sha512": "7MIq6D/ax3964iHXbL1L2ldUvl6IlKp0p1GZFzr6vlIhEVyp4CgJwOpisRLvIO7dP+kDtbY3Hb9yuPNCkfyBFg==",
"type": "package",
"path": "automapper.extensions.microsoft.dependencyinjection/5.0.1",
"files": [
".nupkg.metadata",
".signature.p7s",
"automapper.extensions.microsoft.dependencyinjection.5.0.1.nupkg.sha512",
"automapper.extensions.microsoft.dependencyinjection.nuspec",
"lib/netstandard2.0/AutoMapper.Extensions.Microsoft.DependencyInjection.dll",
"lib/netstandard2.0/AutoMapper.Extensions.Microsoft.DependencyInjection.pdb"
]
},
"Humanizer.Core/2.8.26": { "Humanizer.Core/2.8.26": {
"sha512": "OiKusGL20vby4uDEswj2IgkdchC1yQ6rwbIkZDVBPIR6al2b7n3pC91elBul9q33KaBgRKhbZH3+2Ur4fnWx2A==", "sha512": "OiKusGL20vby4uDEswj2IgkdchC1yQ6rwbIkZDVBPIR6al2b7n3pC91elBul9q33KaBgRKhbZH3+2Ur4fnWx2A==",
"type": "package", "type": "package",
...@@ -5684,6 +5755,50 @@ ...@@ -5684,6 +5755,50 @@
"system.threading.tasks.extensions.nuspec" "system.threading.tasks.extensions.nuspec"
] ]
}, },
"System.ValueTuple/4.5.0": {
"sha512": "okurQJO6NRE/apDIP23ajJ0hpiNmJ+f0BwOlB/cSqTLQlw5upkf+5+96+iG2Jw40G1fCVCyPz/FhIABUjMR+RQ==",
"type": "package",
"path": "system.valuetuple/4.5.0",
"files": [
".nupkg.metadata",
".signature.p7s",
"LICENSE.TXT",
"THIRD-PARTY-NOTICES.TXT",
"lib/MonoAndroid10/_._",
"lib/MonoTouch10/_._",
"lib/net461/System.ValueTuple.dll",
"lib/net461/System.ValueTuple.xml",
"lib/net47/System.ValueTuple.dll",
"lib/net47/System.ValueTuple.xml",
"lib/netcoreapp2.0/_._",
"lib/netstandard1.0/System.ValueTuple.dll",
"lib/netstandard1.0/System.ValueTuple.xml",
"lib/netstandard2.0/_._",
"lib/portable-net40+sl4+win8+wp8/System.ValueTuple.dll",
"lib/portable-net40+sl4+win8+wp8/System.ValueTuple.xml",
"lib/uap10.0.16299/_._",
"lib/xamarinios10/_._",
"lib/xamarinmac20/_._",
"lib/xamarintvos10/_._",
"lib/xamarinwatchos10/_._",
"ref/MonoAndroid10/_._",
"ref/MonoTouch10/_._",
"ref/net461/System.ValueTuple.dll",
"ref/net47/System.ValueTuple.dll",
"ref/netcoreapp2.0/_._",
"ref/netstandard2.0/_._",
"ref/portable-net40+sl4+win8+wp8/System.ValueTuple.dll",
"ref/uap10.0.16299/_._",
"ref/xamarinios10/_._",
"ref/xamarinmac20/_._",
"ref/xamarintvos10/_._",
"ref/xamarinwatchos10/_._",
"system.valuetuple.4.5.0.nupkg.sha512",
"system.valuetuple.nuspec",
"useSharedDesignerContext.txt",
"version.txt"
]
},
"System.Windows.Extensions/4.7.0": { "System.Windows.Extensions/4.7.0": {
"sha512": "CeWTdRNfRaSh0pm2gDTJFwVaXfTq6Xwv/sA887iwPTneW7oMtMlpvDIO+U60+3GWTB7Aom6oQwv5VZVUhQRdPQ==", "sha512": "CeWTdRNfRaSh0pm2gDTJFwVaXfTq6Xwv/sA887iwPTneW7oMtMlpvDIO+U60+3GWTB7Aom6oQwv5VZVUhQRdPQ==",
"type": "package", "type": "package",
...@@ -5966,6 +6081,7 @@ ...@@ -5966,6 +6081,7 @@
"projectFileDependencyGroups": { "projectFileDependencyGroups": {
"net5.0": [ "net5.0": [
"ApplicationDomain >= 1.0.0", "ApplicationDomain >= 1.0.0",
"AutoMapper.Extensions.Microsoft.DependencyInjection >= 5.0.1",
"Microsoft.AspNetCore.Identity.EntityFrameworkCore >= 5.0.17", "Microsoft.AspNetCore.Identity.EntityFrameworkCore >= 5.0.17",
"Microsoft.EntityFrameworkCore.Design >= 5.0.17", "Microsoft.EntityFrameworkCore.Design >= 5.0.17",
"Microsoft.EntityFrameworkCore.SqlServer >= 5.0.17", "Microsoft.EntityFrameworkCore.SqlServer >= 5.0.17",
...@@ -6015,6 +6131,10 @@ ...@@ -6015,6 +6131,10 @@
"net5.0": { "net5.0": {
"targetAlias": "net5.0", "targetAlias": "net5.0",
"dependencies": { "dependencies": {
"AutoMapper.Extensions.Microsoft.DependencyInjection": {
"target": "Package",
"version": "[5.0.1, )"
},
"Microsoft.AspNetCore.Identity.EntityFrameworkCore": { "Microsoft.AspNetCore.Identity.EntityFrameworkCore": {
"target": "Package", "target": "Package",
"version": "[5.0.17, )" "version": "[5.0.17, )"
......
{ {
"version": 2, "version": 2,
"dgSpecHash": "CSp6JRrfKdh1rHdoo3CLiDBLY/YSiTGT4lNyn7paLJjBcTLYON0hBn8ML2M1uO0R0+lyyK44eKrikaOa4Rn5tg==", "dgSpecHash": "5NjBex83Lbd2kaYy9GsvM5i0NXJLpYSh6HP3ORMwpaP1/wYcRmb0qDrWmGWDwZC00ufTisZ63wxEDFovE2OAdA==",
"success": true, "success": true,
"projectFilePath": "C:\\Users\\HASAN\\Desktop\\Medic\\ApplicationCore\\ApplicationCore.csproj", "projectFilePath": "C:\\Users\\HASAN\\Desktop\\Medic\\ApplicationCore\\ApplicationCore.csproj",
"expectedPackageFiles": [ "expectedPackageFiles": [
"C:\\Users\\HASAN\\.nuget\\packages\\automapper\\7.0.1\\automapper.7.0.1.nupkg.sha512",
"C:\\Users\\HASAN\\.nuget\\packages\\automapper.extensions.microsoft.dependencyinjection\\5.0.1\\automapper.extensions.microsoft.dependencyinjection.5.0.1.nupkg.sha512",
"C:\\Users\\HASAN\\.nuget\\packages\\humanizer.core\\2.8.26\\humanizer.core.2.8.26.nupkg.sha512", "C:\\Users\\HASAN\\.nuget\\packages\\humanizer.core\\2.8.26\\humanizer.core.2.8.26.nupkg.sha512",
"C:\\Users\\HASAN\\.nuget\\packages\\microsoft.aspnetcore.cryptography.internal\\5.0.17\\microsoft.aspnetcore.cryptography.internal.5.0.17.nupkg.sha512", "C:\\Users\\HASAN\\.nuget\\packages\\microsoft.aspnetcore.cryptography.internal\\5.0.17\\microsoft.aspnetcore.cryptography.internal.5.0.17.nupkg.sha512",
"C:\\Users\\HASAN\\.nuget\\packages\\microsoft.aspnetcore.cryptography.keyderivation\\5.0.17\\microsoft.aspnetcore.cryptography.keyderivation.5.0.17.nupkg.sha512", "C:\\Users\\HASAN\\.nuget\\packages\\microsoft.aspnetcore.cryptography.keyderivation\\5.0.17\\microsoft.aspnetcore.cryptography.keyderivation.5.0.17.nupkg.sha512",
...@@ -101,6 +103,7 @@ ...@@ -101,6 +103,7 @@
"C:\\Users\\HASAN\\.nuget\\packages\\system.threading\\4.3.0\\system.threading.4.3.0.nupkg.sha512", "C:\\Users\\HASAN\\.nuget\\packages\\system.threading\\4.3.0\\system.threading.4.3.0.nupkg.sha512",
"C:\\Users\\HASAN\\.nuget\\packages\\system.threading.tasks\\4.3.0\\system.threading.tasks.4.3.0.nupkg.sha512", "C:\\Users\\HASAN\\.nuget\\packages\\system.threading.tasks\\4.3.0\\system.threading.tasks.4.3.0.nupkg.sha512",
"C:\\Users\\HASAN\\.nuget\\packages\\system.threading.tasks.extensions\\4.3.0\\system.threading.tasks.extensions.4.3.0.nupkg.sha512", "C:\\Users\\HASAN\\.nuget\\packages\\system.threading.tasks.extensions\\4.3.0\\system.threading.tasks.extensions.4.3.0.nupkg.sha512",
"C:\\Users\\HASAN\\.nuget\\packages\\system.valuetuple\\4.5.0\\system.valuetuple.4.5.0.nupkg.sha512",
"C:\\Users\\HASAN\\.nuget\\packages\\system.windows.extensions\\4.7.0\\system.windows.extensions.4.7.0.nupkg.sha512", "C:\\Users\\HASAN\\.nuget\\packages\\system.windows.extensions\\4.7.0\\system.windows.extensions.4.7.0.nupkg.sha512",
"C:\\Users\\HASAN\\.nuget\\packages\\system.xml.readerwriter\\4.3.0\\system.xml.readerwriter.4.3.0.nupkg.sha512", "C:\\Users\\HASAN\\.nuget\\packages\\system.xml.readerwriter\\4.3.0\\system.xml.readerwriter.4.3.0.nupkg.sha512",
"C:\\Users\\HASAN\\.nuget\\packages\\system.xml.xdocument\\4.3.0\\system.xml.xdocument.4.3.0.nupkg.sha512", "C:\\Users\\HASAN\\.nuget\\packages\\system.xml.xdocument\\4.3.0\\system.xml.xdocument.4.3.0.nupkg.sha512",
......
...@@ -5,7 +5,7 @@ ...@@ -5,7 +5,7 @@
</PropertyGroup> </PropertyGroup>
<ItemGroup> <ItemGroup>
<PackageReference Include="AutoMapper" Version="5.2.0" /> <PackageReference Include="AutoMapper.Extensions.Microsoft.DependencyInjection" Version="5.0.1" />
<PackageReference Include="Microsoft.AspNetCore.Identity.EntityFrameworkCore" Version="5.0.17" /> <PackageReference Include="Microsoft.AspNetCore.Identity.EntityFrameworkCore" Version="5.0.17" />
<PackageReference Include="Microsoft.EntityFrameworkCore.Design" Version="5.0.17"> <PackageReference Include="Microsoft.EntityFrameworkCore.Design" Version="5.0.17">
<PrivateAssets>all</PrivateAssets> <PrivateAssets>all</PrivateAssets>
......
416f34e2a69605f583aecb2cbffaaa655aec8ee0 59276fd161189aa79ddc03c1f9ef00f1917df3db
...@@ -44,6 +44,10 @@ ...@@ -44,6 +44,10 @@
"net5.0": { "net5.0": {
"targetAlias": "net5.0", "targetAlias": "net5.0",
"dependencies": { "dependencies": {
"AutoMapper.Extensions.Microsoft.DependencyInjection": {
"target": "Package",
"version": "[5.0.1, )"
},
"Microsoft.AspNetCore.Identity.EntityFrameworkCore": { "Microsoft.AspNetCore.Identity.EntityFrameworkCore": {
"target": "Package", "target": "Package",
"version": "[5.0.17, )" "version": "[5.0.17, )"
...@@ -120,6 +124,10 @@ ...@@ -120,6 +124,10 @@
"net5.0": { "net5.0": {
"targetAlias": "net5.0", "targetAlias": "net5.0",
"dependencies": { "dependencies": {
"AutoMapper.Extensions.Microsoft.DependencyInjection": {
"target": "Package",
"version": "[5.0.1, )"
},
"Microsoft.AspNetCore.Identity.EntityFrameworkCore": { "Microsoft.AspNetCore.Identity.EntityFrameworkCore": {
"target": "Package", "target": "Package",
"version": "[5.0.17, )" "version": "[5.0.17, )"
......
...@@ -2,6 +2,31 @@ ...@@ -2,6 +2,31 @@
"version": 3, "version": 3,
"targets": { "targets": {
"net5.0": { "net5.0": {
"AutoMapper/7.0.1": {
"type": "package",
"dependencies": {
"System.ValueTuple": "4.5.0"
},
"compile": {
"lib/netcoreapp2.0/AutoMapper.dll": {}
},
"runtime": {
"lib/netcoreapp2.0/AutoMapper.dll": {}
}
},
"AutoMapper.Extensions.Microsoft.DependencyInjection/5.0.1": {
"type": "package",
"dependencies": {
"AutoMapper": "7.0.1",
"Microsoft.Extensions.DependencyInjection.Abstractions": "2.0.0"
},
"compile": {
"lib/netstandard2.0/AutoMapper.Extensions.Microsoft.DependencyInjection.dll": {}
},
"runtime": {
"lib/netstandard2.0/AutoMapper.Extensions.Microsoft.DependencyInjection.dll": {}
}
},
"Humanizer.Core/2.8.26": { "Humanizer.Core/2.8.26": {
"type": "package", "type": "package",
"compile": { "compile": {
...@@ -1466,6 +1491,15 @@ ...@@ -1466,6 +1491,15 @@
"lib/netstandard1.0/System.Threading.Tasks.Extensions.dll": {} "lib/netstandard1.0/System.Threading.Tasks.Extensions.dll": {}
} }
}, },
"System.ValueTuple/4.5.0": {
"type": "package",
"compile": {
"ref/netcoreapp2.0/_._": {}
},
"runtime": {
"lib/netcoreapp2.0/_._": {}
}
},
"System.Windows.Extensions/4.7.0": { "System.Windows.Extensions/4.7.0": {
"type": "package", "type": "package",
"dependencies": { "dependencies": {
...@@ -1587,6 +1621,7 @@ ...@@ -1587,6 +1621,7 @@
"framework": ".NETCoreApp,Version=v5.0", "framework": ".NETCoreApp,Version=v5.0",
"dependencies": { "dependencies": {
"ApplicationDomain": "1.0.0", "ApplicationDomain": "1.0.0",
"AutoMapper.Extensions.Microsoft.DependencyInjection": "5.0.1",
"Microsoft.AspNetCore.Identity.EntityFrameworkCore": "5.0.17", "Microsoft.AspNetCore.Identity.EntityFrameworkCore": "5.0.17",
"Microsoft.EntityFrameworkCore.SqlServer": "5.0.17" "Microsoft.EntityFrameworkCore.SqlServer": "5.0.17"
}, },
...@@ -1601,6 +1636,7 @@ ...@@ -1601,6 +1636,7 @@
"type": "project", "type": "project",
"framework": ".NETCoreApp,Version=v5.0", "framework": ".NETCoreApp,Version=v5.0",
"dependencies": { "dependencies": {
"AutoMapper.Extensions.Microsoft.DependencyInjection": "5.0.1",
"Microsoft.AspNetCore.Identity.EntityFrameworkCore": "5.0.17", "Microsoft.AspNetCore.Identity.EntityFrameworkCore": "5.0.17",
"Microsoft.EntityFrameworkCore.SqlServer": "5.0.17" "Microsoft.EntityFrameworkCore.SqlServer": "5.0.17"
}, },
...@@ -1614,6 +1650,42 @@ ...@@ -1614,6 +1650,42 @@
} }
}, },
"libraries": { "libraries": {
"AutoMapper/7.0.1": {
"sha512": "6xHbhsW09sWjjYuE1sqhYn25PQzB6UEUVPME5uhlaIz2NR2+L3+FGbVxvknJKug1BLp6VTLxDb5RcGXKMm0ieQ==",
"type": "package",
"path": "automapper/7.0.1",
"files": [
".nupkg.metadata",
".signature.p7s",
"automapper.7.0.1.nupkg.sha512",
"automapper.nuspec",
"lib/net45/AutoMapper.dll",
"lib/net45/AutoMapper.pdb",
"lib/net45/AutoMapper.xml",
"lib/netcoreapp2.0/AutoMapper.dll",
"lib/netcoreapp2.0/AutoMapper.pdb",
"lib/netcoreapp2.0/AutoMapper.xml",
"lib/netstandard1.3/AutoMapper.dll",
"lib/netstandard1.3/AutoMapper.pdb",
"lib/netstandard1.3/AutoMapper.xml",
"lib/netstandard2.0/AutoMapper.dll",
"lib/netstandard2.0/AutoMapper.pdb",
"lib/netstandard2.0/AutoMapper.xml"
]
},
"AutoMapper.Extensions.Microsoft.DependencyInjection/5.0.1": {
"sha512": "7MIq6D/ax3964iHXbL1L2ldUvl6IlKp0p1GZFzr6vlIhEVyp4CgJwOpisRLvIO7dP+kDtbY3Hb9yuPNCkfyBFg==",
"type": "package",
"path": "automapper.extensions.microsoft.dependencyinjection/5.0.1",
"files": [
".nupkg.metadata",
".signature.p7s",
"automapper.extensions.microsoft.dependencyinjection.5.0.1.nupkg.sha512",
"automapper.extensions.microsoft.dependencyinjection.nuspec",
"lib/netstandard2.0/AutoMapper.Extensions.Microsoft.DependencyInjection.dll",
"lib/netstandard2.0/AutoMapper.Extensions.Microsoft.DependencyInjection.pdb"
]
},
"Humanizer.Core/2.8.26": { "Humanizer.Core/2.8.26": {
"sha512": "OiKusGL20vby4uDEswj2IgkdchC1yQ6rwbIkZDVBPIR6al2b7n3pC91elBul9q33KaBgRKhbZH3+2Ur4fnWx2A==", "sha512": "OiKusGL20vby4uDEswj2IgkdchC1yQ6rwbIkZDVBPIR6al2b7n3pC91elBul9q33KaBgRKhbZH3+2Ur4fnWx2A==",
"type": "package", "type": "package",
...@@ -5699,6 +5771,50 @@ ...@@ -5699,6 +5771,50 @@
"system.threading.tasks.extensions.nuspec" "system.threading.tasks.extensions.nuspec"
] ]
}, },
"System.ValueTuple/4.5.0": {
"sha512": "okurQJO6NRE/apDIP23ajJ0hpiNmJ+f0BwOlB/cSqTLQlw5upkf+5+96+iG2Jw40G1fCVCyPz/FhIABUjMR+RQ==",
"type": "package",
"path": "system.valuetuple/4.5.0",
"files": [
".nupkg.metadata",
".signature.p7s",
"LICENSE.TXT",
"THIRD-PARTY-NOTICES.TXT",
"lib/MonoAndroid10/_._",
"lib/MonoTouch10/_._",
"lib/net461/System.ValueTuple.dll",
"lib/net461/System.ValueTuple.xml",
"lib/net47/System.ValueTuple.dll",
"lib/net47/System.ValueTuple.xml",
"lib/netcoreapp2.0/_._",
"lib/netstandard1.0/System.ValueTuple.dll",
"lib/netstandard1.0/System.ValueTuple.xml",
"lib/netstandard2.0/_._",
"lib/portable-net40+sl4+win8+wp8/System.ValueTuple.dll",
"lib/portable-net40+sl4+win8+wp8/System.ValueTuple.xml",
"lib/uap10.0.16299/_._",
"lib/xamarinios10/_._",
"lib/xamarinmac20/_._",
"lib/xamarintvos10/_._",
"lib/xamarinwatchos10/_._",
"ref/MonoAndroid10/_._",
"ref/MonoTouch10/_._",
"ref/net461/System.ValueTuple.dll",
"ref/net47/System.ValueTuple.dll",
"ref/netcoreapp2.0/_._",
"ref/netstandard2.0/_._",
"ref/portable-net40+sl4+win8+wp8/System.ValueTuple.dll",
"ref/uap10.0.16299/_._",
"ref/xamarinios10/_._",
"ref/xamarinmac20/_._",
"ref/xamarintvos10/_._",
"ref/xamarinwatchos10/_._",
"system.valuetuple.4.5.0.nupkg.sha512",
"system.valuetuple.nuspec",
"useSharedDesignerContext.txt",
"version.txt"
]
},
"System.Windows.Extensions/4.7.0": { "System.Windows.Extensions/4.7.0": {
"sha512": "CeWTdRNfRaSh0pm2gDTJFwVaXfTq6Xwv/sA887iwPTneW7oMtMlpvDIO+U60+3GWTB7Aom6oQwv5VZVUhQRdPQ==", "sha512": "CeWTdRNfRaSh0pm2gDTJFwVaXfTq6Xwv/sA887iwPTneW7oMtMlpvDIO+U60+3GWTB7Aom6oQwv5VZVUhQRdPQ==",
"type": "package", "type": "package",
......
{ {
"version": 2, "version": 2,
"dgSpecHash": "WMVc6fgmdfsYlIBFKo6fmxyagvo3LLTp3rzBIul04ZEB6LYlqQfYuUVp7w8yH3qRrZfcbavW6j3sgcdTOfbcPw==", "dgSpecHash": "mkwOqPL5XX76u2lWj2rMJ2te2ZMevQgfCWv2UUSaN5W0iC+by02mQ9A3SLBWdKtj5D2VqOKWwby6O0SGW7obxQ==",
"success": true, "success": true,
"projectFilePath": "C:\\Users\\HASAN\\Desktop\\Medic\\Infrastructure\\Infrastructure.csproj", "projectFilePath": "C:\\Users\\HASAN\\Desktop\\Medic\\Infrastructure\\Infrastructure.csproj",
"expectedPackageFiles": [ "expectedPackageFiles": [
"C:\\Users\\HASAN\\.nuget\\packages\\automapper\\7.0.1\\automapper.7.0.1.nupkg.sha512",
"C:\\Users\\HASAN\\.nuget\\packages\\automapper.extensions.microsoft.dependencyinjection\\5.0.1\\automapper.extensions.microsoft.dependencyinjection.5.0.1.nupkg.sha512",
"C:\\Users\\HASAN\\.nuget\\packages\\humanizer.core\\2.8.26\\humanizer.core.2.8.26.nupkg.sha512", "C:\\Users\\HASAN\\.nuget\\packages\\humanizer.core\\2.8.26\\humanizer.core.2.8.26.nupkg.sha512",
"C:\\Users\\HASAN\\.nuget\\packages\\microsoft.aspnetcore.cryptography.internal\\5.0.17\\microsoft.aspnetcore.cryptography.internal.5.0.17.nupkg.sha512", "C:\\Users\\HASAN\\.nuget\\packages\\microsoft.aspnetcore.cryptography.internal\\5.0.17\\microsoft.aspnetcore.cryptography.internal.5.0.17.nupkg.sha512",
"C:\\Users\\HASAN\\.nuget\\packages\\microsoft.aspnetcore.cryptography.keyderivation\\5.0.17\\microsoft.aspnetcore.cryptography.keyderivation.5.0.17.nupkg.sha512", "C:\\Users\\HASAN\\.nuget\\packages\\microsoft.aspnetcore.cryptography.keyderivation\\5.0.17\\microsoft.aspnetcore.cryptography.keyderivation.5.0.17.nupkg.sha512",
...@@ -101,6 +103,7 @@ ...@@ -101,6 +103,7 @@
"C:\\Users\\HASAN\\.nuget\\packages\\system.threading\\4.3.0\\system.threading.4.3.0.nupkg.sha512", "C:\\Users\\HASAN\\.nuget\\packages\\system.threading\\4.3.0\\system.threading.4.3.0.nupkg.sha512",
"C:\\Users\\HASAN\\.nuget\\packages\\system.threading.tasks\\4.3.0\\system.threading.tasks.4.3.0.nupkg.sha512", "C:\\Users\\HASAN\\.nuget\\packages\\system.threading.tasks\\4.3.0\\system.threading.tasks.4.3.0.nupkg.sha512",
"C:\\Users\\HASAN\\.nuget\\packages\\system.threading.tasks.extensions\\4.3.0\\system.threading.tasks.extensions.4.3.0.nupkg.sha512", "C:\\Users\\HASAN\\.nuget\\packages\\system.threading.tasks.extensions\\4.3.0\\system.threading.tasks.extensions.4.3.0.nupkg.sha512",
"C:\\Users\\HASAN\\.nuget\\packages\\system.valuetuple\\4.5.0\\system.valuetuple.4.5.0.nupkg.sha512",
"C:\\Users\\HASAN\\.nuget\\packages\\system.windows.extensions\\4.7.0\\system.windows.extensions.4.7.0.nupkg.sha512", "C:\\Users\\HASAN\\.nuget\\packages\\system.windows.extensions\\4.7.0\\system.windows.extensions.4.7.0.nupkg.sha512",
"C:\\Users\\HASAN\\.nuget\\packages\\system.xml.readerwriter\\4.3.0\\system.xml.readerwriter.4.3.0.nupkg.sha512", "C:\\Users\\HASAN\\.nuget\\packages\\system.xml.readerwriter\\4.3.0\\system.xml.readerwriter.4.3.0.nupkg.sha512",
"C:\\Users\\HASAN\\.nuget\\packages\\system.xml.xdocument\\4.3.0\\system.xml.xdocument.4.3.0.nupkg.sha512", "C:\\Users\\HASAN\\.nuget\\packages\\system.xml.xdocument\\4.3.0\\system.xml.xdocument.4.3.0.nupkg.sha512",
......
...@@ -14,6 +14,7 @@ using Microsoft.EntityFrameworkCore; ...@@ -14,6 +14,7 @@ using Microsoft.EntityFrameworkCore;
using Microsoft.Extensions.Configuration; using Microsoft.Extensions.Configuration;
using Microsoft.Extensions.DependencyInjection; using Microsoft.Extensions.DependencyInjection;
using Microsoft.Extensions.Hosting; using Microsoft.Extensions.Hosting;
using ApplicationCore.Mapper;
namespace WebPresentation namespace WebPresentation
{ {
...@@ -31,6 +32,7 @@ namespace WebPresentation ...@@ -31,6 +32,7 @@ namespace WebPresentation
{ {
services.AddScoped<DbContext, MedicDbContext>(); services.AddScoped<DbContext, MedicDbContext>();
services.AddScoped<MedicineMapper>();
#region ADD Scoped Repository #region ADD Scoped Repository
services.AddScoped(typeof(IUnitOfWork<>),typeof(UnitOfWork<>)); services.AddScoped(typeof(IUnitOfWork<>),typeof(UnitOfWork<>));
......
...@@ -11,19 +11,20 @@ ...@@ -11,19 +11,20 @@
<div class="row d-flex justify-content-center align-items-center h-100"> <div class="row d-flex justify-content-center align-items-center h-100">
<div class="col col-8 col-lg-8 mb-4 mb-lg-0"> <div class="col col-8 col-lg-8 mb-4 mb-lg-0">
<div class="card mb-3" style="border-radius: .5rem;"> <div class="card mb-3" style="border-radius: .5rem;">
<div class="row g-0">
<div class="row"> <div class="row">
<div class="col-md-4"> <div class="col-md-4">
<form asp-action="Create" asp-controller="MedicalState"> <form asp-action="Create" asp-controller="MedicalState">
<div asp-validation-summary="ModelOnly" class="text-danger"></div> <div asp-validation-summary="ModelOnly" class="text-danger"></div>
<div class="form-group"> <div class="form-group">
<div class="col-5"> <div class="col">
<label asp-for="StateName" class="control-label"></label> <label asp-for="StateName" class="control-label"></label>
<input asp-for="StateName" class="form-control" /> <input asp-for="StateName" class="form-control" />
<span asp-validation-for="StateName" class="text-danger"></span> <span asp-validation-for="StateName" class="text-danger"></span>
</div> </div>
<div class="col-5"> </div>
<div class="form-group">
<div class="col">
<label asp-for="PrescriptionTime" class="control-label"></label> <label asp-for="PrescriptionTime" class="control-label"></label>
<input asp-for="PrescriptionTime" class="form-control" /> <input asp-for="PrescriptionTime" class="form-control" />
<span asp-validation-for="PrescriptionTime" class="text-danger"></span> <span asp-validation-for="PrescriptionTime" class="text-danger"></span>
...@@ -34,14 +35,12 @@ ...@@ -34,14 +35,12 @@
<input asp-for="StateDescription" class="form-control" /> <input asp-for="StateDescription" class="form-control" />
<span asp-validation-for="StateDescription" class="text-danger"></span> <span asp-validation-for="StateDescription" class="text-danger"></span>
</div>
<div>
</div> </div>
<div class="form-group"> <div class="form-group">
<input type="submit" value="Create" class="btn btn-primary" /> <input type="submit" value="Create" class="btn btn-primary" />
</div> </div>
</form> </form>
</div>
</div> </div>
<div> <div>
......
...@@ -38,9 +38,13 @@ ...@@ -38,9 +38,13 @@
<li><a class="dropdown-item" href="#!">Hello @UserManager.GetUserName(User)</a></li> <li><a class="dropdown-item" href="#!">Hello @UserManager.GetUserName(User)</a></li>
<li><hr class="dropdown-divider" /></li> <li><hr class="dropdown-divider" /></li>
<li> <li>
<form id="logoutForm" class="dropdown-item form-inline" asp-area="Identity" asp-page="/Account/Logout" asp-route-returnUrl="@Url.Action("Index", "Home", new { area = "" })"> <a class="dropdown-item"
<button id="logout" type="submit" class="nav-link rounded text-bg-dark js-scroll-trigger">Logout</button> asp-action="Logout"
</form> asp-controller="Access"
asp-route-returnUrl="/Home/Inedx">
Logout
</a>
</li> </li>
</ul> </ul>
</li> </li>
...@@ -52,12 +56,16 @@ ...@@ -52,12 +56,16 @@
<div class="sb-sidenav-menu"> <div class="sb-sidenav-menu">
<div class="nav"> <div class="nav">
<div class="sb-sidenav-menu-heading">Core</div> <div class="sb-sidenav-menu-heading">Core</div>
<a class="nav-link" asp-action="Index"> <a class="nav-link" asp-action="Index">
<div class="sb-nav-link-icon"><i class="fas fa-tachometer-alt"></i></div> <div class="sb-nav-link-icon"><i class="fas fa-tachometer-alt"></i></div>
Dashboard Dashboard
</a> </a>
<div class="sb-sidenav-menu-heading">Interface</div> <div class="sb-sidenav-menu-heading">Interface</div>
<a class="nav-link collapsed" href="#" data-bs-toggle="collapse" data-bs-target="#collapseLayouts" aria-expanded="false" aria-controls="collapseLayouts">
<!-- Patient Managment -->
<a class="nav-link collapsed"
asp-action="Inedx" asp-controller="Patient"
data-bs-toggle="collapse" data-bs-target="#collapseLayouts" aria-expanded="false" aria-controls="collapseLayouts">
<div class="sb-nav-link-icon"><i class="fas fa-columns"></i></div> <div class="sb-nav-link-icon"><i class="fas fa-columns"></i></div>
Patients Managment Patients Managment
<div class="sb-sidenav-collapse-arrow"><i class="fas fa-angle-down"></i></div> <div class="sb-sidenav-collapse-arrow"><i class="fas fa-angle-down"></i></div>
...@@ -68,7 +76,9 @@ ...@@ -68,7 +76,9 @@
<a class="nav-link" asp-controller="Patient" asp-action="Index">ALL Patients </a> <a class="nav-link" asp-controller="Patient" asp-action="Index">ALL Patients </a>
</nav> </nav>
</div> </div>
<a class="nav-link collapsed" href="#" data-bs-toggle="collapse" data-bs-target="#ing" aria-expanded="false" aria-controls="collapseLayouts">
<!-- Ingredients Managment -->
<a class="nav-link collapsed" asp-action="Index" asp-controller="Ingredients" data-bs-toggle="collapse" data-bs-target="#ing" aria-expanded="false" aria-controls="collapseLayouts">
<div class="sb-nav-link-icon"><i class="fas fa-columns"></i></div> <div class="sb-nav-link-icon"><i class="fas fa-columns"></i></div>
Ingredients Manage Ingredients Manage
<div class="sb-sidenav-collapse-arrow"><i class="fas fa-angle-down"></i></div> <div class="sb-sidenav-collapse-arrow"><i class="fas fa-angle-down"></i></div>
...@@ -79,22 +89,36 @@ ...@@ -79,22 +89,36 @@
<a class="nav-link" asp-controller="Ingredient" asp-action="Index">ALL Ingredients </a> <a class="nav-link" asp-controller="Ingredient" asp-action="Index">ALL Ingredients </a>
</nav> </nav>
</div> </div>
<a class="nav-link collapsed" href="#" data-bs-toggle="collapse" data-bs-target="#cPages" aria-expanded="false" aria-controls="collapsePages">
<!-- Medicine Managment -->
<a class="nav-link collapsed" asp-action="Index" asp-controller="Medicine" data-bs-toggle="collapse" data-bs-target="#cPages" aria-expanded="false" aria-controls="collapsePages">
<div class="sb-nav-link-icon"><i class="fas fa-book-open"></i></div> <div class="sb-nav-link-icon"><i class="fas fa-book-open"></i></div>
Medicine Managment Medicine Managment
<div class="sb-sidenav-collapse-arrow"><i class="fas fa-angle-down"></i></div> <div class="sb-sidenav-collapse-arrow"><i class="fas fa-angle-down"></i></div>
</a> </a>
<div class="collapse" id="cPages" aria-labelledby="headingOne" data-bs-parent="#sidenavAccordion"> <div class="collapse" id="cPages" aria-labelledby="headingOne" data-bs-parent="#sidenavAccordion">
<nav class="sb-sidenav-menu-nested nav"> <nav class="sb-sidenav-menu-nested nav">
<a class="nav-link" asp-controller="Medicine" asp-action="Create">Add Medicine </a> <a class="nav-link" asp-controller="Medicine" asp-action="Create">Add Medicine </a>
<a class="nav-link" asp-controller="Medicine" asp-action="Index">ALL Medicines </a> <a class="nav-link" asp-controller="Medicine" asp-action="Index">ALL Medicines </a>
</nav> </nav>
</div> </div>
<!-- Medical State Managment -->
<a class="nav-link collapsed" asp-action="Index" asp-controller="Medicine" data-bs-toggle="collapse" data-bs-target="#cPages" aria-expanded="false" aria-controls="collapsePages">
<div class="sb-nav-link-icon"><i class="fas fa-book-open"></i></div>
Medical States
<div class="sb-sidenav-collapse-arrow"><i class="fas fa-angle-down"></i></div>
</a>
<div class="collapse" id="cPages" aria-labelledby="headingOne" data-bs-parent="#sidenavAccordion">
<nav class="sb-sidenav-menu-nested nav">
<a class="nav-link" >Add Medical State </a>
<a class="nav-link" >ALL Medical State </a>
</nav>
</div>
<div class="sb-sidenav-footer"> <div class="sb-sidenav-footer">
<div class="small">Logged in as:@UserManager.GetUserName(User)</div> <div class="small">Logged in as:@UserManager.GetUserName(User)</div>
</div> </div>
</div> </div>
</div> </div>
...@@ -104,9 +128,7 @@ ...@@ -104,9 +128,7 @@
<main> <main>
<div class="container-fluid px-4"> <div class="container-fluid px-4">
<h1 class="mt-4">Dashboard</h1> <h1 class="mt-4">Dashboard</h1>
<ol class="breadcrumb mb-4">
<li class="breadcrumb-item active">Dashboard</li>
</ol>
@RenderBody() @RenderBody()
......
...@@ -5,7 +5,7 @@ ...@@ -5,7 +5,7 @@
</PropertyGroup> </PropertyGroup>
<ItemGroup> <ItemGroup>
<PackageReference Include="AutoMapper" Version="5.2.0" /> <PackageReference Include="AutoMapper.Extensions.Microsoft.DependencyInjection" Version="5.0.1" />
<PackageReference Include="Microsoft.AspNetCore.Identity.EntityFrameworkCore" Version="5.0.17" /> <PackageReference Include="Microsoft.AspNetCore.Identity.EntityFrameworkCore" Version="5.0.17" />
<PackageReference Include="Microsoft.EntityFrameworkCore.Design" Version="5.0.17"> <PackageReference Include="Microsoft.EntityFrameworkCore.Design" Version="5.0.17">
<PrivateAssets>all</PrivateAssets> <PrivateAssets>all</PrivateAssets>
......
...@@ -35,6 +35,7 @@ ...@@ -35,6 +35,7 @@
"dependencies": { "dependencies": {
"ApplicationCore": "1.0.0", "ApplicationCore": "1.0.0",
"ApplicationDomain": "1.0.0", "ApplicationDomain": "1.0.0",
"AutoMapper.Extensions.Microsoft.DependencyInjection": "5.0.1",
"Infrastructure": "1.0.0", "Infrastructure": "1.0.0",
"Microsoft.AspNetCore.Identity.EntityFrameworkCore": "5.0.17", "Microsoft.AspNetCore.Identity.EntityFrameworkCore": "5.0.17",
"Microsoft.EntityFrameworkCore.Design": "5.0.17", "Microsoft.EntityFrameworkCore.Design": "5.0.17",
...@@ -303,7 +304,7 @@ ...@@ -303,7 +304,7 @@
"System.Threading.Timer": "5.0.0.0", "System.Threading.Timer": "5.0.0.0",
"System.Transactions": "4.0.0.0", "System.Transactions": "4.0.0.0",
"System.Transactions.Local": "5.0.0.0", "System.Transactions.Local": "5.0.0.0",
"System.ValueTuple": "4.0.3.0", "System.ValueTuple.Reference": "4.0.3.0",
"System.Web": "4.0.0.0", "System.Web": "4.0.0.0",
"System.Web.HttpUtility": "5.0.0.0", "System.Web.HttpUtility": "5.0.0.0",
"System.Windows": "4.0.0.0", "System.Windows": "4.0.0.0",
...@@ -326,6 +327,35 @@ ...@@ -326,6 +327,35 @@
"WebPresentation.dll": {} "WebPresentation.dll": {}
} }
}, },
"AutoMapper/7.0.1": {
"dependencies": {
"System.ValueTuple": "4.5.0"
},
"runtime": {
"lib/netcoreapp2.0/AutoMapper.dll": {
"assemblyVersion": "7.0.1.0",
"fileVersion": "7.0.1.0"
}
},
"compile": {
"lib/netcoreapp2.0/AutoMapper.dll": {}
}
},
"AutoMapper.Extensions.Microsoft.DependencyInjection/5.0.1": {
"dependencies": {
"AutoMapper": "7.0.1",
"Microsoft.Extensions.DependencyInjection.Abstractions": "5.0.0"
},
"runtime": {
"lib/netstandard2.0/AutoMapper.Extensions.Microsoft.DependencyInjection.dll": {
"assemblyVersion": "0.0.0.0",
"fileVersion": "5.0.1.0"
}
},
"compile": {
"lib/netstandard2.0/AutoMapper.Extensions.Microsoft.DependencyInjection.dll": {}
}
},
"Humanizer.Core/2.8.26": { "Humanizer.Core/2.8.26": {
"runtime": { "runtime": {
"lib/netstandard2.0/Humanizer.dll": { "lib/netstandard2.0/Humanizer.dll": {
...@@ -1798,6 +1828,7 @@ ...@@ -1798,6 +1828,7 @@
} }
}, },
"System.Threading.Tasks.Extensions/4.5.4": {}, "System.Threading.Tasks.Extensions/4.5.4": {},
"System.ValueTuple/4.5.0": {},
"System.Windows.Extensions/4.7.0": { "System.Windows.Extensions/4.7.0": {
"dependencies": { "dependencies": {
"System.Drawing.Common": "4.7.0" "System.Drawing.Common": "4.7.0"
...@@ -1876,6 +1907,7 @@ ...@@ -1876,6 +1907,7 @@
"ApplicationCore/1.0.0": { "ApplicationCore/1.0.0": {
"dependencies": { "dependencies": {
"ApplicationDomain": "1.0.0", "ApplicationDomain": "1.0.0",
"AutoMapper.Extensions.Microsoft.DependencyInjection": "5.0.1",
"Microsoft.AspNetCore.Identity.EntityFrameworkCore": "5.0.17", "Microsoft.AspNetCore.Identity.EntityFrameworkCore": "5.0.17",
"Microsoft.EntityFrameworkCore.SqlServer": "5.0.17" "Microsoft.EntityFrameworkCore.SqlServer": "5.0.17"
}, },
...@@ -1888,6 +1920,7 @@ ...@@ -1888,6 +1920,7 @@
}, },
"ApplicationDomain/1.0.0": { "ApplicationDomain/1.0.0": {
"dependencies": { "dependencies": {
"AutoMapper.Extensions.Microsoft.DependencyInjection": "5.0.1",
"Microsoft.AspNetCore.Identity.EntityFrameworkCore": "5.0.17", "Microsoft.AspNetCore.Identity.EntityFrameworkCore": "5.0.17",
"Microsoft.EntityFrameworkCore.SqlServer": "5.0.17" "Microsoft.EntityFrameworkCore.SqlServer": "5.0.17"
}, },
...@@ -3483,7 +3516,7 @@ ...@@ -3483,7 +3516,7 @@
}, },
"compileOnly": true "compileOnly": true
}, },
"System.ValueTuple/4.0.3.0": { "System.ValueTuple.Reference/4.0.3.0": {
"compile": { "compile": {
"System.ValueTuple.dll": {} "System.ValueTuple.dll": {}
}, },
...@@ -3581,6 +3614,20 @@ ...@@ -3581,6 +3614,20 @@
"serviceable": false, "serviceable": false,
"sha512": "" "sha512": ""
}, },
"AutoMapper/7.0.1": {
"type": "package",
"serviceable": true,
"sha512": "sha512-6xHbhsW09sWjjYuE1sqhYn25PQzB6UEUVPME5uhlaIz2NR2+L3+FGbVxvknJKug1BLp6VTLxDb5RcGXKMm0ieQ==",
"path": "automapper/7.0.1",
"hashPath": "automapper.7.0.1.nupkg.sha512"
},
"AutoMapper.Extensions.Microsoft.DependencyInjection/5.0.1": {
"type": "package",
"serviceable": true,
"sha512": "sha512-7MIq6D/ax3964iHXbL1L2ldUvl6IlKp0p1GZFzr6vlIhEVyp4CgJwOpisRLvIO7dP+kDtbY3Hb9yuPNCkfyBFg==",
"path": "automapper.extensions.microsoft.dependencyinjection/5.0.1",
"hashPath": "automapper.extensions.microsoft.dependencyinjection.5.0.1.nupkg.sha512"
},
"Humanizer.Core/2.8.26": { "Humanizer.Core/2.8.26": {
"type": "package", "type": "package",
"serviceable": true, "serviceable": true,
...@@ -4449,6 +4496,13 @@ ...@@ -4449,6 +4496,13 @@
"path": "system.threading.tasks.extensions/4.5.4", "path": "system.threading.tasks.extensions/4.5.4",
"hashPath": "system.threading.tasks.extensions.4.5.4.nupkg.sha512" "hashPath": "system.threading.tasks.extensions.4.5.4.nupkg.sha512"
}, },
"System.ValueTuple/4.5.0": {
"type": "package",
"serviceable": true,
"sha512": "sha512-okurQJO6NRE/apDIP23ajJ0hpiNmJ+f0BwOlB/cSqTLQlw5upkf+5+96+iG2Jw40G1fCVCyPz/FhIABUjMR+RQ==",
"path": "system.valuetuple/4.5.0",
"hashPath": "system.valuetuple.4.5.0.nupkg.sha512"
},
"System.Windows.Extensions/4.7.0": { "System.Windows.Extensions/4.7.0": {
"type": "package", "type": "package",
"serviceable": true, "serviceable": true,
...@@ -5809,7 +5863,7 @@ ...@@ -5809,7 +5863,7 @@
"serviceable": false, "serviceable": false,
"sha512": "" "sha512": ""
}, },
"System.ValueTuple/4.0.3.0": { "System.ValueTuple.Reference/4.0.3.0": {
"type": "referenceassembly", "type": "referenceassembly",
"serviceable": false, "serviceable": false,
"sha512": "" "sha512": ""
......
ef805aa9ccb8f0bf3b1d9c70d8be22308c031977 6457512b0a3994b3438837f2392ebc439964b959
...@@ -178,3 +178,5 @@ C:\Users\HASAN\Desktop\Medic\WebPresentation\obj\Debug\net5.0\Razor\Views\Medica ...@@ -178,3 +178,5 @@ C:\Users\HASAN\Desktop\Medic\WebPresentation\obj\Debug\net5.0\Razor\Views\Medica
C:\Users\HASAN\Desktop\Medic\WebPresentation\obj\Debug\net5.0\Razor\Views\MedicalState\Delete.cshtml.g.cs C:\Users\HASAN\Desktop\Medic\WebPresentation\obj\Debug\net5.0\Razor\Views\MedicalState\Delete.cshtml.g.cs
C:\Users\HASAN\Desktop\Medic\WebPresentation\bin\Debug\net5.0\ApplicationDomain.dll C:\Users\HASAN\Desktop\Medic\WebPresentation\bin\Debug\net5.0\ApplicationDomain.dll
C:\Users\HASAN\Desktop\Medic\WebPresentation\bin\Debug\net5.0\ApplicationDomain.pdb C:\Users\HASAN\Desktop\Medic\WebPresentation\bin\Debug\net5.0\ApplicationDomain.pdb
C:\Users\HASAN\Desktop\Medic\WebPresentation\bin\Debug\net5.0\AutoMapper.dll
C:\Users\HASAN\Desktop\Medic\WebPresentation\bin\Debug\net5.0\AutoMapper.Extensions.Microsoft.DependencyInjection.dll
...@@ -44,9 +44,9 @@ ...@@ -44,9 +44,9 @@
"net5.0": { "net5.0": {
"targetAlias": "net5.0", "targetAlias": "net5.0",
"dependencies": { "dependencies": {
"AutoMapper": { "AutoMapper.Extensions.Microsoft.DependencyInjection": {
"target": "Package", "target": "Package",
"version": "[5.2.0, )" "version": "[5.0.1, )"
}, },
"Microsoft.AspNetCore.Identity.EntityFrameworkCore": { "Microsoft.AspNetCore.Identity.EntityFrameworkCore": {
"target": "Package", "target": "Package",
...@@ -124,9 +124,9 @@ ...@@ -124,9 +124,9 @@
"net5.0": { "net5.0": {
"targetAlias": "net5.0", "targetAlias": "net5.0",
"dependencies": { "dependencies": {
"AutoMapper": { "AutoMapper.Extensions.Microsoft.DependencyInjection": {
"target": "Package", "target": "Package",
"version": "[5.2.0, )" "version": "[5.0.1, )"
}, },
"Microsoft.AspNetCore.Identity.EntityFrameworkCore": { "Microsoft.AspNetCore.Identity.EntityFrameworkCore": {
"target": "Package", "target": "Package",
...@@ -294,9 +294,9 @@ ...@@ -294,9 +294,9 @@
"net5.0": { "net5.0": {
"targetAlias": "net5.0", "targetAlias": "net5.0",
"dependencies": { "dependencies": {
"AutoMapper": { "AutoMapper.Extensions.Microsoft.DependencyInjection": {
"target": "Package", "target": "Package",
"version": "[5.2.0, )" "version": "[5.0.1, )"
}, },
"Microsoft.AspNetCore.Identity.EntityFrameworkCore": { "Microsoft.AspNetCore.Identity.EntityFrameworkCore": {
"target": "Package", "target": "Package",
......
This diff is collapsed.
This diff is collapsed.
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment