correction Note dans Carte
continuous-integration/drone/push Build is passing Details

pull/2/head
Loris OBRY 2 years ago
parent c91ea388ec
commit b1d7bd60a3

@ -14,11 +14,12 @@ namespace Model
public string Description { get; set; }
public string Pouvoir { get; set;}
public string Strategies { get; set; }
private int? note;
public int? Note
{
get
{
return Note;
return note;
}
set
{
@ -26,6 +27,7 @@ namespace Model
{
throw new ArgumentOutOfRangeException(nameof(value), "La valeur de la note doit être comprise entre 0 et 10.");
}
note = value;
}
}
public string LienImage { get; set; } = "notFound";

Loading…
Cancel
Save