diff --git a/Sources/BowlingService/Interfaces/IPartieService.cs b/Sources/BowlingService/Interfaces/IPartieService.cs index 4ce4816..dd033c7 100644 --- a/Sources/BowlingService/Interfaces/IPartieService.cs +++ b/Sources/BowlingService/Interfaces/IPartieService.cs @@ -1,5 +1,6 @@ using System; using BowlingEF.Entities; +using DTOs; namespace BowlingService.Interfaces { diff --git a/Sources/BowlingService/Interfaces/PartieService.cs b/Sources/BowlingService/Interfaces/PartieService.cs index 32ab1bb..ebf286b 100644 --- a/Sources/BowlingService/Interfaces/PartieService.cs +++ b/Sources/BowlingService/Interfaces/PartieService.cs @@ -5,6 +5,7 @@ using BowlingEF.Entities; using BowlingLib.Model; using BowlingRepository; using BowlingRepository.Interface; +using DTOs; using Microsoft.EntityFrameworkCore; namespace BowlingService.Interfaces diff --git a/Sources/DTOs/FrameDTO.cs b/Sources/DTOs/FrameDTO.cs index 4f93c80..e13cf7b 100644 --- a/Sources/DTOs/FrameDTO.cs +++ b/Sources/DTOs/FrameDTO.cs @@ -1,5 +1,6 @@ using System.ComponentModel.DataAnnotations; using System.ComponentModel.DataAnnotations.Schema; +using DTOs; namespace BowlingEF.Entities { diff --git a/Sources/DTOs/PartieDTO.cs b/Sources/DTOs/PartieDTO.cs index 042ac37..62334dd 100644 --- a/Sources/DTOs/PartieDTO.cs +++ b/Sources/DTOs/PartieDTO.cs @@ -5,6 +5,7 @@ using System.ComponentModel.DataAnnotations.Schema; using System.Linq; using System.Text; using System.Threading.Tasks; +using BowlingEF.Entities; namespace DTOs { diff --git a/Sources/GraphQL Project/Properties/launchSettings.json b/Sources/GraphQL Project/Properties/launchSettings.json index bbe539f..491e83b 100644 --- a/Sources/GraphQL Project/Properties/launchSettings.json +++ b/Sources/GraphQL Project/Properties/launchSettings.json @@ -1,4 +1,4 @@ -{ +{ "iisSettings": { "windowsAuthentication": false, "anonymousAuthentication": true, @@ -10,7 +10,6 @@ "profiles": { "GraphQL_Project": { "commandName": "Project", - "dotnetRunMessages": true, "launchBrowser": true, "applicationUrl": "https://localhost:7197;http://localhost:5234", "environmentVariables": { @@ -25,4 +24,4 @@ } } } -} +} \ No newline at end of file diff --git a/Sources/Tests/BowlingAPITest/BowlingAPITest.csproj b/Sources/Tests/BowlingAPITest/BowlingAPITest.csproj index e6b217e..0a87957 100644 --- a/Sources/Tests/BowlingAPITest/BowlingAPITest.csproj +++ b/Sources/Tests/BowlingAPITest/BowlingAPITest.csproj @@ -6,6 +6,8 @@ enable false + + 11 diff --git a/Sources/Tests/BowlingAPITest/TestJoueurController.cs b/Sources/Tests/BowlingAPITest/TestJoueurController.cs index ee48a9b..abb09a3 100644 --- a/Sources/Tests/BowlingAPITest/TestJoueurController.cs +++ b/Sources/Tests/BowlingAPITest/TestJoueurController.cs @@ -50,7 +50,7 @@ public class TestController { var testItems = new List(); - testItems.Add(new JoueurDTO {Pseudo = "Item1" }); + testItems.Add(new JoueurDTO { Pseudo = "Item1" }); testItems.Add(new JoueurDTO { Pseudo = "Item2" }); return testItems; }