From 8c399ab5760cb42738c4745db36b44d08f0a920d Mon Sep 17 00:00:00 2001 From: didier amyot Date: Mon, 18 Sep 2023 10:38:11 -0400 Subject: [PATCH] fixed bug in image hash --- RobotsWantedLeague/Views/Robots/Robot.cshtml | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/RobotsWantedLeague/Views/Robots/Robot.cshtml b/RobotsWantedLeague/Views/Robots/Robot.cshtml index 4406180..a4c44d9 100644 --- a/RobotsWantedLeague/Views/Robots/Robot.cshtml +++ b/RobotsWantedLeague/Views/Robots/Robot.cshtml @@ -1,10 +1,14 @@ @model Robot +@{ + string imageURL = "https://robohash.org/aligator" + Model.Id.ToString() + "?set=set2"; +} +
+ src="@imageURL">