From 3c5df33aab6e192a03d5a644995f76c45f1c5f18 Mon Sep 17 00:00:00 2001 From: tonyfages Date: Sat, 9 Mar 2024 08:45:36 +0100 Subject: [PATCH] Bd Fonctionnelle --- Verax_API_EF/.gitignore | 507 ++++++++++++++++++ .../.idea/.idea.Verax_API_EF/.idea/vcs.xml | 1 + Verax_API_EF/README.md | 2 + .../.idea/.idea.Verax_API_EF/.idea/.gitignore | 0 .../.idea.Verax_API_EF/.idea/indexLayout.xml | 0 .../.idea/.idea.Verax_API_EF/.idea/vcs.xml | 6 + .../{ => Verax_API_EF}/API/API.csproj | 0 Verax_API_EF/{ => Verax_API_EF}/API/API.http | 0 .../API/Controllers/ArticleController.cs | 128 ++--- .../API/Controllers/FormulaireController.cs | 100 ++-- .../API/Controllers/UserController.cs | 0 .../API/Entity_FrameWork.Article.db | Bin 0 -> 36864 bytes .../API/Entity_FrameWork.Article.db-shm | Bin 0 -> 32768 bytes .../API/Entity_FrameWork.Article.db-wal | Bin 0 -> 28872 bytes .../{ => Verax_API_EF}/API/Program.cs | 8 + .../API/Properties/launchSettings.json | 0 .../API/appsettings.Development.json | 2 +- .../{ => Verax_API_EF}/API/appsettings.json | 2 +- .../API_DbDataManager.csproj | 0 .../API_DbDataManager/DbManager.cs | 0 .../API_DbDataManager/DbManagerArticle.cs | 3 +- .../API_DbDataManager/DbManagerFormulaire.cs | 0 .../API_DbDataManager/DbManagerUser.cs | 0 .../API_DbDataManager/Extensions.cs | 0 .../API_Mapping/API_Mapping.csproj | 0 .../API_Mapping/ArticleMapper.cs | 0 .../API_Mapping/FormulaireMapping.cs | 0 .../API_Mapping/UserMapping.cs | 0 .../API_Model/API_Model.csproj | 0 .../API_Model/ArticleDTO.cs | 0 .../API_Model/FormulaireDTO.cs | 0 .../{ => Verax_API_EF}/API_Model/UserDTO.cs | 0 .../API_Services/API_Services.csproj | 0 .../API_Services/IArticleService.cs | 0 .../API_Services/IFormulaireService.cs | 0 .../API_Services/IUserService.cs | 0 .../DbContextLib/DbContextLib.csproj | 0 .../DbContextLib/LibraryContext.cs | 3 +- .../Entities/ArticleEntity.cs | 0 .../Entities/ArticleUserEntity.cs | 0 .../Entities/Entities.csproj | 0 .../{ => Verax_API_EF}/Entities/FormEntity.cs | 0 .../{ => Verax_API_EF}/Entities/UserEntity.cs | 0 .../{ => Verax_API_EF}/Model/ArticleEntity.cs | 0 .../{ => Verax_API_EF}/Model/Formulaire.cs | 0 .../{ => Verax_API_EF}/Model/Model.csproj | 0 Verax_API_EF/{ => Verax_API_EF}/Model/User.cs | 0 .../StubbedContextLib/Class1.cs | 0 .../20240307182411_mrg1.Designer.cs | 0 .../Migrations/20240307182411_mrg1.cs | 0 .../Migrations/StubbedContextModelSnapshot.cs | 0 .../StubbedContextLib/StubTest.cs | 0 .../StubbedContextLib.csproj | 0 .../Test_Console_EF/Program.cs | 0 .../Test_Console_EF/Test_Console_EF.csproj | 0 .../TestsUnitaires/Properties/AssemblyInfo.cs | 0 .../TestsUnitaires/Tests.cs | 0 .../TestsUnitaires/TestsUnitaires.csproj | 0 .../TestsUnitaires/packages.config | 0 .../{ => Verax_API_EF}/Verax_API_EF.sln | 0 .../{ => Verax_API_EF}/Program.cs | 0 .../{ => Verax_API_EF}/Verax_API_EF.csproj | 0 62 files changed, 643 insertions(+), 119 deletions(-) create mode 100644 Verax_API_EF/.gitignore create mode 100644 Verax_API_EF/README.md rename Verax_API_EF/{ => Verax_API_EF}/.idea/.idea.Verax_API_EF/.idea/.gitignore (100%) rename Verax_API_EF/{ => Verax_API_EF}/.idea/.idea.Verax_API_EF/.idea/indexLayout.xml (100%) create mode 100644 Verax_API_EF/Verax_API_EF/.idea/.idea.Verax_API_EF/.idea/vcs.xml rename Verax_API_EF/{ => Verax_API_EF}/API/API.csproj (100%) rename Verax_API_EF/{ => Verax_API_EF}/API/API.http (100%) rename Verax_API_EF/{ => Verax_API_EF}/API/Controllers/ArticleController.cs (94%) rename Verax_API_EF/{ => Verax_API_EF}/API/Controllers/FormulaireController.cs (96%) rename Verax_API_EF/{ => Verax_API_EF}/API/Controllers/UserController.cs (100%) create mode 100644 Verax_API_EF/Verax_API_EF/API/Entity_FrameWork.Article.db create mode 100644 Verax_API_EF/Verax_API_EF/API/Entity_FrameWork.Article.db-shm create mode 100644 Verax_API_EF/Verax_API_EF/API/Entity_FrameWork.Article.db-wal rename Verax_API_EF/{ => Verax_API_EF}/API/Program.cs (82%) rename Verax_API_EF/{ => Verax_API_EF}/API/Properties/launchSettings.json (100%) rename Verax_API_EF/{ => Verax_API_EF}/API/appsettings.Development.json (64%) rename Verax_API_EF/{ => Verax_API_EF}/API/appsettings.json (69%) rename Verax_API_EF/{ => Verax_API_EF}/API_DbDataManager/API_DbDataManager.csproj (100%) rename Verax_API_EF/{ => Verax_API_EF}/API_DbDataManager/DbManager.cs (100%) rename Verax_API_EF/{ => Verax_API_EF}/API_DbDataManager/DbManagerArticle.cs (97%) rename Verax_API_EF/{ => Verax_API_EF}/API_DbDataManager/DbManagerFormulaire.cs (100%) rename Verax_API_EF/{ => Verax_API_EF}/API_DbDataManager/DbManagerUser.cs (100%) rename Verax_API_EF/{ => Verax_API_EF}/API_DbDataManager/Extensions.cs (100%) rename Verax_API_EF/{ => Verax_API_EF}/API_Mapping/API_Mapping.csproj (100%) rename Verax_API_EF/{ => Verax_API_EF}/API_Mapping/ArticleMapper.cs (100%) rename Verax_API_EF/{ => Verax_API_EF}/API_Mapping/FormulaireMapping.cs (100%) rename Verax_API_EF/{ => Verax_API_EF}/API_Mapping/UserMapping.cs (100%) rename Verax_API_EF/{ => Verax_API_EF}/API_Model/API_Model.csproj (100%) rename Verax_API_EF/{ => Verax_API_EF}/API_Model/ArticleDTO.cs (100%) rename Verax_API_EF/{ => Verax_API_EF}/API_Model/FormulaireDTO.cs (100%) rename Verax_API_EF/{ => Verax_API_EF}/API_Model/UserDTO.cs (100%) rename Verax_API_EF/{ => Verax_API_EF}/API_Services/API_Services.csproj (100%) rename Verax_API_EF/{ => Verax_API_EF}/API_Services/IArticleService.cs (100%) rename Verax_API_EF/{ => Verax_API_EF}/API_Services/IFormulaireService.cs (100%) rename Verax_API_EF/{ => Verax_API_EF}/API_Services/IUserService.cs (100%) rename Verax_API_EF/{ => Verax_API_EF}/DbContextLib/DbContextLib.csproj (100%) rename Verax_API_EF/{ => Verax_API_EF}/DbContextLib/LibraryContext.cs (98%) rename Verax_API_EF/{ => Verax_API_EF}/Entities/ArticleEntity.cs (100%) rename Verax_API_EF/{ => Verax_API_EF}/Entities/ArticleUserEntity.cs (100%) rename Verax_API_EF/{ => Verax_API_EF}/Entities/Entities.csproj (100%) rename Verax_API_EF/{ => Verax_API_EF}/Entities/FormEntity.cs (100%) rename Verax_API_EF/{ => Verax_API_EF}/Entities/UserEntity.cs (100%) rename Verax_API_EF/{ => Verax_API_EF}/Model/ArticleEntity.cs (100%) rename Verax_API_EF/{ => Verax_API_EF}/Model/Formulaire.cs (100%) rename Verax_API_EF/{ => Verax_API_EF}/Model/Model.csproj (100%) rename Verax_API_EF/{ => Verax_API_EF}/Model/User.cs (100%) rename Verax_API_EF/{ => Verax_API_EF}/StubbedContextLib/Class1.cs (100%) rename Verax_API_EF/{ => Verax_API_EF}/StubbedContextLib/Migrations/20240307182411_mrg1.Designer.cs (100%) rename Verax_API_EF/{ => Verax_API_EF}/StubbedContextLib/Migrations/20240307182411_mrg1.cs (100%) rename Verax_API_EF/{ => Verax_API_EF}/StubbedContextLib/Migrations/StubbedContextModelSnapshot.cs (100%) rename Verax_API_EF/{ => Verax_API_EF}/StubbedContextLib/StubTest.cs (100%) rename Verax_API_EF/{ => Verax_API_EF}/StubbedContextLib/StubbedContextLib.csproj (100%) rename Verax_API_EF/{ => Verax_API_EF}/Test_Console_EF/Program.cs (100%) rename Verax_API_EF/{ => Verax_API_EF}/Test_Console_EF/Test_Console_EF.csproj (100%) rename Verax_API_EF/{ => Verax_API_EF}/TestsUnitaires/Properties/AssemblyInfo.cs (100%) rename Verax_API_EF/{ => Verax_API_EF}/TestsUnitaires/Tests.cs (100%) rename Verax_API_EF/{ => Verax_API_EF}/TestsUnitaires/TestsUnitaires.csproj (100%) rename Verax_API_EF/{ => Verax_API_EF}/TestsUnitaires/packages.config (100%) rename Verax_API_EF/{ => Verax_API_EF}/Verax_API_EF.sln (100%) rename Verax_API_EF/Verax_API_EF/{ => Verax_API_EF}/Program.cs (100%) rename Verax_API_EF/Verax_API_EF/{ => Verax_API_EF}/Verax_API_EF.csproj (100%) diff --git a/Verax_API_EF/.gitignore b/Verax_API_EF/.gitignore new file mode 100644 index 0000000..bc37588 --- /dev/null +++ b/Verax_API_EF/.gitignore @@ -0,0 +1,507 @@ +# ---> macOS +# General +.DS_Store +.AppleDouble +.LSOverride + +# Icon must end with two \r +Icon + +# Thumbnails +._* + +# Files that might appear in the root of a volume +.DocumentRevisions-V100 +.fseventsd +.Spotlight-V100 +.TemporaryItems +.Trashes +.VolumeIcon.icns +.com.apple.timemachine.donotpresent + +# Directories potentially created on remote AFP share +.AppleDB +.AppleDesktop +Network Trash Folder +Temporary Items +.apdisk + +# ---> VisualStudio +## Ignore Visual Studio temporary files, build results, and +## files generated by popular Visual Studio add-ons. +## +## Get latest from https://github.com/github/gitignore/blob/main/VisualStudio.gitignore + +# User-specific files +*.rsuser +*.suo +*.user +*.userosscache +*.sln.docstates + +# User-specific files (MonoDevelop/Xamarin Studio) +*.userprefs + +# Mono auto generated files +mono_crash.* + +# Build results +[Dd]ebug/ +[Dd]ebugPublic/ +[Rr]elease/ +[Rr]eleases/ +x64/ +x86/ +[Ww][Ii][Nn]32/ +[Aa][Rr][Mm]/ +[Aa][Rr][Mm]64/ +bld/ +[Bb]in/ +[Oo]bj/ +[Ll]og/ +[Ll]ogs/ + +# Visual Studio 2015/2017 cache/options directory +.vs/ +# Uncomment if you have tasks that create the project's static files in wwwroot +#wwwroot/ + +# Visual Studio 2017 auto generated files +Generated\ Files/ + +# MSTest test Results +[Tt]est[Rr]esult*/ +[Bb]uild[Ll]og.* + +# NUnit +*.VisualState.xml +TestResult.xml +nunit-*.xml + +# Build Results of an ATL Project +[Dd]ebugPS/ +[Rr]eleasePS/ +dlldata.c + +# Benchmark Results +BenchmarkDotNet.Artifacts/ + +# .NET Core +project.lock.json +project.fragment.lock.json +artifacts/ + +# ASP.NET Scaffolding +ScaffoldingReadMe.txt + +# StyleCop +StyleCopReport.xml + +# Files built by Visual Studio +*_i.c +*_p.c +*_h.h +*.ilk +*.meta +*.obj +*.iobj +*.pch +*.pdb +*.ipdb +*.pgc +*.pgd +*.rsp +*.sbr +*.tlb +*.tli +*.tlh +*.tmp +*.tmp_proj +*_wpftmp.csproj +*.log +*.tlog +*.vspscc +*.vssscc +.builds +*.pidb +*.svclog +*.scc + +# Chutzpah Test files +_Chutzpah* + +# Visual C++ cache files +ipch/ +*.aps +*.ncb +*.opendb +*.opensdf +*.sdf +*.cachefile +*.VC.db +*.VC.VC.opendb + +# Visual Studio profiler +*.psess +*.vsp +*.vspx +*.sap + +# Visual Studio Trace Files +*.e2e + +# TFS 2012 Local Workspace +$tf/ + +# Guidance Automation Toolkit +*.gpState + +# ReSharper is a .NET coding add-in +_ReSharper*/ +*.[Rr]e[Ss]harper +*.DotSettings.user + +# TeamCity is a build add-in +_TeamCity* + +# DotCover is a Code Coverage Tool +*.dotCover + +# AxoCover is a Code Coverage Tool +.axoCover/* +!.axoCover/settings.json + +# Coverlet is a free, cross platform Code Coverage Tool +coverage*.json +coverage*.xml +coverage*.info + +# Visual Studio code coverage results +*.coverage +*.coveragexml + +# NCrunch +_NCrunch_* +.*crunch*.local.xml +nCrunchTemp_* + +# MightyMoose +*.mm.* +AutoTest.Net/ + +# Web workbench (sass) +.sass-cache/ + +# Installshield output folder +[Ee]xpress/ + +# DocProject is a documentation generator add-in +DocProject/buildhelp/ +DocProject/Help/*.HxT +DocProject/Help/*.HxC +DocProject/Help/*.hhc +DocProject/Help/*.hhk +DocProject/Help/*.hhp +DocProject/Help/Html2 +DocProject/Help/html + +# Click-Once directory +publish/ + +# Publish Web Output +*.[Pp]ublish.xml +*.azurePubxml +# Note: Comment the next line if you want to checkin your web deploy settings, +# but database connection strings (with potential passwords) will be unencrypted +*.pubxml +*.publishproj + +# Microsoft Azure Web App publish settings. Comment the next line if you want to +# checkin your Azure Web App publish settings, but sensitive information contained +# in these scripts will be unencrypted +PublishScripts/ + +# NuGet Packages +*.nupkg +# NuGet Symbol Packages +*.snupkg +# The packages folder can be ignored because of Package Restore +**/[Pp]ackages/* +# except build/, which is used as an MSBuild target. +!**/[Pp]ackages/build/ +# Uncomment if necessary however generally it will be regenerated when needed +#!**/[Pp]ackages/repositories.config +# NuGet v3's project.json files produces more ignorable files +*.nuget.props +*.nuget.targets + +# Microsoft Azure Build Output +csx/ +*.build.csdef + +# Microsoft Azure Emulator +ecf/ +rcf/ + +# Windows Store app package directories and files +AppPackages/ +BundleArtifacts/ +Package.StoreAssociation.xml +_pkginfo.txt +*.appx +*.appxbundle +*.appxupload + +# Visual Studio cache files +# files ending in .cache can be ignored +*.[Cc]ache +# but keep track of directories ending in .cache +!?*.[Cc]ache/ + +# Others +ClientBin/ +~$* +*~ +*.dbmdl +*.dbproj.schemaview +*.jfm +*.pfx +*.publishsettings +orleans.codegen.cs + +# Including strong name files can present a security risk +# (https://github.com/github/gitignore/pull/2483#issue-259490424) +#*.snk + +# Since there are multiple workflows, uncomment next line to ignore bower_components +# (https://github.com/github/gitignore/pull/1529#issuecomment-104372622) +#bower_components/ + +# RIA/Silverlight projects +Generated_Code/ + +# Backup & report files from converting an old project file +# to a newer Visual Studio version. Backup files are not needed, +# because we have git ;-) +_UpgradeReport_Files/ +Backup*/ +UpgradeLog*.XML +UpgradeLog*.htm +ServiceFabricBackup/ +*.rptproj.bak + +# SQL Server files +*.mdf +*.ldf +*.ndf + +# Business Intelligence projects +*.rdl.data +*.bim.layout +*.bim_*.settings +*.rptproj.rsuser +*- [Bb]ackup.rdl +*- [Bb]ackup ([0-9]).rdl +*- [Bb]ackup ([0-9][0-9]).rdl + +# Microsoft Fakes +FakesAssemblies/ + +# GhostDoc plugin setting file +*.GhostDoc.xml + +# Node.js Tools for Visual Studio +.ntvs_analysis.dat +node_modules/ + +# Visual Studio 6 build log +*.plg + +# Visual Studio 6 workspace options file +*.opt + +# Visual Studio 6 auto-generated workspace file (contains which files were open etc.) +*.vbw + +# Visual Studio 6 auto-generated project file (contains which files were open etc.) +*.vbp + +# Visual Studio 6 workspace and project file (working project files containing files to include in project) +*.dsw +*.dsp + +# Visual Studio 6 technical files +*.ncb +*.aps + +# Visual Studio LightSwitch build output +**/*.HTMLClient/GeneratedArtifacts +**/*.DesktopClient/GeneratedArtifacts +**/*.DesktopClient/ModelManifest.xml +**/*.Server/GeneratedArtifacts +**/*.Server/ModelManifest.xml +_Pvt_Extensions + +# Paket dependency manager +.paket/paket.exe +paket-files/ + +# FAKE - F# Make +.fake/ + +# CodeRush personal settings +.cr/personal + +# Python Tools for Visual Studio (PTVS) +__pycache__/ +*.pyc + +# Cake - Uncomment if you are using it +# tools/** +# !tools/packages.config + +# Tabs Studio +*.tss + +# Telerik's JustMock configuration file +*.jmconfig + +# BizTalk build output +*.btp.cs +*.btm.cs +*.odx.cs +*.xsd.cs + +# OpenCover UI analysis results +OpenCover/ + +# Azure Stream Analytics local run output +ASALocalRun/ + +# MSBuild Binary and Structured Log +*.binlog + +# NVidia Nsight GPU debugger configuration file +*.nvuser + +# MFractors (Xamarin productivity tool) working folder +.mfractor/ + +# Local History for Visual Studio +.localhistory/ + +# Visual Studio History (VSHistory) files +.vshistory/ + +# BeatPulse healthcheck temp database +healthchecksdb + +# Backup folder for Package Reference Convert tool in Visual Studio 2017 +MigrationBackup/ + +# Ionide (cross platform F# VS Code tools) working folder +.ionide/ + +# Fody - auto-generated XML schema +FodyWeavers.xsd + +# VS Code files for those working on multiple tools +.vscode/* +!.vscode/settings.json +!.vscode/tasks.json +!.vscode/launch.json +!.vscode/extensions.json +*.code-workspace + +# Local History for Visual Studio Code +.history/ + +# Windows Installer files from build outputs +*.cab +*.msi +*.msix +*.msm +*.msp + +# JetBrains Rider +*.sln.iml + +# ---> JetBrains +# Covers JetBrains IDEs: IntelliJ, RubyMine, PhpStorm, AppCode, PyCharm, CLion, Android Studio, WebStorm and Rider +# Reference: https://intellij-support.jetbrains.com/hc/en-us/articles/206544839 + +# User-specific stuff +.idea/**/workspace.xml +.idea/**/tasks.xml +.idea/**/usage.statistics.xml +.idea/**/dictionaries +.idea/**/shelf + +# AWS User-specific +.idea/**/aws.xml + +# Generated files +.idea/**/contentModel.xml + +# Sensitive or high-churn files +.idea/**/dataSources/ +.idea/**/dataSources.ids +.idea/**/dataSources.local.xml +.idea/**/sqlDataSources.xml +.idea/**/dynamic.xml +.idea/**/uiDesigner.xml +.idea/**/dbnavigator.xml + +# Gradle +.idea/**/gradle.xml +.idea/**/libraries + +# Gradle and Maven with auto-import +# When using Gradle or Maven with auto-import, you should exclude module files, +# since they will be recreated, and may cause churn. Uncomment if using +# auto-import. +# .idea/artifacts +# .idea/compiler.xml +# .idea/jarRepositories.xml +# .idea/modules.xml +# .idea/*.iml +# .idea/modules +# *.iml +# *.ipr + +# CMake +cmake-build-*/ + +# Mongo Explorer plugin +.idea/**/mongoSettings.xml + +# File-based project format +*.iws + +# IntelliJ +out/ + +# mpeltonen/sbt-idea plugin +.idea_modules/ + +# JIRA plugin +atlassian-ide-plugin.xml + +# Cursive Clojure plugin +.idea/replstate.xml + +# SonarLint plugin +.idea/sonarlint/ + +# Crashlytics plugin (for Android Studio and IntelliJ) +com_crashlytics_export_strings.xml +crashlytics.properties +crashlytics-build.properties +fabric.properties + +# Editor-based Rest Client +.idea/httpRequests + +# Android studio 3.1+ serialized cache file +.idea/caches/build_file_checksums.ser + diff --git a/Verax_API_EF/.idea/.idea.Verax_API_EF/.idea/vcs.xml b/Verax_API_EF/.idea/.idea.Verax_API_EF/.idea/vcs.xml index 6c0b863..288b36b 100644 --- a/Verax_API_EF/.idea/.idea.Verax_API_EF/.idea/vcs.xml +++ b/Verax_API_EF/.idea/.idea.Verax_API_EF/.idea/vcs.xml @@ -2,5 +2,6 @@ + \ No newline at end of file diff --git a/Verax_API_EF/README.md b/Verax_API_EF/README.md new file mode 100644 index 0000000..c0ccf33 --- /dev/null +++ b/Verax_API_EF/README.md @@ -0,0 +1,2 @@ +# Verax_API_EF + diff --git a/Verax_API_EF/.idea/.idea.Verax_API_EF/.idea/.gitignore b/Verax_API_EF/Verax_API_EF/.idea/.idea.Verax_API_EF/.idea/.gitignore similarity index 100% rename from Verax_API_EF/.idea/.idea.Verax_API_EF/.idea/.gitignore rename to Verax_API_EF/Verax_API_EF/.idea/.idea.Verax_API_EF/.idea/.gitignore diff --git a/Verax_API_EF/.idea/.idea.Verax_API_EF/.idea/indexLayout.xml b/Verax_API_EF/Verax_API_EF/.idea/.idea.Verax_API_EF/.idea/indexLayout.xml similarity index 100% rename from Verax_API_EF/.idea/.idea.Verax_API_EF/.idea/indexLayout.xml rename to Verax_API_EF/Verax_API_EF/.idea/.idea.Verax_API_EF/.idea/indexLayout.xml diff --git a/Verax_API_EF/Verax_API_EF/.idea/.idea.Verax_API_EF/.idea/vcs.xml b/Verax_API_EF/Verax_API_EF/.idea/.idea.Verax_API_EF/.idea/vcs.xml new file mode 100644 index 0000000..6c0b863 --- /dev/null +++ b/Verax_API_EF/Verax_API_EF/.idea/.idea.Verax_API_EF/.idea/vcs.xml @@ -0,0 +1,6 @@ + + + + + + \ No newline at end of file diff --git a/Verax_API_EF/API/API.csproj b/Verax_API_EF/Verax_API_EF/API/API.csproj similarity index 100% rename from Verax_API_EF/API/API.csproj rename to Verax_API_EF/Verax_API_EF/API/API.csproj diff --git a/Verax_API_EF/API/API.http b/Verax_API_EF/Verax_API_EF/API/API.http similarity index 100% rename from Verax_API_EF/API/API.http rename to Verax_API_EF/Verax_API_EF/API/API.http diff --git a/Verax_API_EF/API/Controllers/ArticleController.cs b/Verax_API_EF/Verax_API_EF/API/Controllers/ArticleController.cs similarity index 94% rename from Verax_API_EF/API/Controllers/ArticleController.cs rename to Verax_API_EF/Verax_API_EF/API/Controllers/ArticleController.cs index 5388d4d..2df9a5d 100644 --- a/Verax_API_EF/API/Controllers/ArticleController.cs +++ b/Verax_API_EF/Verax_API_EF/API/Controllers/ArticleController.cs @@ -1,64 +1,64 @@ -using API_Services; -using Microsoft.AspNetCore.Mvc; -using Model; - - -namespace API.Controllers -{ - [Route("api/[controller]")] - [ApiController] - public class ArticleController : ControllerBase - { - - private readonly IArticleService _articleService; - - public ArticleController(IArticleService articleService) - { - _articleService = articleService; - } - - [HttpGet("/articles")] - public async Task GetAllArticles() - { - var result = await _articleService.GetAllArticles(); - if (result == null) - { - return NotFound(); - } - return Ok(result); - } - - [HttpGet("/article/{id}")] - public async Task GetArticleById(int id) - { - var result = await _articleService.GetArticleById(id); - if (result == null) - { - return null; - } - return result; - } - - - - [HttpPost("/article")] - public async Task CreateArticle(long id, string title, string description, string author, string date, int lectureTime) - { - return await _articleService.CreateArticle(id, title, description, author, date, lectureTime); - } - - [HttpDelete("/article/{id}")] - public async Task DeleteArticle(long id) - { - return await _articleService.DeleteArticle(id); - } - - [HttpPut("/article/{id}")] - public async Task UpdateArticle(long id, ArticleEntity? a) - { - return await _articleService.UpdateArticle(id, a); - } - - - } -} +using API_Services; +using Microsoft.AspNetCore.Mvc; +using Model; + + +namespace API.Controllers +{ + [Route("api/[controller]")] + [ApiController] + public class ArticleController : ControllerBase + { + + private readonly IArticleService _articleService; + + public ArticleController(IArticleService articleService) + { + _articleService = articleService; + } + + [HttpGet] + public async Task GetAllArticles() + { + var result = await _articleService.GetAllArticles(); + if (result == null) + { + return NotFound(); + } + return Ok(result); + } + + [HttpGet("/article/{id}")] + public async Task GetArticleById(int id) + { + var result = await _articleService.GetArticleById(id); + if (result == null) + { + return null; + } + return result; + } + + + + [HttpPost("/article")] + public async Task CreateArticle(long id, string title, string description, string author, string date, int lectureTime) + { + return await _articleService.CreateArticle(id, title, description, author, date, lectureTime); + } + + [HttpDelete("/article/{id}")] + public async Task DeleteArticle(long id) + { + return await _articleService.DeleteArticle(id); + } + + [HttpPut("/article/{id}")] + public async Task UpdateArticle(long id, ArticleEntity? a) + { + return await _articleService.UpdateArticle(id, a); + } + + + } +} diff --git a/Verax_API_EF/API/Controllers/FormulaireController.cs b/Verax_API_EF/Verax_API_EF/API/Controllers/FormulaireController.cs similarity index 96% rename from Verax_API_EF/API/Controllers/FormulaireController.cs rename to Verax_API_EF/Verax_API_EF/API/Controllers/FormulaireController.cs index 653ec45..db249bd 100644 --- a/Verax_API_EF/API/Controllers/FormulaireController.cs +++ b/Verax_API_EF/Verax_API_EF/API/Controllers/FormulaireController.cs @@ -1,51 +1,51 @@ -using Microsoft.AspNetCore.Mvc; -using API_Services; -using Model; -using System; -using System.Collections.Generic; -using System.Threading.Tasks; - -namespace API.Controllers -{ - [Route("api/[controller]")] - [ApiController] - public class FormulaireController : ControllerBase - { - private readonly IFormulaireService _form; - - public FormulaireController(IFormulaireService iform) - { - this._form = iform; - } - - [HttpGet("/forms/{id}")] - public Task> GetAllForm() - { - throw new NotImplementedException(); - } - - [HttpGet("{id}")] - public Task GetById(long id) - { - throw new NotImplementedException(); - } - - [HttpPost] - public Task CreateForm(Formulaire formulaire) - { - throw new NotImplementedException(); - } - - [HttpDelete("{id}")] - public Task DeleteForm(long id) - { - throw new NotImplementedException(); - } - - [HttpPut("{id}")] - public Task UpdateForm(long id, Formulaire formulaire) - { - throw new NotImplementedException(); - } - } +using Microsoft.AspNetCore.Mvc; +using API_Services; +using Model; +using System; +using System.Collections.Generic; +using System.Threading.Tasks; + +namespace API.Controllers +{ + [Route("api/[controller]")] + [ApiController] + public class FormulaireController : ControllerBase + { + private readonly IFormulaireService _form; + + public FormulaireController(IFormulaireService iform) + { + this._form = iform; + } + + [HttpGet("/forms/{id}")] + public Task> GetAllForm() + { + throw new NotImplementedException(); + } + + [HttpGet("{id}")] + public Task GetById(long id) + { + throw new NotImplementedException(); + } + + [HttpPost] + public Task CreateForm(Formulaire formulaire) + { + throw new NotImplementedException(); + } + + [HttpDelete("{id}")] + public Task DeleteForm(long id) + { + throw new NotImplementedException(); + } + + [HttpPut("{id}")] + public Task UpdateForm(long id, Formulaire formulaire) + { + throw new NotImplementedException(); + } + } } \ No newline at end of file diff --git a/Verax_API_EF/API/Controllers/UserController.cs b/Verax_API_EF/Verax_API_EF/API/Controllers/UserController.cs similarity index 100% rename from Verax_API_EF/API/Controllers/UserController.cs rename to Verax_API_EF/Verax_API_EF/API/Controllers/UserController.cs diff --git a/Verax_API_EF/Verax_API_EF/API/Entity_FrameWork.Article.db b/Verax_API_EF/Verax_API_EF/API/Entity_FrameWork.Article.db new file mode 100644 index 0000000000000000000000000000000000000000..f8ff2c6071787d0a2b06ac00c729944c1f5627f5 GIT binary patch literal 36864 zcmeI)+iN3L90%~ZB+W(IS(Ff@4?UU1wPAbNW?exE8GwyN!Vsg5Cn-{F?tP`1=<8`=9sZL)fC zMvGc7RAOmp540L9R~oFmTP(7jO1a*sWobWCs}F~=Dy!BCrEG1VJ=FGDcDGR}lqvI) zR&J~fGHbMWhpVii?NLU4W`0yocX+jb*fyKGW7^jIL`BnjG(V==<9)-PA2;@&SD8Wi zlQqhZYUFXx_8FDsD>bd~pzKw1wimFPme*=pc}J@=uY=IxZi`USX}AC6w4z2mZ6{mb z$>y|p`ss~OB)PdMeqQm~CeWIJ9pUNr3dB=k1MJIGTlEhgj)!1d2YIN$=M*~G^s9kv z*9I1&V$#8ENj;G5aF5#rfis5!EiYE{ZGZW_$ioHM>1K`NY#zX(4(0wz%*4_}D%ExX-O7 zp9#uSUNe!amfqoObY%L;nixr@QsUE_lOvkC%(xRuQ#lPs%b<5&e%c-9cZr$TbOMzh zba*w#d(EzSa`CJ?nwonpPQMN2&E7@cboyQ1Fx}~W_Sc19PPXr~?C#9*@$@2fQ+erI zLHR<-&|8 z_L$vwm~I)&bSSCQ;_Q(39M){vO}kAWhcf;l?`G~~GV6Ef=j}lbHE!rqMA$q{i7WJR zs#k(pZP^xQTlWGxE-vN7J7l^9xnXx$y<<8pQ;Z0O4i#~~%k@X5bI+`z5U%?^Eu zVxwtyO1AO!S6$t)yQ`9)K0$Zx>u!4QK>-Rlc4vE--o40Q7o$QlkxZnM4cj`)yGir( z1VGOXIrQ2-9;VJ39n*5J|HI1ng7UZWr}C@v6K!IF00bZa0SG_<0uX=z1Rwwb2teS9 z353J4D9UmuB*#QKEV}_IEYV7$H#ruIQ+>k9ckcE7AIdMvkF<#e0uX=z1Rwwb2tWV= z5P$##AOL|YBoGOS?zMk-Atchpf5;0;vOHKzQYaLQ#oYV<^iTh>KmY;|fB*y_009U< z00Izz00ba#jRgkx|DOxWKgwUq@AL$~^J`pLR1E?UfB*y_009U<00Izz00ba#odvw_ w0QlboaJT8+KYbk_B>T_*R&FpSAlbvV# zuYVaADUE2YD9TQ(z35?GKK7I2Y&X4~HlzD?IKM6j=f$f3=likMJ89qNPd<;oOFgby z(RQ>OP4}tkyMzD%0t5&UAV7cs0RjXF5FkK+009C72oNAZfB*pk1PBlyK!5-N0t5&U zAV7cs0RjXF5FkK+009C72oNAZfB*pk1PBlyK!5-N0#y^J#l)2~Z$${?Cy*u*2>}8G z2;?P@Cd&zdJO#{D%=5oHH30&73pDdSzS9#RK!5-N0t5&UAV7cs0RjXF5FkK+009C7 X2oNAZfB*pk1PBlyK!5;&N(j6FuRkW> literal 0 HcmV?d00001 diff --git a/Verax_API_EF/Verax_API_EF/API/Entity_FrameWork.Article.db-wal b/Verax_API_EF/Verax_API_EF/API/Entity_FrameWork.Article.db-wal new file mode 100644 index 0000000000000000000000000000000000000000..a3fd20b5f25bc83797d43bb9369bbb553d70e0a5 GIT binary patch literal 28872 zcmeI)O=uHA6bJCxoup}MlPMI$+C!!ks|SlUP&J_7R}Vc@#MYCi-Rz`Unva^@rdSZg zo1$Kd6pJF_t$Go>h#sUukA(_eq=#ZHg0*7(z=IxqliDvuycL)Jhh%4Fvzy8LZBCEj z?Y~fUiM77o##kNG?Rx6n_{ANIS4O4|-hDNenxIqW+VeLLJim6BHQ$Sg8_bMPGLei= zQilcs2tWV=5P$##AOHafKmY;|2!MdiBdqm&Q#8@l(zVl*1vMy3D(&{G-{;cxWO2Zk zR>6_3PnY^xC2i&TGMz1^i#f|zQk7LH*_KSUw$W?f(l?w^j%7yJp1~#~(L=ZB72K2A zVnNBh?SGv3`zrmFTh_0@dy0A4op=2#N%wW;X^EpHW%ap*UU@*W#aMJ)_jflLHh;f znD{0ZDKjufLo^6L00Izz00bZa0SG_<0uX=z1cE3~*)#BK=YSrYrrtgfqEPf(ZyZ?3 z3*7dmqMctChGQbRR9|2g^#y|X$nl#Y009U<00Izz00bZa0SIhPfsLpyK(Y@5RbQZy z3L@0kH&@p?s$6zF&!>Y^E>YP6$MqqUxHz8^W zKmY;|fB*y_009U<00IyQn!pC-1up*=d4ZPN2y19a7zs7xm7R=}u``ZsQ%7SvQ%keT z*#1{ufYVc6*)Q;^Zs@_GXKf=fI%$eoCO*;u4FV8=00bZa0SG_<0uX=z1Rwx`pbBg; ad82XKQ>AX@^SHsAj3XuAP3IKNYkvZieUS$M literal 0 HcmV?d00001 diff --git a/Verax_API_EF/API/Program.cs b/Verax_API_EF/Verax_API_EF/API/Program.cs similarity index 82% rename from Verax_API_EF/API/Program.cs rename to Verax_API_EF/Verax_API_EF/API/Program.cs index 8ed48e2..167fa53 100644 --- a/Verax_API_EF/API/Program.cs +++ b/Verax_API_EF/Verax_API_EF/API/Program.cs @@ -18,6 +18,7 @@ builder.Services.AddSwaggerGen(); builder.Services.AddDbContext(options => { options.UseSqlite("Data Source=Entity_FrameWork.Article.db"); + }); builder.Services.AddScoped(); builder.Services.AddScoped(); @@ -33,6 +34,13 @@ if (app.Environment.IsDevelopment()) } app.UseHttpsRedirection(); +app.MapControllers(); + app.Run(); + +using var scoped = app.Services.CreateScope(); +var libraryContext = scoped.ServiceProvider.GetService(); +libraryContext.Database.EnsureCreated(); + diff --git a/Verax_API_EF/API/Properties/launchSettings.json b/Verax_API_EF/Verax_API_EF/API/Properties/launchSettings.json similarity index 100% rename from Verax_API_EF/API/Properties/launchSettings.json rename to Verax_API_EF/Verax_API_EF/API/Properties/launchSettings.json diff --git a/Verax_API_EF/API/appsettings.Development.json b/Verax_API_EF/Verax_API_EF/API/appsettings.Development.json similarity index 64% rename from Verax_API_EF/API/appsettings.Development.json rename to Verax_API_EF/Verax_API_EF/API/appsettings.Development.json index 0c208ae..3e1a225 100644 --- a/Verax_API_EF/API/appsettings.Development.json +++ b/Verax_API_EF/Verax_API_EF/API/appsettings.Development.json @@ -2,7 +2,7 @@ "Logging": { "LogLevel": { "Default": "Information", - "Microsoft.AspNetCore": "Warning" + "Microsoft.AspNetCore": "Information" } } } diff --git a/Verax_API_EF/API/appsettings.json b/Verax_API_EF/Verax_API_EF/API/appsettings.json similarity index 69% rename from Verax_API_EF/API/appsettings.json rename to Verax_API_EF/Verax_API_EF/API/appsettings.json index 10f68b8..4282acb 100644 --- a/Verax_API_EF/API/appsettings.json +++ b/Verax_API_EF/Verax_API_EF/API/appsettings.json @@ -2,7 +2,7 @@ "Logging": { "LogLevel": { "Default": "Information", - "Microsoft.AspNetCore": "Warning" + "Microsoft.AspNetCore": "Information" } }, "AllowedHosts": "*" diff --git a/Verax_API_EF/API_DbDataManager/API_DbDataManager.csproj b/Verax_API_EF/Verax_API_EF/API_DbDataManager/API_DbDataManager.csproj similarity index 100% rename from Verax_API_EF/API_DbDataManager/API_DbDataManager.csproj rename to Verax_API_EF/Verax_API_EF/API_DbDataManager/API_DbDataManager.csproj diff --git a/Verax_API_EF/API_DbDataManager/DbManager.cs b/Verax_API_EF/Verax_API_EF/API_DbDataManager/DbManager.cs similarity index 100% rename from Verax_API_EF/API_DbDataManager/DbManager.cs rename to Verax_API_EF/Verax_API_EF/API_DbDataManager/DbManager.cs diff --git a/Verax_API_EF/API_DbDataManager/DbManagerArticle.cs b/Verax_API_EF/Verax_API_EF/API_DbDataManager/DbManagerArticle.cs similarity index 97% rename from Verax_API_EF/API_DbDataManager/DbManagerArticle.cs rename to Verax_API_EF/Verax_API_EF/API_DbDataManager/DbManagerArticle.cs index d0c6d0d..ee3176c 100644 --- a/Verax_API_EF/API_DbDataManager/DbManagerArticle.cs +++ b/Verax_API_EF/Verax_API_EF/API_DbDataManager/DbManagerArticle.cs @@ -6,6 +6,7 @@ using ArticleEntity = Model.ArticleEntity; namespace DbDataManager; + public class DbManagerArticle : IArticleService { private readonly LibraryContext _context; @@ -64,8 +65,6 @@ public class DbManagerArticle : IArticleService public async Task> GetAllArticles() { - Console.WriteLine("GetAllArticles"); return await Task.FromResult(_context.ArticleSet.Select(a => a.ToModel()).AsEnumerable()); - } } \ No newline at end of file diff --git a/Verax_API_EF/API_DbDataManager/DbManagerFormulaire.cs b/Verax_API_EF/Verax_API_EF/API_DbDataManager/DbManagerFormulaire.cs similarity index 100% rename from Verax_API_EF/API_DbDataManager/DbManagerFormulaire.cs rename to Verax_API_EF/Verax_API_EF/API_DbDataManager/DbManagerFormulaire.cs diff --git a/Verax_API_EF/API_DbDataManager/DbManagerUser.cs b/Verax_API_EF/Verax_API_EF/API_DbDataManager/DbManagerUser.cs similarity index 100% rename from Verax_API_EF/API_DbDataManager/DbManagerUser.cs rename to Verax_API_EF/Verax_API_EF/API_DbDataManager/DbManagerUser.cs diff --git a/Verax_API_EF/API_DbDataManager/Extensions.cs b/Verax_API_EF/Verax_API_EF/API_DbDataManager/Extensions.cs similarity index 100% rename from Verax_API_EF/API_DbDataManager/Extensions.cs rename to Verax_API_EF/Verax_API_EF/API_DbDataManager/Extensions.cs diff --git a/Verax_API_EF/API_Mapping/API_Mapping.csproj b/Verax_API_EF/Verax_API_EF/API_Mapping/API_Mapping.csproj similarity index 100% rename from Verax_API_EF/API_Mapping/API_Mapping.csproj rename to Verax_API_EF/Verax_API_EF/API_Mapping/API_Mapping.csproj diff --git a/Verax_API_EF/API_Mapping/ArticleMapper.cs b/Verax_API_EF/Verax_API_EF/API_Mapping/ArticleMapper.cs similarity index 100% rename from Verax_API_EF/API_Mapping/ArticleMapper.cs rename to Verax_API_EF/Verax_API_EF/API_Mapping/ArticleMapper.cs diff --git a/Verax_API_EF/API_Mapping/FormulaireMapping.cs b/Verax_API_EF/Verax_API_EF/API_Mapping/FormulaireMapping.cs similarity index 100% rename from Verax_API_EF/API_Mapping/FormulaireMapping.cs rename to Verax_API_EF/Verax_API_EF/API_Mapping/FormulaireMapping.cs diff --git a/Verax_API_EF/API_Mapping/UserMapping.cs b/Verax_API_EF/Verax_API_EF/API_Mapping/UserMapping.cs similarity index 100% rename from Verax_API_EF/API_Mapping/UserMapping.cs rename to Verax_API_EF/Verax_API_EF/API_Mapping/UserMapping.cs diff --git a/Verax_API_EF/API_Model/API_Model.csproj b/Verax_API_EF/Verax_API_EF/API_Model/API_Model.csproj similarity index 100% rename from Verax_API_EF/API_Model/API_Model.csproj rename to Verax_API_EF/Verax_API_EF/API_Model/API_Model.csproj diff --git a/Verax_API_EF/API_Model/ArticleDTO.cs b/Verax_API_EF/Verax_API_EF/API_Model/ArticleDTO.cs similarity index 100% rename from Verax_API_EF/API_Model/ArticleDTO.cs rename to Verax_API_EF/Verax_API_EF/API_Model/ArticleDTO.cs diff --git a/Verax_API_EF/API_Model/FormulaireDTO.cs b/Verax_API_EF/Verax_API_EF/API_Model/FormulaireDTO.cs similarity index 100% rename from Verax_API_EF/API_Model/FormulaireDTO.cs rename to Verax_API_EF/Verax_API_EF/API_Model/FormulaireDTO.cs diff --git a/Verax_API_EF/API_Model/UserDTO.cs b/Verax_API_EF/Verax_API_EF/API_Model/UserDTO.cs similarity index 100% rename from Verax_API_EF/API_Model/UserDTO.cs rename to Verax_API_EF/Verax_API_EF/API_Model/UserDTO.cs diff --git a/Verax_API_EF/API_Services/API_Services.csproj b/Verax_API_EF/Verax_API_EF/API_Services/API_Services.csproj similarity index 100% rename from Verax_API_EF/API_Services/API_Services.csproj rename to Verax_API_EF/Verax_API_EF/API_Services/API_Services.csproj diff --git a/Verax_API_EF/API_Services/IArticleService.cs b/Verax_API_EF/Verax_API_EF/API_Services/IArticleService.cs similarity index 100% rename from Verax_API_EF/API_Services/IArticleService.cs rename to Verax_API_EF/Verax_API_EF/API_Services/IArticleService.cs diff --git a/Verax_API_EF/API_Services/IFormulaireService.cs b/Verax_API_EF/Verax_API_EF/API_Services/IFormulaireService.cs similarity index 100% rename from Verax_API_EF/API_Services/IFormulaireService.cs rename to Verax_API_EF/Verax_API_EF/API_Services/IFormulaireService.cs diff --git a/Verax_API_EF/API_Services/IUserService.cs b/Verax_API_EF/Verax_API_EF/API_Services/IUserService.cs similarity index 100% rename from Verax_API_EF/API_Services/IUserService.cs rename to Verax_API_EF/Verax_API_EF/API_Services/IUserService.cs diff --git a/Verax_API_EF/DbContextLib/DbContextLib.csproj b/Verax_API_EF/Verax_API_EF/DbContextLib/DbContextLib.csproj similarity index 100% rename from Verax_API_EF/DbContextLib/DbContextLib.csproj rename to Verax_API_EF/Verax_API_EF/DbContextLib/DbContextLib.csproj diff --git a/Verax_API_EF/DbContextLib/LibraryContext.cs b/Verax_API_EF/Verax_API_EF/DbContextLib/LibraryContext.cs similarity index 98% rename from Verax_API_EF/DbContextLib/LibraryContext.cs rename to Verax_API_EF/Verax_API_EF/DbContextLib/LibraryContext.cs index ef1fc90..ec82199 100644 --- a/Verax_API_EF/DbContextLib/LibraryContext.cs +++ b/Verax_API_EF/Verax_API_EF/DbContextLib/LibraryContext.cs @@ -36,7 +36,8 @@ public class LibraryContext : DbContext .WithMany(a => a.Articles) .UsingEntity(); - modelBuilder.Entity().HasData( + + modelBuilder.Entity().HasData( new ArticleEntity { Id = 1, diff --git a/Verax_API_EF/Entities/ArticleEntity.cs b/Verax_API_EF/Verax_API_EF/Entities/ArticleEntity.cs similarity index 100% rename from Verax_API_EF/Entities/ArticleEntity.cs rename to Verax_API_EF/Verax_API_EF/Entities/ArticleEntity.cs diff --git a/Verax_API_EF/Entities/ArticleUserEntity.cs b/Verax_API_EF/Verax_API_EF/Entities/ArticleUserEntity.cs similarity index 100% rename from Verax_API_EF/Entities/ArticleUserEntity.cs rename to Verax_API_EF/Verax_API_EF/Entities/ArticleUserEntity.cs diff --git a/Verax_API_EF/Entities/Entities.csproj b/Verax_API_EF/Verax_API_EF/Entities/Entities.csproj similarity index 100% rename from Verax_API_EF/Entities/Entities.csproj rename to Verax_API_EF/Verax_API_EF/Entities/Entities.csproj diff --git a/Verax_API_EF/Entities/FormEntity.cs b/Verax_API_EF/Verax_API_EF/Entities/FormEntity.cs similarity index 100% rename from Verax_API_EF/Entities/FormEntity.cs rename to Verax_API_EF/Verax_API_EF/Entities/FormEntity.cs diff --git a/Verax_API_EF/Entities/UserEntity.cs b/Verax_API_EF/Verax_API_EF/Entities/UserEntity.cs similarity index 100% rename from Verax_API_EF/Entities/UserEntity.cs rename to Verax_API_EF/Verax_API_EF/Entities/UserEntity.cs diff --git a/Verax_API_EF/Model/ArticleEntity.cs b/Verax_API_EF/Verax_API_EF/Model/ArticleEntity.cs similarity index 100% rename from Verax_API_EF/Model/ArticleEntity.cs rename to Verax_API_EF/Verax_API_EF/Model/ArticleEntity.cs diff --git a/Verax_API_EF/Model/Formulaire.cs b/Verax_API_EF/Verax_API_EF/Model/Formulaire.cs similarity index 100% rename from Verax_API_EF/Model/Formulaire.cs rename to Verax_API_EF/Verax_API_EF/Model/Formulaire.cs diff --git a/Verax_API_EF/Model/Model.csproj b/Verax_API_EF/Verax_API_EF/Model/Model.csproj similarity index 100% rename from Verax_API_EF/Model/Model.csproj rename to Verax_API_EF/Verax_API_EF/Model/Model.csproj diff --git a/Verax_API_EF/Model/User.cs b/Verax_API_EF/Verax_API_EF/Model/User.cs similarity index 100% rename from Verax_API_EF/Model/User.cs rename to Verax_API_EF/Verax_API_EF/Model/User.cs diff --git a/Verax_API_EF/StubbedContextLib/Class1.cs b/Verax_API_EF/Verax_API_EF/StubbedContextLib/Class1.cs similarity index 100% rename from Verax_API_EF/StubbedContextLib/Class1.cs rename to Verax_API_EF/Verax_API_EF/StubbedContextLib/Class1.cs diff --git a/Verax_API_EF/StubbedContextLib/Migrations/20240307182411_mrg1.Designer.cs b/Verax_API_EF/Verax_API_EF/StubbedContextLib/Migrations/20240307182411_mrg1.Designer.cs similarity index 100% rename from Verax_API_EF/StubbedContextLib/Migrations/20240307182411_mrg1.Designer.cs rename to Verax_API_EF/Verax_API_EF/StubbedContextLib/Migrations/20240307182411_mrg1.Designer.cs diff --git a/Verax_API_EF/StubbedContextLib/Migrations/20240307182411_mrg1.cs b/Verax_API_EF/Verax_API_EF/StubbedContextLib/Migrations/20240307182411_mrg1.cs similarity index 100% rename from Verax_API_EF/StubbedContextLib/Migrations/20240307182411_mrg1.cs rename to Verax_API_EF/Verax_API_EF/StubbedContextLib/Migrations/20240307182411_mrg1.cs diff --git a/Verax_API_EF/StubbedContextLib/Migrations/StubbedContextModelSnapshot.cs b/Verax_API_EF/Verax_API_EF/StubbedContextLib/Migrations/StubbedContextModelSnapshot.cs similarity index 100% rename from Verax_API_EF/StubbedContextLib/Migrations/StubbedContextModelSnapshot.cs rename to Verax_API_EF/Verax_API_EF/StubbedContextLib/Migrations/StubbedContextModelSnapshot.cs diff --git a/Verax_API_EF/StubbedContextLib/StubTest.cs b/Verax_API_EF/Verax_API_EF/StubbedContextLib/StubTest.cs similarity index 100% rename from Verax_API_EF/StubbedContextLib/StubTest.cs rename to Verax_API_EF/Verax_API_EF/StubbedContextLib/StubTest.cs diff --git a/Verax_API_EF/StubbedContextLib/StubbedContextLib.csproj b/Verax_API_EF/Verax_API_EF/StubbedContextLib/StubbedContextLib.csproj similarity index 100% rename from Verax_API_EF/StubbedContextLib/StubbedContextLib.csproj rename to Verax_API_EF/Verax_API_EF/StubbedContextLib/StubbedContextLib.csproj diff --git a/Verax_API_EF/Test_Console_EF/Program.cs b/Verax_API_EF/Verax_API_EF/Test_Console_EF/Program.cs similarity index 100% rename from Verax_API_EF/Test_Console_EF/Program.cs rename to Verax_API_EF/Verax_API_EF/Test_Console_EF/Program.cs diff --git a/Verax_API_EF/Test_Console_EF/Test_Console_EF.csproj b/Verax_API_EF/Verax_API_EF/Test_Console_EF/Test_Console_EF.csproj similarity index 100% rename from Verax_API_EF/Test_Console_EF/Test_Console_EF.csproj rename to Verax_API_EF/Verax_API_EF/Test_Console_EF/Test_Console_EF.csproj diff --git a/Verax_API_EF/TestsUnitaires/Properties/AssemblyInfo.cs b/Verax_API_EF/Verax_API_EF/TestsUnitaires/Properties/AssemblyInfo.cs similarity index 100% rename from Verax_API_EF/TestsUnitaires/Properties/AssemblyInfo.cs rename to Verax_API_EF/Verax_API_EF/TestsUnitaires/Properties/AssemblyInfo.cs diff --git a/Verax_API_EF/TestsUnitaires/Tests.cs b/Verax_API_EF/Verax_API_EF/TestsUnitaires/Tests.cs similarity index 100% rename from Verax_API_EF/TestsUnitaires/Tests.cs rename to Verax_API_EF/Verax_API_EF/TestsUnitaires/Tests.cs diff --git a/Verax_API_EF/TestsUnitaires/TestsUnitaires.csproj b/Verax_API_EF/Verax_API_EF/TestsUnitaires/TestsUnitaires.csproj similarity index 100% rename from Verax_API_EF/TestsUnitaires/TestsUnitaires.csproj rename to Verax_API_EF/Verax_API_EF/TestsUnitaires/TestsUnitaires.csproj diff --git a/Verax_API_EF/TestsUnitaires/packages.config b/Verax_API_EF/Verax_API_EF/TestsUnitaires/packages.config similarity index 100% rename from Verax_API_EF/TestsUnitaires/packages.config rename to Verax_API_EF/Verax_API_EF/TestsUnitaires/packages.config diff --git a/Verax_API_EF/Verax_API_EF.sln b/Verax_API_EF/Verax_API_EF/Verax_API_EF.sln similarity index 100% rename from Verax_API_EF/Verax_API_EF.sln rename to Verax_API_EF/Verax_API_EF/Verax_API_EF.sln diff --git a/Verax_API_EF/Verax_API_EF/Program.cs b/Verax_API_EF/Verax_API_EF/Verax_API_EF/Program.cs similarity index 100% rename from Verax_API_EF/Verax_API_EF/Program.cs rename to Verax_API_EF/Verax_API_EF/Verax_API_EF/Program.cs diff --git a/Verax_API_EF/Verax_API_EF/Verax_API_EF.csproj b/Verax_API_EF/Verax_API_EF/Verax_API_EF/Verax_API_EF.csproj similarity index 100% rename from Verax_API_EF/Verax_API_EF/Verax_API_EF.csproj rename to Verax_API_EF/Verax_API_EF/Verax_API_EF/Verax_API_EF.csproj