diff --git a/API/CarParkValidationAPI.csproj b/API/CarParkValidationAPI.csproj index 2d21a70..cf8dcb5 100644 --- a/API/CarParkValidationAPI.csproj +++ b/API/CarParkValidationAPI.csproj @@ -1,22 +1,27 @@  - net8.0 + net10.0 punt - - - - - - - + + + + + + - + + + + + + ..\..\commonDLL\SpreadsheetLight.dll + diff --git a/API/CarParkValidationAPI.sln b/API/CarParkValidationAPI.sln index 25fd62b..f43a139 100644 --- a/API/CarParkValidationAPI.sln +++ b/API/CarParkValidationAPI.sln @@ -1,11 +1,11 @@  Microsoft Visual Studio Solution File, Format Version 12.00 -# Visual Studio Version 17 -VisualStudioVersion = 17.4.33122.133 +# Visual Studio Version 18 +VisualStudioVersion = 18.10.12210.168 stable MinimumVisualStudioVersion = 10.0.40219.1 Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "CarParkValidationAPI", "CarParkValidationAPI.csproj", "{74980A36-AF9D-44B4-991D-994E033AD54A}" EndProject -Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "CommonAD6", "..\..\CommonAD6\CommonAD6.csproj", "{05B28DB7-0D54-1EAB-130D-4A1DEE9C3A27}" +Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "CommonAD", "..\..\CommonAD6\CommonAD.csproj", "{48F9F9E4-C310-5B1A-D153-BD8BD910F815}" EndProject Global GlobalSection(SolutionConfigurationPlatforms) = preSolution @@ -17,10 +17,10 @@ Global {74980A36-AF9D-44B4-991D-994E033AD54A}.Debug|Any CPU.Build.0 = Debug|Any CPU {74980A36-AF9D-44B4-991D-994E033AD54A}.Release|Any CPU.ActiveCfg = Release|Any CPU {74980A36-AF9D-44B4-991D-994E033AD54A}.Release|Any CPU.Build.0 = Release|Any CPU - {05B28DB7-0D54-1EAB-130D-4A1DEE9C3A27}.Debug|Any CPU.ActiveCfg = Debug|Any CPU - {05B28DB7-0D54-1EAB-130D-4A1DEE9C3A27}.Debug|Any CPU.Build.0 = Debug|Any CPU - {05B28DB7-0D54-1EAB-130D-4A1DEE9C3A27}.Release|Any CPU.ActiveCfg = Release|Any CPU - {05B28DB7-0D54-1EAB-130D-4A1DEE9C3A27}.Release|Any CPU.Build.0 = Release|Any CPU + {48F9F9E4-C310-5B1A-D153-BD8BD910F815}.Debug|Any CPU.ActiveCfg = Debug|Any CPU + {48F9F9E4-C310-5B1A-D153-BD8BD910F815}.Debug|Any CPU.Build.0 = Debug|Any CPU + {48F9F9E4-C310-5B1A-D153-BD8BD910F815}.Release|Any CPU.ActiveCfg = Release|Any CPU + {48F9F9E4-C310-5B1A-D153-BD8BD910F815}.Release|Any CPU.Build.0 = Release|Any CPU EndGlobalSection GlobalSection(SolutionProperties) = preSolution HideSolutionNode = FALSE diff --git a/API/Repository/UserRepository.cs b/API/Repository/UserRepository.cs index 66d7370..efae965 100644 --- a/API/Repository/UserRepository.cs +++ b/API/Repository/UserRepository.cs @@ -11,7 +11,7 @@ using CarParkValidationAPI.Models; using CarParkValidationAPI.Datas; using CarParkValidationAPI.Interface; using Microsoft.EntityFrameworkCore; -using CommonAD.Models; + using CommonAD; using SpreadsheetLight; using System.IO; diff --git a/API/Startup.cs b/API/Startup.cs index f8533ea..2ae6f71 100644 --- a/API/Startup.cs +++ b/API/Startup.cs @@ -8,19 +8,15 @@ using CarParkValidationAPI.Repository; using Microsoft.AspNetCore.Authentication.JwtBearer; using Microsoft.AspNetCore.Builder; using Microsoft.AspNetCore.Hosting; -using Microsoft.AspNetCore.Mvc; -using Microsoft.EntityFrameworkCore; + using Microsoft.Extensions.Configuration; using Microsoft.Extensions.DependencyInjection; -using Microsoft.Extensions.Hosting; -using Microsoft.Extensions.Logging; + using Microsoft.IdentityModel.Tokens; -using Microsoft.OpenApi.Models; -using System; -using System.Collections.Generic; -using System.Linq; + + using System.Text; -using System.Threading.Tasks; + namespace CarParkValidationAPI {