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

Loading…
Cancel
Save