Closed eskelProgramming closed 1 month ago
Instead of having a List of Stains in this class, I think a better route would be to have a Static class with a List of Stains in that to reduce redundancy and the chance of errors. Additionally, this class can be used to house other things such as a DBContext object moving forwards.
Also, due to working with EF Core, there needs to be an Id property.
There is no need to have a method for setting the stain, or the letter, and these methods do not have to be added.
The Tile class uses the Product interface and has the following properties:
It also needs the following methods: