From 415257342cbd4296d5877f804630d062ffabc444 Mon Sep 17 00:00:00 2001 From: "kentin.brongniart" Date: Wed, 8 Jan 2025 15:58:09 +0100 Subject: [PATCH 1/4] recuperation push --- WF-WebAdmin/WF-WebAdmin/Pages/Accueil.cs | 4 +- WF-WebAdmin/WF-WebAdmin/Pages/Accueil.razor | 59 ++++++++++--------- WF-WebAdmin/WF-WebAdmin/Pages/_Layout.cshtml | 1 + WF-WebAdmin/WF-WebAdmin/Program.cs | 3 + WF-WebAdmin/WF-WebAdmin/WF-WebAdmin.csproj | 7 +++ WF-WebAdmin/WF-WebAdmin/_Imports.razor | 2 +- .../WF-WebAdmin/wwwroot/fake-dataQuote.json | 16 ++--- 7 files changed, 55 insertions(+), 37 deletions(-) diff --git a/WF-WebAdmin/WF-WebAdmin/Pages/Accueil.cs b/WF-WebAdmin/WF-WebAdmin/Pages/Accueil.cs index 6553676..d98f86e 100644 --- a/WF-WebAdmin/WF-WebAdmin/Pages/Accueil.cs +++ b/WF-WebAdmin/WF-WebAdmin/Pages/Accueil.cs @@ -1,4 +1,6 @@ -using Microsoft.AspNetCore.Components; +using Blazored.LocalStorage; +using Blazorise.DataGrid; +using Microsoft.AspNetCore.Components; using WF_WebAdmin.Model; diff --git a/WF-WebAdmin/WF-WebAdmin/Pages/Accueil.razor b/WF-WebAdmin/WF-WebAdmin/Pages/Accueil.razor index bba7495..e9f0d0b 100644 --- a/WF-WebAdmin/WF-WebAdmin/Pages/Accueil.razor +++ b/WF-WebAdmin/WF-WebAdmin/Pages/Accueil.razor @@ -5,35 +5,40 @@

Accueil

+

Sitation du jour

+ +@* +
+ +

Identifiant de la citation :@quote.Id

+

Citation:@quote.Content

+

Personnage : @quote.Charac

+

Source : @quote.TitleSrc

+

Langue : @quote.Langue

+

@quote.UserProposition a proposé cette citation

+ +
+*@ + + @if (quotes != null) { - - - - - - - - - - - - - - @foreach (var quote in quotes) - { - - - - - - - - - - } - -
IdContentCharactéreTitle SourceLikeLangueDate Source
@quote.Id@quote.Content@quote.Charac@quote.TitleSrc@quote.Like@quote.Langue@quote.DateSrc.ToShortDateString()
+

Citations non validées

+

Citations en attente de validation:

+ + @foreach (var quote in quotes) + { +
+ +

Identifiant de la citation :@quote.Id

+

Citation:@quote.Content

+

Personnage : @quote.Charac

+

Source : @quote.TitleSrc

+

Langue : @quote.Langue

+

@quote.UserProposition a proposé cette citation

+ +
+ } } \ No newline at end of file diff --git a/WF-WebAdmin/WF-WebAdmin/Pages/_Layout.cshtml b/WF-WebAdmin/WF-WebAdmin/Pages/_Layout.cshtml index dd71165..db114bc 100644 --- a/WF-WebAdmin/WF-WebAdmin/Pages/_Layout.cshtml +++ b/WF-WebAdmin/WF-WebAdmin/Pages/_Layout.cshtml @@ -28,5 +28,6 @@ + diff --git a/WF-WebAdmin/WF-WebAdmin/Program.cs b/WF-WebAdmin/WF-WebAdmin/Program.cs index cdcdbeb..77896c4 100644 --- a/WF-WebAdmin/WF-WebAdmin/Program.cs +++ b/WF-WebAdmin/WF-WebAdmin/Program.cs @@ -1,3 +1,4 @@ +using Blazored.LocalStorage; using Microsoft.AspNetCore.Components; using Microsoft.AspNetCore.Components.Web; using WF_WebAdmin.Data; @@ -11,6 +12,8 @@ builder.Services.AddSingleton(); builder.Services.AddHttpClient(); +builder.Services.AddBlazoredLocalStorage(); + var app = builder.Build(); // Configure the HTTP request pipeline. diff --git a/WF-WebAdmin/WF-WebAdmin/WF-WebAdmin.csproj b/WF-WebAdmin/WF-WebAdmin/WF-WebAdmin.csproj index 9c94761..5eab720 100644 --- a/WF-WebAdmin/WF-WebAdmin/WF-WebAdmin.csproj +++ b/WF-WebAdmin/WF-WebAdmin/WF-WebAdmin.csproj @@ -7,4 +7,11 @@ WF_WebAdmin + + + + + + + diff --git a/WF-WebAdmin/WF-WebAdmin/_Imports.razor b/WF-WebAdmin/WF-WebAdmin/_Imports.razor index 5f99f58..d4da21d 100644 --- a/WF-WebAdmin/WF-WebAdmin/_Imports.razor +++ b/WF-WebAdmin/WF-WebAdmin/_Imports.razor @@ -7,4 +7,4 @@ @using Microsoft.AspNetCore.Components.Web.Virtualization @using Microsoft.JSInterop @using WF_WebAdmin -@using WF_WebAdmin.Shared +@using WF_WebAdmin.Shared \ No newline at end of file diff --git a/WF-WebAdmin/WF-WebAdmin/wwwroot/fake-dataQuote.json b/WF-WebAdmin/WF-WebAdmin/wwwroot/fake-dataQuote.json index f38cd34..1378868 100644 --- a/WF-WebAdmin/WF-WebAdmin/wwwroot/fake-dataQuote.json +++ b/WF-WebAdmin/WF-WebAdmin/wwwroot/fake-dataQuote.json @@ -1,20 +1,20 @@ [ { "Id": 1, - "Content": "coucou", - "Charac": "moi", - "ImgPath": "img", - "TitleSrc": "G4", + "Content": "'Dans le monde il n’y a pas d’un côté le bien et le mal, il y a une part de lumière et d’ombre en chacun de nous. Ce qui compte c’est celle que l’on choisit de montrer dans nos actes, ça c’est ce que l’on est vraiment.'", + "Charac": "Sirius Black", + "ImgPath": "https://tse2.mm.bing.net/th/id/OIP.MMpXBB5RDRYQm05FJmevGAHaKl?w=137&h=195&c=7&r=0&o=5&pid=1.7", + "TitleSrc": "Harry Potter et L’ordre du Phoenix", "DateSrc": "2001-01-01", "Like": 20, "Langue": "fr" }, { "Id": 2, - "Content": "boujour", - "Charac": "toi", - "ImgPath": "img", - "TitleSrc": "G4", + "Content": "'Une autre citation'", + "Charac": "Un personnage", + "ImgPath": "https://tse2.mm.bing.net/th/id/OIP.zR4rzkK7q2wCcNwZd6jjegHaIC?w=163&h=180&c=7&r=0&o=5&pid=1.7", + "TitleSrc": "Un super film", "DateSrc": "2002-02-02", "Like": 0, "Langue": "fr" From a52e0711134cb643bcff7cebcd37569c61574e11 Mon Sep 17 00:00:00 2001 From: "kentin.brongniart" Date: Thu, 9 Jan 2025 09:45:59 +0100 Subject: [PATCH 2/4] =?UTF-8?q?cr=C3=A9ation=20fausse=20basse=20de=20donn?= =?UTF-8?q?=C3=A9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../WF-WebAdmin/wwwroot/fake-dataAdmin.json | 8 ++ .../wwwroot/fake-dataCaracter.json | 52 ++++++++ .../wwwroot/fake-dataCommentaty.json | 9 ++ .../wwwroot/fake-dataDailyQuote.json | 5 + .../wwwroot/fake-dataFavorite.json | 6 + .../WF-WebAdmin/wwwroot/fake-dataImage.json | 82 ++++++++++++ .../wwwroot/fake-dataQuestion.json | 83 ++++++++++++ .../WF-WebAdmin/wwwroot/fake-dataQuiz.json | 10 ++ .../wwwroot/fake-dataQuiz_Question.json | 38 ++++++ .../WF-WebAdmin/wwwroot/fake-dataQuote.json | 126 +++++++++++++++--- .../wwwroot/fake-dataRecord_Quiz.json | 8 ++ .../WF-WebAdmin/wwwroot/fake-dataSource.json | 87 ++++++++++++ .../WF-WebAdmin/wwwroot/fake-dataUsers.json | 34 +++++ 13 files changed, 530 insertions(+), 18 deletions(-) create mode 100644 WF-WebAdmin/WF-WebAdmin/wwwroot/fake-dataAdmin.json create mode 100644 WF-WebAdmin/WF-WebAdmin/wwwroot/fake-dataCaracter.json create mode 100644 WF-WebAdmin/WF-WebAdmin/wwwroot/fake-dataCommentaty.json create mode 100644 WF-WebAdmin/WF-WebAdmin/wwwroot/fake-dataDailyQuote.json create mode 100644 WF-WebAdmin/WF-WebAdmin/wwwroot/fake-dataFavorite.json create mode 100644 WF-WebAdmin/WF-WebAdmin/wwwroot/fake-dataImage.json create mode 100644 WF-WebAdmin/WF-WebAdmin/wwwroot/fake-dataQuestion.json create mode 100644 WF-WebAdmin/WF-WebAdmin/wwwroot/fake-dataQuiz.json create mode 100644 WF-WebAdmin/WF-WebAdmin/wwwroot/fake-dataQuiz_Question.json create mode 100644 WF-WebAdmin/WF-WebAdmin/wwwroot/fake-dataRecord_Quiz.json create mode 100644 WF-WebAdmin/WF-WebAdmin/wwwroot/fake-dataSource.json create mode 100644 WF-WebAdmin/WF-WebAdmin/wwwroot/fake-dataUsers.json diff --git a/WF-WebAdmin/WF-WebAdmin/wwwroot/fake-dataAdmin.json b/WF-WebAdmin/WF-WebAdmin/wwwroot/fake-dataAdmin.json new file mode 100644 index 0000000..ca8d360 --- /dev/null +++ b/WF-WebAdmin/WF-WebAdmin/wwwroot/fake-dataAdmin.json @@ -0,0 +1,8 @@ +[ + { + "users": 1 + }, + { + "users": 4 + } +] \ No newline at end of file diff --git a/WF-WebAdmin/WF-WebAdmin/wwwroot/fake-dataCaracter.json b/WF-WebAdmin/WF-WebAdmin/wwwroot/fake-dataCaracter.json new file mode 100644 index 0000000..4a79ed5 --- /dev/null +++ b/WF-WebAdmin/WF-WebAdmin/wwwroot/fake-dataCaracter.json @@ -0,0 +1,52 @@ +[ + { + "id_caracter":82, + "caracter": "The Wolf", + "id_img": 1 + }, + { + "id_caracter":50, + "caracter": "Sirius Black", + "id_img": 2 + }, + { + "id_caracter":77, + "caracter": "Boromir", + "id_img": 3 + }, + { + "id_caracter": 29, + "caracter": "Maître Oogway", + "id_img": 4 + }, + { + "id_caracter":7, + "caracter": "Drago Malefoy", + "id_img": 5 + }, + { + "id_caracter":44, + "caracter": "T’Challa / Black Panther", + "id_img": 6 + }, + { + "id_caracter":53, + "caracter": "Butch", + "id_img": 7 + }, + { + "id_caracter": 39, + "caracter": "Coco", + "id_img": 8 + }, + { + "id_caracter": 34, + "caracter": "John Coffey", + "id_img": 9 + }, + { + "id_caracter": 38, + "caracter": "Harold", + "id_img": 10 + } +] \ No newline at end of file diff --git a/WF-WebAdmin/WF-WebAdmin/wwwroot/fake-dataCommentaty.json b/WF-WebAdmin/WF-WebAdmin/wwwroot/fake-dataCommentaty.json new file mode 100644 index 0000000..351ff35 --- /dev/null +++ b/WF-WebAdmin/WF-WebAdmin/wwwroot/fake-dataCommentaty.json @@ -0,0 +1,9 @@ +[ + { + "id_comment": 1, + "quote": 1, + "users": 1, + "dateC":"2024-10-10", + "comment": "coucou" + } +] \ No newline at end of file diff --git a/WF-WebAdmin/WF-WebAdmin/wwwroot/fake-dataDailyQuote.json b/WF-WebAdmin/WF-WebAdmin/wwwroot/fake-dataDailyQuote.json new file mode 100644 index 0000000..e668fe0 --- /dev/null +++ b/WF-WebAdmin/WF-WebAdmin/wwwroot/fake-dataDailyQuote.json @@ -0,0 +1,5 @@ +[ + { + "citation_id" : 1 + } +] \ No newline at end of file diff --git a/WF-WebAdmin/WF-WebAdmin/wwwroot/fake-dataFavorite.json b/WF-WebAdmin/WF-WebAdmin/wwwroot/fake-dataFavorite.json new file mode 100644 index 0000000..ca20726 --- /dev/null +++ b/WF-WebAdmin/WF-WebAdmin/wwwroot/fake-dataFavorite.json @@ -0,0 +1,6 @@ +[ + { + "users":1, + "quote":1 + } +] \ No newline at end of file diff --git a/WF-WebAdmin/WF-WebAdmin/wwwroot/fake-dataImage.json b/WF-WebAdmin/WF-WebAdmin/wwwroot/fake-dataImage.json new file mode 100644 index 0000000..29201e4 --- /dev/null +++ b/WF-WebAdmin/WF-WebAdmin/wwwroot/fake-dataImage.json @@ -0,0 +1,82 @@ +[ + { + "id_img": 1, + "imgPath": "https://tse4.mm.bing.net/th/id/OIP.fc5TQflh0cbxB1GUeOdk6gHaK8?w=123&h=180&c=7&r=0&o=5&pid=1.7" + }, + { + "id_img": 2, + "imgPath": "https://tse2.mm.bing.net/th/id/OIP.MMpXBB5RDRYQm05FJmevGAHaKl?w=137&h=195&c=7&r=0&o=5&pid=1.7" + }, + { + "id_img": 3, + "imgPath": "https://tse1.mm.bing.net/th/id/OIP._uHLsNbgnf1m1vK3ZWE2UAHaEo?w=217&h=180&c=7&r=0&o=5&pid=1.7" + }, + { + "id_img": 4, + "imgPath": "https://tse4.mm.bing.net/th/id/OIP.QzDh_d2T5aADiDJ7uMFU6gHaHa?w=157&h=180&c=7&r=0&o=5&pid=1.7" + }, + { + "id_img": 5, + "imgPath": "https://tse2.mm.bing.net/th/id/OIP.CthWIxuLm0a8THOguTDB_AAAAA?w=157&h=207&c=7&r=0&o=5&pid=1.7" + }, + { + "id_img": 6, + "imgPath": "https://tse4.mm.bing.net/th/id/OIP.XNQPKwc1OUfvnSO9MsxDYgHaE7?w=202&h=180&c=7&r=0&o=5&pid=1.7" + }, + { + "id_img": 7, + "imgPath": "https://tse1.mm.bing.net/th/id/OIP.luN_zVQJt2Kyf7H_kSrPyQHaJD?w=115&h=180&c=7&r=0&o=5&pid=1.7" + }, + { + "id_img": 8, + "imgPath": "https://tse1.mm.bing.net/th/id/OIP.GPIbva8dEP6Kllx-sj5ysAHaK-?w=115&h=180&c=7&r=0&o=5&pid=1.7" + }, + { + "id_img": 9, + "imgPath": "https://tse4.mm.bing.net/th/id/OIP.loqNhw71Vk_C-TiyWQJoKAHaKK?w=95&h=180&c=7&r=0&o=5&pid=1.7" + }, + { + "id_img": 10, + "imgPath": "https://tse2.mm.bing.net/th/id/OIP._OiJHgI7cal4cWNHcCE9zAHaM2?w=115&h=180&c=7&r=0&o=5&pid=1.7" + }, + { + "id_img": 11, + "imgPath": "https://tse2.mm.bing.net/th/id/OIP.B9RbuWnpmV-7fI8v-H0G8gHaEK?w=290&h=180&c=7&r=0&o=5&pid=1.7" + }, + { + "id_img": 12, + "imgPath": "https://tse2.mm.bing.net/th/id/OIP.RrJkua2jY_o24eUG7wmk8QHaE-?w=232&h=180&c=7&r=0&o=5&pid=1.7" + }, + { + "id_img": 13, + "imgPath": "https://tse3.mm.bing.net/th/id/OIP.-1Ds-2D5GPiu9uejDdmgNgHaH3?w=124&h=180&c=7&r=0&o=5&pid=1.7" + }, + { + "id_img": 14, + "imgPath": "https://tse3.mm.bing.net/th/id/OIP.BeQYJEP1pQKzHDLGhTLBtgHaFj?w=243&h=182&c=7&r=0&o=5&pid=1.7" + }, + { + "id_img": 15, + "imgPath": "https://tse3.mm.bing.net/th/id/OIP.lDzxwo1weGaA-hRMfV6bYwHaGp?w=194&h=174&c=7&r=0&o=5&pid=1.7" + }, + { + "id_img": 16, + "imgPath": "https://tse2.mm.bing.net/th/id/OIP.3vXkEUJ9J8s-GsnBC6I3KAHaF0?w=185&h=180&c=7&r=0&o=5&pid=1.7" + }, + { + "id_img": 17, + "imgPath": "https://tse4.mm.bing.net/th/id/OIP.omU-pPTNgHJEiTKJUpB1MAHaIw?w=114&h=180&c=7&r=0&o=5&pid=1.7" + }, + { + "id_img": 18, + "imgPath": "https://tse2.mm.bing.net/th/id/OIP.Qoh2doQIigxyiOBuhgRx9gHaM7?w=115&h=186&c=7&r=0&o=5&pid=1.7" + }, + { + "id_img": 19, + "imgPath": "https://tse3.mm.bing.net/th/id/OIP.hyDe8SvEEvDhmKfsQBqWEwHaJ8?w=194&h=261&c=7&r=0&o=5&pid=1.7" + }, + { + "id_img": 20, + "imgPath": "https://tse3.mm.bing.net/th/id/OIP.S4q6m2na1Rxkc7xZ1lcfKQHaJe?w=135&h=180&c=7&r=0&o=5&pid=1.7" + } +] \ No newline at end of file diff --git a/WF-WebAdmin/WF-WebAdmin/wwwroot/fake-dataQuestion.json b/WF-WebAdmin/WF-WebAdmin/wwwroot/fake-dataQuestion.json new file mode 100644 index 0000000..5fb52e8 --- /dev/null +++ b/WF-WebAdmin/WF-WebAdmin/wwwroot/fake-dataQuestion.json @@ -0,0 +1,83 @@ +[ + { + "id_question": 1, + "texte": "May the Force be with you.", + "answerA": "Star Wars", + "answerB": "Star Trek", + "answerC": "The Matrix", + "answerD": "Blade Runner", + "cAnswer": "Star Wars" + }, + { + "id_question": 2, + "texte": "I m gonna make him an offer he can t refuse.", + "answerA": "The Godfather", + "answerB": "Goodfellas", + "answerC": "Scarface", + "answerD": "The Sopranos", + "cAnswer": "The Godfather" + }, + { + "id_question": 3, + "texte": "To infinity and beyond!", + "answerA": "Toy Story", + "answerB": "The Incredibles", + "answerC": "Finding Nemo", + "answerD": "Shrek", + "cAnswer": "Toy Story" + }, + { + "id_question": 4, + "texte": "All we have to decide is what to do with the time that is given to us.", + "answerA": "The Lord of the Rings", + "answerB": "Harry Potter", + "answerC": "The Hobbit", + "answerD": "Narnia", + "cAnswer": "The Lord of the Rings" + }, + { + "id_question": 5, + "texte": "I am your father.", + "answerA": "Star Wars", + "answerB": "Star Wars", + "answerC": "Star Trek", + "answerD": "Guardians of the Galaxy", + "cAnswer": "Star Wars" + }, + { + "id_question": 6, + "texte": "It is a trap!", + "answerA": "Star Wars", + "answerB": "Battlestar Galactica", + "answerC": "Star Trek", + "answerD": "The Matrix", + "cAnswer": "Star Wars" + }, + { + "id_question": 7, + "texte": "Winter is coming.", + "answerA": "Game of Thrones", + "answerB": "The Witcher", + "answerC": "Vikings", + "answerD": "The Mandalorian", + "cAnswer": "Game of Thrones" + }, + { + "id_question": 8, + "texte": "Elementary, my dear Watson.", + "answerA": "Sherlock Holmes", + "answerB": "Agatha Christie", + "answerC": "Poirot", + "answerD": "The Hound of the Baskervilles", + "cAnswer": "Sherlock Holmes" + }, + { + "id_question": 9, + "texte": "Here is looking at you, kid.", + "answerA": "Casablanca", + "answerB": "Gone with the Wind", + "answerC": "Citizen Kane", + "answerD": "The Maltese Falcon", + "cAnswer": "Casablanca" + } +] \ No newline at end of file diff --git a/WF-WebAdmin/WF-WebAdmin/wwwroot/fake-dataQuiz.json b/WF-WebAdmin/WF-WebAdmin/wwwroot/fake-dataQuiz.json new file mode 100644 index 0000000..9400dd3 --- /dev/null +++ b/WF-WebAdmin/WF-WebAdmin/wwwroot/fake-dataQuiz.json @@ -0,0 +1,10 @@ +[ + { + "id_quiz": 1, + "nb_quest": 4 + }, + { + "id_quiz": 2, + "nb_quest": 5 + } +] \ No newline at end of file diff --git a/WF-WebAdmin/WF-WebAdmin/wwwroot/fake-dataQuiz_Question.json b/WF-WebAdmin/WF-WebAdmin/wwwroot/fake-dataQuiz_Question.json new file mode 100644 index 0000000..327365d --- /dev/null +++ b/WF-WebAdmin/WF-WebAdmin/wwwroot/fake-dataQuiz_Question.json @@ -0,0 +1,38 @@ +[ + { + "quiz":1, + "question":1 + }, + { + "quiz":1, + "question":2 + }, + { + "quiz":1, + "question":3 + }, + { + "quiz":1, + "question":4 + }, + { + "quiz":2, + "question":5 + }, + { + "quiz":2, + "question":6 + }, + { + "quiz":2, + "question":7 + }, + { + "quiz":2, + "question":8 + }, + { + "quiz":2, + "question":9 + } +] \ No newline at end of file diff --git a/WF-WebAdmin/WF-WebAdmin/wwwroot/fake-dataQuote.json b/WF-WebAdmin/WF-WebAdmin/wwwroot/fake-dataQuote.json index 1378868..39d4bd4 100644 --- a/WF-WebAdmin/WF-WebAdmin/wwwroot/fake-dataQuote.json +++ b/WF-WebAdmin/WF-WebAdmin/wwwroot/fake-dataQuote.json @@ -1,22 +1,112 @@ [ { - "Id": 1, - "Content": "'Dans le monde il n’y a pas d’un côté le bien et le mal, il y a une part de lumière et d’ombre en chacun de nous. Ce qui compte c’est celle que l’on choisit de montrer dans nos actes, ça c’est ce que l’on est vraiment.'", - "Charac": "Sirius Black", - "ImgPath": "https://tse2.mm.bing.net/th/id/OIP.MMpXBB5RDRYQm05FJmevGAHaKl?w=137&h=195&c=7&r=0&o=5&pid=1.7", - "TitleSrc": "Harry Potter et L’ordre du Phoenix", - "DateSrc": "2001-01-01", - "Like": 20, - "Langue": "fr" - }, - { - "Id": 2, - "Content": "'Une autre citation'", - "Charac": "Un personnage", - "ImgPath": "https://tse2.mm.bing.net/th/id/OIP.zR4rzkK7q2wCcNwZd6jjegHaIC?w=163&h=180&c=7&r=0&o=5&pid=1.7", - "TitleSrc": "Un super film", - "DateSrc": "2002-02-02", - "Like": 0, - "Langue": "fr" + "id_quote": "1", + "content": "Dans le monde il n’y a pas d’un côté le bien et le mal, il y a une part de lumière et d’ombre en chacun de nous. Ce qui compte c’est celle que l’on choisit de montrer dans nos actes, ça c’est ce que l’on est vraiment.", + "likes": 0, + "langue": "fr", + "isValide": true, + "reason": "insertion de test", + "id_caracter": 50, + "id_source": 38, + "id_user_verif": 1 + }, + { + "id_quote": "22", + "content": "Nous avons parié, mon père et moi. Je ne crois pas que tu tiendras dix minutes dans ce tournoi. Lui, il n’est pas d’accord, il croit que tu n’en tiendras pas cinq.", + "likes": 0, + "langue": "fr", + "isValide": true, + "reason": "insertion de test", + "id_caracter": 7, + "id_source": 58, + "id_user_verif": 1 + }, + { + "id_quote": "45", + "content": "Je vous aurais suivi mon frère, mon capitaine, mon roi.", + "likes": 0, + "langue": "fr", + "isValide": true, + "reason": "insertion de test", + "id_caracter": 77, + "id_source": 76, + "id_user_verif": 1 + }, + { + "id_quote": "90", + "content": "Si vous le voulez bien, on se taillera des pipes plus tard, les enfants.", + "likes": 0, + "langue": "fr", + "isValide": true, + "reason": "insertion de test", + "id_caracter": 82, + "id_source": 9, + "id_user_verif": 1 + }, + { + "id_quote": "91", + "content": "Je fais le mort dans la 5e.", + "likes": 0, + "langue": "fr", + "isValide": true, + "reason": "insertion de test", + "id_caracter": 53, + "id_source": 9, + "id_user_verif": 1 + }, + { + "id_quote": "110", + "content": "Il les a tuées avec leur amour. C’est comme ça tous les jours dans le monde entier.", + "likes": 0, + "langue": "fr", + "isValide": true, + "reason": "insertion de test", + "id_caracter": 34, + "id_source": 74, + "id_user_verif": 1 + }, + { + "id_quote": "118", + "content": "La vengeance est un déesse dévorante. Eux aussi en sont victimes… Je ne dois pas céder à son appel. La justice finira par triompher.", + "likes": 0, + "langue": "fr", + "isValide": false, + "reason": "insertion de test", + "id_caracter": 44, + "id_source": 30, + "id_user_verif": 1 + }, + { + "id_quote": "185", + "content": "Tu viens de me montrer au complet ?!", + "likes": 0, + "langue": "fr", + "isValide": false, + "reason": "insertion de test", + "id_caracter": 38, + "id_source": 10, + "id_user_verif": 1 + }, + { + "id_quote": "182", + "content": "Nouille ou pas nouille, tu te préoccupes trop de ce qui a été ou de ce qui sera.", + "likes": 0, + "langue": "fr", + "isValide": false, + "reason": "insertion de test", + "id_caracter": 29, + "id_source": 71, + "id_user_verif": 1 + }, + { + "id_quote": "175", + "content": "Arrête de faire ton Jean-Jacques !", + "likes": 0, + "langue": "fr", + "isValide": false, + "reason": "insertion de test", + "id_caracter": 39, + "id_source": 68, + "id_user_verif": 1 } ] \ No newline at end of file diff --git a/WF-WebAdmin/WF-WebAdmin/wwwroot/fake-dataRecord_Quiz.json b/WF-WebAdmin/WF-WebAdmin/wwwroot/fake-dataRecord_Quiz.json new file mode 100644 index 0000000..315a27e --- /dev/null +++ b/WF-WebAdmin/WF-WebAdmin/wwwroot/fake-dataRecord_Quiz.json @@ -0,0 +1,8 @@ +[ + { + "users":1, + "quiz":1, + "nbPoint":3, + "timeQ": 0 + } +] \ No newline at end of file diff --git a/WF-WebAdmin/WF-WebAdmin/wwwroot/fake-dataSource.json b/WF-WebAdmin/WF-WebAdmin/wwwroot/fake-dataSource.json new file mode 100644 index 0000000..efc2ddb --- /dev/null +++ b/WF-WebAdmin/WF-WebAdmin/wwwroot/fake-dataSource.json @@ -0,0 +1,87 @@ +[ + { + "id_source": 1, + "title": "Cars", + "dateS": 2006 + }, + { + "id_source": 2, + "title": "Le Parrain, 3ème partie", + "dateS": 1972 + }, + { + "id_source": 3, + "title": "Hunger Games : la révolte - 1re partie", + "dateS": 2012 + }, + { + "id_source": 4, + "title": "Le hobbit : la désolation de Smaug", + "dateS": 2012 + }, + { + "id_source": 5, + "title": "Là-haut", + "dateS": 2009 + }, + { + "id_source": 6, + "title": "Raiponce", + "dateS": 2010 + }, + { + "id_source": 7, + "title": "Harry Potter et les reliques de la mort - 1re partie", + "dateS": 2001 + }, + { + "id_source": 8, + "title": "Le seigneur des anneaux : les deux tours", + "dateS": 2001 + }, + { + "id_source": 9, + "title": "Pulp Fiction", + "dateS": 1994 + }, + { + "id_source": 10, + "title": "Dragons", + "dateS": 2010 + }, + { + "id_source": 30, + "title": "Captain America : civil war", + "dateS": 2011 + }, + { + "id_source": 38, + "title": "Harry Potter et L’ordre du Phoenix", + "dateS": 2001 + }, + { + "id_source": 58, + "title": "Harry Potter et les reliques de la mort - 2e partie", + "dateS": 2001 + }, + { + "id_source": 68, + "title": "Coco", + "dateS": 2017 + }, + { + "id_source": 71, + "title": "Kung Fu Panda", + "dateS": 2008 + }, + { + "id_source": 74, + "title": "La Ligne Verte", + "dateS": 1999 + }, + { + "id_source": 76, + "title": "Le seigneur des anneaux : la communauté de l’anneau", + "dateS": 2001 + } +] \ No newline at end of file diff --git a/WF-WebAdmin/WF-WebAdmin/wwwroot/fake-dataUsers.json b/WF-WebAdmin/WF-WebAdmin/wwwroot/fake-dataUsers.json new file mode 100644 index 0000000..5550b8b --- /dev/null +++ b/WF-WebAdmin/WF-WebAdmin/wwwroot/fake-dataUsers.json @@ -0,0 +1,34 @@ +[ + { + "id_user": 1, + "username": "exploit", + "email": "exploit@gmail.com", + "password": "passwd", + "img": 1, + "creation": "2024-11-12" + }, + { + "id_user": 2, + "username": "Demo", + "email": "demo@gmail.com", + "password": "passwd", + "img": 2, + "creation": "2024-12-12" + }, + { + "id_user": 3, + "username": "testeur", + "email": "testeur@gmail.com", + "password": "passwd", + "img": 3, + "creation": "2024-08-02" + }, + { + "id_user": 4, + "username": "dev", + "email": "dev@gmail.com", + "password": "passwd", + "img": 4, + "creation": "2024-10-10" + } +] \ No newline at end of file From 226e2531b09c0195415ad85e63e0eea625570abf Mon Sep 17 00:00:00 2001 From: "kentin.brongniart" Date: Thu, 9 Jan 2025 09:47:04 +0100 Subject: [PATCH 3/4] =?UTF-8?q?cr=C3=A9ation=20fausse=20basse=20de=20donn?= =?UTF-8?q?=C3=A9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- WF-WebAdmin/WF-WebAdmin/Pages/Accueil.cs | 3 +- .../WF-WebAdmin/Pages/ValidQuote.razor.cs | 6 +- WF-WebAdmin/WF-WebAdmin/WF-WebAdmin.csproj | 2 +- .../wwwroot/fake-dataModifQuote.json | 90 ------------------- .../WF-WebAdmin/wwwroot/fake-dataUser.json | 31 ------- .../wwwroot/fake-dataValidQuote.json | 20 ----- 6 files changed, 5 insertions(+), 147 deletions(-) delete mode 100644 WF-WebAdmin/WF-WebAdmin/wwwroot/fake-dataModifQuote.json delete mode 100644 WF-WebAdmin/WF-WebAdmin/wwwroot/fake-dataUser.json delete mode 100644 WF-WebAdmin/WF-WebAdmin/wwwroot/fake-dataValidQuote.json diff --git a/WF-WebAdmin/WF-WebAdmin/Pages/Accueil.cs b/WF-WebAdmin/WF-WebAdmin/Pages/Accueil.cs index d98f86e..b9e90bc 100644 --- a/WF-WebAdmin/WF-WebAdmin/Pages/Accueil.cs +++ b/WF-WebAdmin/WF-WebAdmin/Pages/Accueil.cs @@ -1,5 +1,4 @@ -using Blazored.LocalStorage; -using Blazorise.DataGrid; +using Blazorise.DataGrid; using Microsoft.AspNetCore.Components; using WF_WebAdmin.Model; diff --git a/WF-WebAdmin/WF-WebAdmin/Pages/ValidQuote.razor.cs b/WF-WebAdmin/WF-WebAdmin/Pages/ValidQuote.razor.cs index a42112a..931d835 100644 --- a/WF-WebAdmin/WF-WebAdmin/Pages/ValidQuote.razor.cs +++ b/WF-WebAdmin/WF-WebAdmin/Pages/ValidQuote.razor.cs @@ -12,9 +12,9 @@ namespace WF_WebAdmin.Pages public partial class ValidQuote { // Chaîne de connexion à adapter - private const string connectionString = - "Host=localhost;Port=5432;Database=wikifantasy3;Username=postgres;Password=postgres"; - + private const string connectionString = + "pgsql:host=localhost;dbname=dbkekentin;Username=kekentin;Password=passwd"; + //"Host=localhost;Port=5432;Database=wikifantasy3;Username=postgres;Password=postgres"; private List quotes; protected override async Task OnInitializedAsync() diff --git a/WF-WebAdmin/WF-WebAdmin/WF-WebAdmin.csproj b/WF-WebAdmin/WF-WebAdmin/WF-WebAdmin.csproj index e4eb494..a060d8e 100644 --- a/WF-WebAdmin/WF-WebAdmin/WF-WebAdmin.csproj +++ b/WF-WebAdmin/WF-WebAdmin/WF-WebAdmin.csproj @@ -1,4 +1,4 @@ - + net6.0 diff --git a/WF-WebAdmin/WF-WebAdmin/wwwroot/fake-dataModifQuote.json b/WF-WebAdmin/WF-WebAdmin/wwwroot/fake-dataModifQuote.json deleted file mode 100644 index 20f7d2a..0000000 --- a/WF-WebAdmin/WF-WebAdmin/wwwroot/fake-dataModifQuote.json +++ /dev/null @@ -1,90 +0,0 @@ -[ - { - "Id": 1, - "ImgPath": "https://tse2.mm.bing.net/th/id/OIP.MMpXBB5RDRYQm05FJmevGAHaKl?w=137&h=195&c=7&r=0&o=5&pid=1.7", - "Content": "Harry POTTER JE SUIS TON PERE", - "Charac": "Sirius Black", - "TitleSrc": "Harry Potter", - "Langue": "fr", - "UserProposition": "demo", - "DateSrc": "2001-01-01", - "Like": 20 - }, - { - "Id": 2, - "ImgPath": "https://tse2.mm.bing.net/th/id/OIP.zR4rzkK7q2wCcNwZd6jjegHaIC?w=163&h=180&c=7&r=0&o=5&pid=1.7", - "Content": "'Une autre citation'", - "Charac": "Un personnage", - "TitleSrc": "Un super film", - "Langue": "fr", - "DateSrc": "2002-02-02", - "Like": 0, - "UserProposition": "exploit" - }, - { - "Id": 1, - "ImgPath": "https://tse2.mm.bing.net/th/id/OIP.MMpXBB5RDRYQm05FJmevGAHaKl?w=137&h=195&c=7&r=0&o=5&pid=1.7", - "Content": "Harry POTTER JE SUIS TON PERE", - "Charac": "Sirius Black", - "TitleSrc": "Harry Potter", - "Langue": "fr", - "UserProposition": "demo", - "DateSrc": "2001-01-01", - "Like": 20 - }, - { - "Id": 2, - "ImgPath": "https://tse2.mm.bing.net/th/id/OIP.zR4rzkK7q2wCcNwZd6jjegHaIC?w=163&h=180&c=7&r=0&o=5&pid=1.7", - "Content": "'Une autre citation'", - "Charac": "Un personnage", - "TitleSrc": "Un super film", - "Langue": "fr", - "DateSrc": "2002-02-02", - "Like": 0, - "UserProposition": "exploit" - }, - { - "Id": 1, - "ImgPath": "https://tse2.mm.bing.net/th/id/OIP.MMpXBB5RDRYQm05FJmevGAHaKl?w=137&h=195&c=7&r=0&o=5&pid=1.7", - "Content": "Harry POTTER JE SUIS TON PERE", - "Charac": "Sirius Black", - "TitleSrc": "Harry Potter", - "Langue": "fr", - "UserProposition": "demo", - "DateSrc": "2001-01-01", - "Like": 20 - }, - { - "Id": 2, - "ImgPath": "https://tse2.mm.bing.net/th/id/OIP.zR4rzkK7q2wCcNwZd6jjegHaIC?w=163&h=180&c=7&r=0&o=5&pid=1.7", - "Content": "'Une autre citation'", - "Charac": "Un personnage", - "TitleSrc": "Un super film", - "Langue": "fr", - "DateSrc": "2002-02-02", - "Like": 0, - "UserProposition": "exploit" - }, - { - "Id": 1, - "ImgPath": "https://tse2.mm.bing.net/th/id/OIP.MMpXBB5RDRYQm05FJmevGAHaKl?w=137&h=195&c=7&r=0&o=5&pid=1.7", - "Content": "Harry POTTER JE SUIS TON PERE", - "Charac": "Sirius Black", - "TitleSrc": "Harry Potter", - "Langue": "fr", - "UserProposition": "demo", - "DateSrc": "2001-01-01", - "Like": 20 - }, - { - "Id": 2, - "ImgPath": "https://tse2.mm.bing.net/th/id/OIP.zR4rzkK7q2wCcNwZd6jjegHaIC?w=163&h=180&c=7&r=0&o=5&pid=1.7", - "Content": "'Une autre citation'", - "Charac": "Un personnage", - "TitleSrc": "Un super film", - "Langue": "fr", - "DateSrc": "2002-02-02", - "Like": 0, - "UserProposition": "exploit" - } -] \ No newline at end of file diff --git a/WF-WebAdmin/WF-WebAdmin/wwwroot/fake-dataUser.json b/WF-WebAdmin/WF-WebAdmin/wwwroot/fake-dataUser.json deleted file mode 100644 index 60632fc..0000000 --- a/WF-WebAdmin/WF-WebAdmin/wwwroot/fake-dataUser.json +++ /dev/null @@ -1,31 +0,0 @@ -[ - { - "Id": 1, - "Image": "https://tse4.mm.bing.net/th/id/OIP.fc5TQflh0cbxB1GUeOdk6gHaK8?w=123&h=180&c=7&r=0&o=5&pid=1.7", - "Name": "Demo", - "Email": "demo@gmail.com", - "DateCreation": "2024-12-12" - - }, - { - "Id": 2, - "Image": "https://tse2.mm.bing.net/th/id/OIP.MMpXBB5RDRYQm05FJmevGAHaKl?w=137&h=195&c=7&r=0&o=5&pid=1.7", - "Name": "exploit", - "Email": "exploit@gmail.com", - "DateCreation": "2024-11-12" - }, - { - "Id": 3, - "Image": "https://tse4.mm.bing.net/th/id/OIP.XNQPKwc1OUfvnSO9MsxDYgHaE7?w=202&h=180&c=7&r=0&o=5&pid=1.7", - "Name": "testeur", - "Email": "testeur@gmail.com", - "DateCreation": "2024-08-02" - }, - { - "Id": 4, - "Image": "https://tse2.mm.bing.net/th/id/OIP.3vXkEUJ9J8s-GsnBC6I3KAHaF0?w=185&h=180&c=7&r=0&o=5&pid=1.7", - "Name": "dev", - "Email": "dev@gmail.com", - "DateCreation": "2024-10-10" - } -] \ No newline at end of file diff --git a/WF-WebAdmin/WF-WebAdmin/wwwroot/fake-dataValidQuote.json b/WF-WebAdmin/WF-WebAdmin/wwwroot/fake-dataValidQuote.json deleted file mode 100644 index e004ed9..0000000 --- a/WF-WebAdmin/WF-WebAdmin/wwwroot/fake-dataValidQuote.json +++ /dev/null @@ -1,20 +0,0 @@ -[ - { - "Id": 1, - "ImgPath": "https://tse2.mm.bing.net/th/id/OIP.MMpXBB5RDRYQm05FJmevGAHaKl?w=137&h=195&c=7&r=0&o=5&pid=1.7", - "Content": "'Dans le monde il n’y a pas d’un côté le bien et le mal, il y a une part de lumière et d’ombre en chacun de nous. Ce qui compte c’est celle que l’on choisit de montrer dans nos actes, ça c’est ce que l’on est vraiment.'", - "Charac": "Sirius Black", - "TitleSrc": "Harry Potter et L’ordre du Phoenix", - "Langue": "fr", - "UserProposition": "demo" - }, - { - "Id": 2, - "ImgPath": "https://tse2.mm.bing.net/th/id/OIP.zR4rzkK7q2wCcNwZd6jjegHaIC?w=163&h=180&c=7&r=0&o=5&pid=1.7", - "Content": "'Une autre citation'", - "Charac": "Un personnage", - "TitleSrc": "Un super film", - "Langue": "fr", - "UserProposition": "exploit" - } -] \ No newline at end of file From afa6845535563a1bebabe9392de641659c4bb885 Mon Sep 17 00:00:00 2001 From: Leni BEAULATON Date: Thu, 9 Jan 2025 10:20:23 +0100 Subject: [PATCH 4/4] =?UTF-8?q?Mise=20=C3=A0=20jour=20de=20'WF-WebAdmin/WF?= =?UTF-8?q?-WebAdmin/wwwroot/fake-dataUsers.json'?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../WF-WebAdmin/wwwroot/fake-dataUsers.json | 196 +++++++++++++++--- 1 file changed, 163 insertions(+), 33 deletions(-) diff --git a/WF-WebAdmin/WF-WebAdmin/wwwroot/fake-dataUsers.json b/WF-WebAdmin/WF-WebAdmin/wwwroot/fake-dataUsers.json index 5550b8b..07db7bb 100644 --- a/WF-WebAdmin/WF-WebAdmin/wwwroot/fake-dataUsers.json +++ b/WF-WebAdmin/WF-WebAdmin/wwwroot/fake-dataUsers.json @@ -1,34 +1,164 @@ -[ - { - "id_user": 1, - "username": "exploit", - "email": "exploit@gmail.com", - "password": "passwd", - "img": 1, - "creation": "2024-11-12" - }, - { - "id_user": 2, - "username": "Demo", - "email": "demo@gmail.com", - "password": "passwd", - "img": 2, - "creation": "2024-12-12" - }, - { - "id_user": 3, - "username": "testeur", - "email": "testeur@gmail.com", - "password": "passwd", - "img": 3, - "creation": "2024-08-02" - }, - { - "id_user": 4, - "username": "dev", - "email": "dev@gmail.com", - "password": "passwd", - "img": 4, - "creation": "2024-10-10" - } +[ + { + "Id": 1, + "Image": "https://tse4.mm.bing.net/th/id/OIP.fc5TQflh0cbxB1GUeOdk6gHaK8?w=123&h=180&c=7&r=0&o=5&pid=1.7", + "Name": "Admin", + "Email": "admin@gmail.com", + "DateCreation": "2024-12-12", + "IsAdmin": true, + "Comments": [ + { + "Text": "Commentaire 1", + "DateCreation": "2024-12-12" + }, + { + "Text": "Commentaire 2", + "DateCreation": "2024-11-12" + } + ] + }, + { + "Id": 2, + "Image": "https://tse2.mm.bing.net/th/id/OIP.MMpXBB5RDRYQm05FJmevGAHaKl?w=137&h=195&c=7&r=0&o=5&pid=1.7", + "Name": "exploit", + "Email": "exploit@gmail.com", + "DateCreation": "2024-11-12", + "IsAdmin": true + }, + { + "Id": 3, + "Image": "https://tse4.mm.bing.net/th/id/OIP.XNQPKwc1OUfvnSO9MsxDYgHaE7?w=202&h=180&c=7&r=0&o=5&pid=1.7", + "Name": "testeur", + "Email": "testeur@gmail.com", + "DateCreation": "2024-08-02", + "IsAdmin": false, + "Comments": [ + { + "Text": "Premier test effectué, tout semble OK.", + "DateCreation": "2024-08-02" + } + ] + }, + { + "Id": 4, + "Image": "https://tse2.mm.bing.net/th/id/OIP.MMpXBB5RDRYQm05FJmevGAHaKl?w=137&h=195&c=7&r=0&o=5&pid=1.7", + "Name": "dev", + "Email": "dev@gmail.com", + "DateCreation": "2024-10-10", + "IsAdmin": false + }, + { + "Id": 5, + "Image": "https://tse2.mm.bing.net/th/id/OIP.MMpXBB5RDRYQm05FJmevGAHaKl?w=137&h=195&c=7&r=0&o=5&pid=1.7", + "Name": "jean_doe", + "Email": "jean.doe@gmail.com", + "DateCreation": "2024-06-25", + "IsAdmin": false, + "Comments": [ + { + "Text": "Utilisateur très actif, peut être un peu trop intrusif.", + "DateCreation": "2024-06-25" + } + ] + }, + { + "Id": 6, + "Image": "https://tse2.mm.bing.net/th/id/OIP.MMpXBB5RDRYQm05FJmevGAHaKl?w=137&h=195&c=7&r=0&o=5&pid=1.7", + "Name": "jane_smith", + "Email": "jane.smith@gmail.com", + "DateCreation": "2024-07-15", + "IsAdmin": false + }, + { + "Id": 7, + "Image": "https://tse2.mm.bing.net/th/id/OIP.MMpXBB5RDRYQm05FJmevGAHaKl?w=137&h=195&c=7&r=0&o=5&pid=1.7", + "Name": "admin_joe", + "Email": "admin.joe@gmail.com", + "DateCreation": "2024-05-30", + "IsAdmin": true + }, + { + "Id": 8, + "Image": "https://tse2.mm.bing.net/th/id/OIP.MMpXBB5RDRYQm05FJmevGAHaKl?w=137&h=195&c=7&r=0&o=5&pid=1.7", + "Name": "dev_anna", + "Email": "dev.anna@gmail.com", + "DateCreation": "2024-09-05", + "IsAdmin": false + }, + { + "Id": 9, + "Image": "https://tse2.mm.bing.net/th/id/OIP.MMpXBB5RDRYQm05FJmevGAHaKl?w=137&h=195&c=7&r=0&o=5&pid=1.7", + "Name": "support_mark", + "Email": "support.mark@gmail.com", + "DateCreation": "2024-11-20", + "IsAdmin": false, + "Comments": [ + { + "Text": "Support rapide et efficace, mais manquant un peu de détails.", + "DateCreation": "2024-11-20" + } + ] + }, + { + "Id": 10, + "Image": "https://tse2.mm.bing.net/th/id/OIP.MMpXBB5RDRYQm05FJmevGAHaKl?w=137&h=195&c=7&r=0&o=5&pid=1.7", + "Name": "dev_susan", + "Email": "dev.susan@gmail.com", + "DateCreation": "2024-08-12", + "IsAdmin": false + }, + { + "Id": 11, + "Image": "https://tse2.mm.bing.net/th/id/OIP.MMpXBB5RDRYQm05FJmevGAHaKl?w=137&h=195&c=7&r=0&o=5&pid=1.7", + "Name": "designer_steve", + "Email": "designer.steve@gmail.com", + "DateCreation": "2024-07-01", + "IsAdmin": false, + "Comments": [ + { + "Text": "Le design doit être retravaillé pour plus de clarté.", + "DateCreation": "2024-07-01" + } + ] + }, + { + "Id": 12, + "Image": "https://tse2.mm.bing.net/th/id/OIP.MMpXBB5RDRYQm05FJmevGAHaKl?w=137&h=195&c=7&r=0&o=5&pid=1.7", + "Name": "admin_lucas", + "Email": "admin.lucas@gmail.com", + "DateCreation": "2024-09-22", + "IsAdmin": true + }, + { + "Id": 13, + "Image": "https://tse2.mm.bing.net/th/id/OIP.MMpXBB5RDRYQm05FJmevGAHaKl?w=137&h=195&c=7&r=0&o=5&pid=1.7", + "Name": "manager_anna", + "Email": "manager.anna@gmail.com", + "DateCreation": "2024-05-01", + "IsAdmin": false + }, + { + "Id": 14, + "Image": "https://tse2.mm.bing.net/th/id/OIP.MMpXBB5RDRYQm05FJmevGAHaKl?w=137&h=195&c=7&r=0&o=5&pid=1.7", + "Name": "developer_mike", + "Email": "developer.mike@gmail.com", + "DateCreation": "2024-11-02", + "IsAdmin": false + }, + { + "Id": 15, + "Image": "https://tse2.mm.bing.net/th/id/OIP.MMpXBB5RDRYQm05FJmevGAHaKl?w=137&h=195&c=7&r=0&o=5&pid=1.7", + "Name": "test_user_01", + "Email": "test.user01@gmail.com", + "DateCreation": "2024-06-10", + "IsAdmin": false + }, + { + "Id": 16, + "Image": "https://tse2.mm.bing.net/th/id/OIP.MMpXBB5RDRYQm05FJmevGAHaKl?w=137&h=195&c=7&r=0&o=5&pid=1.7", + "Name": "admin_kate", + "Email": "admin.kate@gmail.com", + "DateCreation": "2024-04-16", + "IsAdmin": true + } ] \ No newline at end of file