Better ToString for DataLayer objects

This commit is contained in:
Robert McRackan 2019-11-19 09:54:42 -05:00
parent f3128b562d
commit 80b0ef600d
17 changed files with 133 additions and 210 deletions

View file

@ -246,5 +246,7 @@ namespace DataLayer
context.Entry(this).Reference(s => s.Category).Load();
Category = category;
}
}
public override string ToString() => $"[{AudibleProductId}] {Title}";
}
}